Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error downloading MP3 files #125

Open
5 of 9 tasks
brainy1999 opened this issue Feb 22, 2023 · 8 comments
Open
5 of 9 tasks

Error downloading MP3 files #125

brainy1999 opened this issue Feb 22, 2023 · 8 comments
Labels
documentation Improvements or additions to documentation

Comments

@brainy1999
Copy link

brainy1999 commented Feb 22, 2023

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 then About to view the current version)

  • Make sure you are using the latest youtube-dl version (Click the Settings icon and then Update 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:

  1. Install from Windows Store
  2. Set file type for download as .mp3
  3. Error appears on download list.
  4. 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
@oleksis
Copy link
Owner

oleksis commented Feb 22, 2023

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 PATHenvironment variable to the system

@oleksis oleksis added the documentation Improvements or additions to documentation label Feb 22, 2023
@oleksis
Copy link
Owner

oleksis commented Feb 22, 2023

Make a video show how install FFmpeg on Windows:
Install FFmpeg Windows

@notanewbie
Copy link

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

@oleksis
Copy link
Owner

oleksis commented Feb 25, 2023

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

@KoinuKage
Copy link

KoinuKage commented Mar 2, 2023

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

@TechnoLogicPC
Copy link

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

@oleksis
Copy link
Owner

oleksis commented Mar 4, 2023

Add another options --ffmpeg-location to the docs: Configure FFmpeg on yt-dlg

@robbah
Copy link

robbah commented Feb 2, 2024

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: Low priority
Development

No branches or pull requests

6 participants