Follow-up to #1753, which covered the two licence lines. These are the defects that break code. This audit was executed against an installed remotion@4.0.505 in a clean project with a real composition, not read. 6 confirmed by running commands, 0 refuted, and 1 that was only visible by executing.
The one that is only visible by running it
The Bun banner breaks any JSON.parse over this CLI output. Running the exact path in Tools/Render.ts the error is:
JSON Parse error: Unexpected identifier "You"
That is the banner "You are running Remotion with Bun…" which the CLI writes before anything else. Even if --json existed and returned perfect JSON, JSON.parse would still fail. This affects any function that parses this CLI under Bun, so it is worth fixing as a class rather than per call site.
Confirmed by execution
-
Tools/Render.ts calls two subcommands that do not exist. bunx remotion parse-video returns Command parse-video not found; same for parse-audio. The 12 real ones are studio render still bundle compositions benchmark versions gpu upgrade add skills browser. Both calls are wrapped in catch { return null }, so they return empty silently instead of failing.
-
remotion compositions <entry> --json ignores the flag and prints the human table. It also requires an entry point which the calling function was not passing.
-
@remotion/renderer/web does not resolve (Cannot find module). The correct package is @remotion/web-renderer.
-
getImageDimensions is not exported from remotion — it lives in @remotion/media-utils.
-
create-video templates are flags (--blank), not values for --template; and tts is not a template.
-
canvas(), blob() and url() are documented as properties but are methods returning promises (confirmed against the installed type declarations). composition is an object and frame is required.
Paths that do not exist on disk
CUSTOMIZATIONS/SKILLS/Art/PREFERENCES.md, skills/Art/Examples/, Tools/Reference/, and the entire Parser skill are absent (checked with ls). Workflows/ContentToAnimation.md routed its whole step 1 through Parser.
Already fixed in 7.28.3 — that release replaced the Parser routing with fabric -y / WebFetch / the native Read for PDFs. Flagging it so it does not get re-fixed.
What I can supply
Commands and outputs for the 6 execution-confirmed items, and the diff for the three repaired Render.ts functions — they move to ffprobe (already a pipeline dependency) and fail loudly instead of returning empty.
Documentation-level defects from the same audit are filed separately to keep this thread about code.
Follow-up to #1753, which covered the two licence lines. These are the defects that break code. This audit was executed against an installed
remotion@4.0.505in a clean project with a real composition, not read. 6 confirmed by running commands, 0 refuted, and 1 that was only visible by executing.The one that is only visible by running it
The Bun banner breaks any
JSON.parseover this CLI output. Running the exact path inTools/Render.tsthe error is:That is the banner
"You are running Remotion with Bun…"which the CLI writes before anything else. Even if--jsonexisted and returned perfect JSON,JSON.parsewould still fail. This affects any function that parses this CLI under Bun, so it is worth fixing as a class rather than per call site.Confirmed by execution
Tools/Render.tscalls two subcommands that do not exist.bunx remotion parse-videoreturnsCommand parse-video not found; same forparse-audio. The 12 real ones arestudio render still bundle compositions benchmark versions gpu upgrade add skills browser. Both calls are wrapped incatch { return null }, so they return empty silently instead of failing.remotion compositions <entry> --jsonignores the flag and prints the human table. It also requires an entry point which the calling function was not passing.@remotion/renderer/webdoes not resolve (Cannot find module). The correct package is@remotion/web-renderer.getImageDimensionsis not exported fromremotion— it lives in@remotion/media-utils.create-videotemplates are flags (--blank), not values for--template; andttsis not a template.canvas(),blob()andurl()are documented as properties but are methods returning promises (confirmed against the installed type declarations).compositionis an object andframeis required.Paths that do not exist on disk
CUSTOMIZATIONS/SKILLS/Art/PREFERENCES.md,skills/Art/Examples/,Tools/Reference/, and the entireParserskill are absent (checked withls).Workflows/ContentToAnimation.mdrouted its whole step 1 through Parser.Already fixed in 7.28.3 — that release replaced the Parser routing with
fabric -y/ WebFetch / the native Read for PDFs. Flagging it so it does not get re-fixed.What I can supply
Commands and outputs for the 6 execution-confirmed items, and the diff for the three repaired
Render.tsfunctions — they move to ffprobe (already a pipeline dependency) and fail loudly instead of returning empty.Documentation-level defects from the same audit are filed separately to keep this thread about code.