Skip to content

fix(ffmpeg): prefer bundled binary paths over PATH #29

@ubugeeei

Description

@ubugeeei

Finding

Electron resolves bundled ffmpeg/ffprobe paths and injects env vars, but Rust helpers may prefer PATH first. That weakens reproducibility and can accidentally use the wrong binary.

Evidence

  • electron/main.ts sets FRAMESCRIPT_FFMPEG_PATH and FRAMESCRIPT_FFPROBE_PATH.
  • backend/render Rust ffmpeg helpers inspect PATH-installed binaries.

Acceptance criteria

  • Prefer explicit FRAMESCRIPT_* env paths before PATH.
  • Validate that the selected binary exists and is executable.
  • Log the selected binary path once for diagnostics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions