Skip to content

YouTube imports have no FFmpeg when it is installed under data/ffmpeg/bin #684

Description

@thcp

Setup accepts an FFmpeg build nested under data/ffmpeg/bin/, the layout upstream builds unpack to (#248), and verifies it correctly. The backend then hands yt-dlp data/ffmpeg as its FFmpeg location.

That directory holds no binary. yt-dlp takes a location literally: given a directory, it runs dir/ffmpeg and dir/ffprobe and does not fall back to PATH, so it reports FFmpeg missing and carries on without it.

Who hits it

Anyone whose FFmpeg lives in the nested layout, typically because they dropped an upstream build into the data folder rather than letting setup download one. Separation works, because the backend runs the verified binary directly. YouTube imports that need a remux or an audio extraction do not.

Cause

The same one as #651. yt-dlp's location came from the data directory itself, FFMPEG_DIR, rather than from the FFmpeg setup actually verified, so it pointed one level above the binaries.

Constraints

  • The location has to be a single directory holding both ffmpeg and ffprobe, because that is what yt-dlp looks for.
  • The flat layout, Docker, and source checkouts with FFmpeg on PATH must keep working.

Activity

  1. self-assigned this
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions