Error downloading MP3 files
brainy1999 opened this issue · comments
Running Youtube-dl-gui 1.8.4 installed from Windows Store using installer on updated Windows 11 machine. Fresh re-installation installed at 2/22/23. After last Windows update, download list throws error and downloads song as a .webm file instead of as a .mp3 file. I was able to fix issue by manually installing ffmpeg directly into the yt-dlg folder, which is a different instruction than provided in https://yt-dlg.github.io/yt-dlg/Install-FFmpeg-on-Windows.html. There must be some kind of error in installing ffmpeg from the Windows installer, or some other issue. Please log as bug report.
In the meantime before next patch, you can also try adding these instructions to the wiki for others who are getting this error.
1.) Go to https://ffmpeg.org/download.html
2.) Find the windows verion by gyan.dev, also linked at https://www.gyan.dev/ffmpeg/builds/
3.) Extract latest version using 7zip.
4.) go to your extracted files, and find ffmpeg\bin
5.) find the directory for yt-dlg on your pc, typically C:\Program Files\Oleksis Fraga\yt-dlg\yt-dlg
6.) copy ffmpeg.exe, ffplay.exe, and ffprobe.exe from your ffmpeg \bin to your \yt-dlg folder
issue solved.
/shrug it didn't seem like anyone else was addressing issue, sorry if not supposed to do here.
Please follow the guide below
- You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
- Put an
x
into all the boxes [ ] relevant to your issue (like that [x]) - Use Preview tab to see how your issue will actually look like
WARNING
All invalid issues will be rejected!!
Before going further
-
If your problem is a bug with youtube-dl or a request for new site support please report it here
-
Make sure you are using the latest yt-dlg version (Click the
Settings
icon and thenAbout
to view the current version) -
Make sure you are using the latest youtube-dl version (Click the
Settings
icon and thenUpdate
to update to the latest youtube-dl version) -
Make sure you searched the bugtracker for similar issues including closed ones
-
Make sure to read the FAQs file
- I think my problem is NOT with youtube-dl
- I've verified and i assure that I'm running yt-dlg 1.X.Y
- I assure that i am using the latest version of youtube-dl
- Searched bugtracker
- [X ] I've read the FAQs file
What is the purpose of your issue?
- Bug report
- Feature request (request for a new functionality)
- Question
- Other
Please remove any sections between (---) if they are not related to your issue
What operating system do you use ?
Windows 11 latest update as of 2/22/23
List of actions to perform to reproduce the problem:
- Install from Windows Store
- Set file type for download as .mp3
- Error appears on download list.
- File is downloaded as webp not as .mp3
Please make sure that the requested feature is NOT already in the TODO list
- I've verified and i assure that my requested feature is NOT in the TODO list
Thanks for the feedback! I will add the steps to the docs. The general workaround is after install FFmpeg add the bin folder to the PATH
environment variable to the system
I just came across this issue...I've been using this software for months, and for some reason now it's not picking up on ffmpeg. I have copies in the same directory as yt-dlg, in %USERNAME%/bin, in C:/ffmpeg, in C:/Program Files/ffmpeg, and have set up the correct PATH environment variable, no luck
Can share the log and the settings?
Other option is set the settings: Setting -> Options -> Extra
tab and set --ffmpeg-location PATH
for yt-dlp
CLI Backend. Post-Processing Options
Hello,
I encountered the same issue, setting the PATH in environmental variables didn't work, copying the ffmpeg files to the yt-dlg folder also didn't work.
What finally worked for me was to go to Settings -> Options ->Extras and in the CLI Backend command line options put "--ffmpeg-location DirectPathToTheFfmpegBinFolder" (in my case E:\ffmpeg\bin) After that file was converted from webm to mp3 after the download.
As a suggestion maybe it would be better to add a new section or tab for Ffmpeg where people can specify the path to the bin catalogue which would resolve the issue completely
Hello, I encountered the same issue, setting the PATH in environmental variables didn't work, copying the ffmpeg files to the yt-dlg folder also didn't work. What finally worked for me was to go to Settings -> Options ->Extras and in the CLI Backend command line options put "--ffmpeg-location DirectPathToTheFfmpegBinFolder" (in my case E:\ffmpeg\bin) After that file was converted from webm to mp3 after the download.
As a suggestion maybe it would be better to add a new section or tab for Ffmpeg where people can specify the path to the bin catalogue which would resolve the issue completely
Perfect, this worked. Would be awesome to have this added to the microsoft store install as it's the only thing stopping this from being a proper mp3 turnkey solution
Add another options --ffmpeg-location
to the docs: Configure FFmpeg on yt-dlg
Can share the log and the settings?
Other option is set the settings:
Setting -> Options -> Extra
tab and set--ffmpeg-location PATH
foryt-dlp
CLI Backend. Post-Processing Options
This doesn't work on Ubuntu 22.04.
I installed ffmpeg: sudo apt install ffmpeg
Then i tried to set extra CLI settings with: --ffmpeg-location "/usr/bin"
and --ffmpeg-location /usr/bin