Skip to content

Add ffmpeg system dependency for video_dl cog#137

Closed
Claude wants to merge 1 commit intomainfrom
claude/fix-ffmpeg-installation-issue
Closed

Add ffmpeg system dependency for video_dl cog#137
Claude wants to merge 1 commit intomainfrom
claude/fix-ffmpeg-installation-issue

Conversation

@Claude
Copy link
Copy Markdown
Contributor

@Claude Claude AI commented Apr 15, 2026

yt-dlp requires ffmpeg to merge video and audio streams when downloading YouTube videos above 720p. Without it, downloads fail with You have requested merging of multiple formats but ffmpeg is not installed.

CI/CD Changes

  • Install ffmpeg in pytest workflow before running tests
  • Add yt-dlp to test job dependencies

Documentation

  • Add system_dependencies: ["ffmpeg"] to video_dl/info.json
  • Add Video Downloader section to README with platform-specific installation instructions
  • Update copilot-instructions.md with ffmpeg requirement
  • Add yt-dlp>=2023.1.1 to requirements-test.txt

Users must install ffmpeg on their system:

# Ubuntu/Debian
sudo apt-get install ffmpeg

# macOS  
brew install ffmpeg

Fixes the error "You have requested merging of multiple formats but ffmpeg is not installed"
that occurs when yt-dlp needs to merge video and audio streams for YouTube videos.

Changes:
- Added ffmpeg installation to GitHub Actions pytest workflow
- Added yt-dlp to test job dependencies in CI
- Updated video_dl/info.json to document ffmpeg as system dependency
- Added comprehensive installation instructions to README.md
- Updated copilot-instructions.md with ffmpeg requirement
- Added yt-dlp>=2023.1.1 to requirements-test.txt

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Co-authored-by: psykzz <1134201+psykzz@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants