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

Failure to extract audio #251

Closed
phihag opened this issue Dec 15, 2011 · 3 comments
Closed

Failure to extract audio #251

phihag opened this issue Dec 15, 2011 · 3 comments
Assignees
Labels
bug

Comments

@phihag
Copy link
Contributor

@phihag phihag commented Dec 15, 2011

youtube-dl --extract-audio --audio-format mp3 -w -t 'http://www.youtube.com/watch?v=IewZCdCTqnY'

(only available from US)

Output:

 [WARNING] : error running ffmpeg

This may be a problem with the mp3 codecs or ffmpeg version.

@ghost ghost assigned phihag Dec 15, 2011
@phihag
Copy link
Contributor Author

@phihag phihag commented Dec 15, 2011

The problem seems to be missing mp3 encoders. Adding the debian multimedia repository and installing lame should solve it. Nevertheless, youtube-dl should include ffmpeg's error message in the output.

@wolkenarchitekt
Copy link

@wolkenarchitekt wolkenarchitekt commented Dec 16, 2011

I had the same problem. I'm running Ubuntu 11.04, with ffmpeg, Lame and all other Codecs one can imagine. Still, extracting audio does not work (but on some videos it actually did work...).
As a workaround, I'm saving the FLVs only, and get the Audio out of them manually with ffmpeg, like this:
ffmpeg -i infile.flv -vn -f wav outfile.wav
Works fine and the quality is good.

@phihag
Copy link
Contributor Author

@phihag phihag commented Dec 17, 2011

@ifischer Great idea! youtube-dl now supports the output format wav which should work everywhere. You can also specify the audio format best, which will not recode the audio at all.

Additionally, as of 2011.12.18 (oops, messed up the date, but who said that version numbers must match the release date?), youtube-dl outputs the ffmpeg error message, which should greatly help diagnosing the problem.

@phihag phihag closed this Dec 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.