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

Bug to download in mp3 from youtube #50

Closed
darkpisto opened this issue Apr 20, 2022 · 6 comments
Closed

Bug to download in mp3 from youtube #50

darkpisto opened this issue Apr 20, 2022 · 6 comments

Comments

@darkpisto
Copy link

When i download a link (like : https://www.youtube.com/watch?v=DgG3k6SzD9M ) in youtuble-dl and i choose "mp4" ou "m4a" it works. But if I choose "mp3", a file is downloaded with almost the same size of the m4a but it doesn't work (impossible to read from VLC by example).

Thanks again for your work :)

@shiningw
Copy link
Owner

Hi,
I'll check it and see what I can do about it

@medismail
Copy link
Contributor

It wroks for me. Do you have ffmpeg installed?
For filename I already push a pull request for correction.
#41

@darkpisto
Copy link
Author

Hello.

Sorry i make a small "apt-get install ffmpeg" !!
Can you detect if ffmpeg not install and modify the button to say "MP3 (ffmpeg required)" to avoid this situation to the next noob please ? ;)

But it still doenst work, now i have the error "ERROR: Stream #0:0 -> #0:0 (copy)" when the download try to start ,

Thanks Medismail, and thanks again Shiningw

@shiningw
Copy link
Owner

Hi,
You can try @Claers PR #49. Please let me know if it works

@darkpisto
Copy link
Author

darkpisto commented Apr 27, 2022

I tried, I just comment the line "$this->addOption('--add-metadata');" in lib/Tools/Youtube.php
I try to download by youtube-dl in mp3 : the error disappear, but now the download is "cycling" oO
It download until 100%, and it download again from beginning until 100% again and again :/

( Also another problem : when the download mp3 is from a list, the download doesn't start properly, like this URL : https://www.youtube.com/watch?v=0S43IwBF0uM&list=PLMdXdIjaqNtSovPEdiL3cwpRiIL30n3b1&index=4 EDIT : you already have an issue for this and you know it's exist, juste ignore this ^^ )

@darkpisto
Copy link
Author

darkpisto commented May 1, 2022

Since the last update it works properly oO

And it can download multiples mp3 from a list, yeah ! :)

Thanks again and sorry for inconvenience :)

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

No branches or pull requests

3 participants