youwee icon indicating copy to clipboard operation
youwee copied to clipboard

Giving error of FFmpeg not found, but it's been installed

Open justbeingamir-rgb opened this issue 9 months ago • 12 comments

On Mac Pro M4, FFmped is installed but when trying to download youtube videos, it's giving this error

[ERROR] 2026-03-05T10:35:22.015988+00:00 Download failed (exit code 1): ERROR: Postprocessing: ffmpeg not found. Please install or provide the path using --ffmpeg-location URL: https://www.youtube.com/watch?v=JOm_EqBoW0M

Image

justbeingamir-rgb avatar Mar 05 '26 10:03 justbeingamir-rgb

Open terminal and run this

cd ~/Library/Application\ Support/com.vanloctech.youwee/bin

ls -lh

and confirm ffmpeg and ffprobe existed.

Image

If all of them does not exist, or one of those two things doesn't exist. You should remove one of those and restart Youwee and re-install ffmpeg in dependecies

vanloctech avatar Mar 05 '26 13:03 vanloctech

Thanks for the reply!

Image

So far they both seem to be inside

justbeingamir-rgb avatar Mar 05 '26 14:03 justbeingamir-rgb

[STDERR] 2026-03-05T21:28:32.142855+00:00 ERROR: [Errno 1] Operation not permitted: '/Users/amir/Library/Containers/com.apple.Safari/Data/Library/Cookies/Cookies.binarycookies' URL: https://www.youtube.com/watch?v=LZY0-ccz2-w

After the update to v0.12.0 and using app managed ffmpeg im getting this error

justbeingamir-rgb avatar Mar 05 '26 21:03 justbeingamir-rgb

In v0.12.0, I don't change anything related to cookie, this problem related to permission on your macbook. Both cases reflect issues related to permissions.

On macOS, grant Full Disk Access to the app and retry. Fully quit Safari and app, then retry.

Or You can remove Youwee and re-download, and access all permissions necessary when Youwee required.

vanloctech avatar Mar 06 '26 02:03 vanloctech

Image Image

vanloctech avatar Mar 06 '26 02:03 vanloctech

Image

Im still getting the same error after giving all permissons, remove, and reinstall

justbeingamir-rgb avatar Mar 07 '26 09:03 justbeingamir-rgb

Can you share the logs file with me? In the logs page select "export" from top right of the page

vanloctech avatar Mar 07 '26 09:03 vanloctech

I need the command info like this:

Image

And Which is your macos version?

vanloctech avatar Mar 07 '26 09:03 vanloctech

[COMMAND] 2026-03-07T09:14:25.898580+00:00 [/Users/amir/Library/Application Support/com.vanloctech.youwee/bin/yt-dlp-nightly (bundled: false)] yt-dlp --newline --progress --no-warnings -f bestvideo[vcodec^=avc]+bestaudio/bestvideo+bestaudio/best -o /Users/amir/Downloads/%(title)s.%(ext)s --print-to-file after_move:filepath /var/folders/j9/cq0vstcx6372_k840knd4ddw0000gn/T/youwee-fp-72c43d61-a7d9-41fa-8e0f-9fe54ae73b81.txt --no-keep-video --no-keep-fragments --retries 3 --fragment-retries 3 --extractor-retries 2 --file-access-retries 2 --js-runtimes deno:/Users/amir/Library/Application Support/com.vanloctech.youwee/bin/deno --extractor-args youtube:player_js_version=actual --ffmpeg-location /Users/amir/Library/Application Support/com.vanloctech.youwee/bin --cookies-from-browser safari --force-overwrites --no-playlist --merge-output-format mp4 --embed-metadata --embed-thumbnail --convert-thumbnails jpg -- https://www.youtube.com/watch?v=zILIgHy5JfY URL: https://www.youtube.com/watch?v=zILIgHy5JfY

Macos Tahoe 26.3 Macbook Pro m4 pro

justbeingamir-rgb avatar Mar 07 '26 10:03 justbeingamir-rgb

PR #44 addresses this by reordering binary path resolution in ffmpeg.rs, ytdlp.rs, and deno.rs to check $PATH entries before hardcoded fallback paths (/opt/homebrew/bin, /usr/local/bin, /usr/bin). On macOS GUI apps that don't inherit shell PATH, the well-known fallback paths still apply as a second pass.

Additionally, get_bundled_ytdlp_path() now rejects empty sidecar placeholders (<1024 bytes) from dev builds, and get_ytdlp_path() falls through to system PATH as a last resort in Auto mode.

usrbinkat avatar Mar 08 '26 21:03 usrbinkat

Hi @justbeingamir-rgb, Sorry for the delay, I still haven't found the cause. I'm also using macOS 26.3.1, but I can't reproduce the same error as you. while waiting you can use Homebrew to install ffmpeg and enable system (Homebrew) mode in ffmpeg.

https://formulae.brew.sh/formula/ffmpeg#default

vanloctech avatar Mar 18 '26 15:03 vanloctech

Fixed and released in v0.16.0

vanloctech avatar Jun 02 '26 14:06 vanloctech