Skip to content

Remotion skill: 7 defects that break code, confirmed by executing against remotion@4.0.505 (not by reading) #1763

Description

@jacobo-ortiz

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

  1. 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.

  2. 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.

  3. @remotion/renderer/web does not resolve (Cannot find module). The correct package is @remotion/web-renderer.

  4. getImageDimensions is not exported from remotion — it lives in @remotion/media-utils.

  5. create-video templates are flags (--blank), not values for --template; and tts is not a template.

  6. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions