-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
--extract-audio doesn't seem to work. #87
Comments
I don't know what could be wrong. youtube-dl is supposed not to delete the video if ffprobe or ffmpeg fail to run or exit with error. I'd try the following:
Take note of the ffmpeg output and its exit status, so we can investigate what goes wrong in the process. |
Hi |
If that works, youtube-dl should work too, because that's the exact same command youtube-dl tries to run when extracting the audio from the video file. I just tried locally here, and I get:
|
Yes, I also have the file 2bQZ6l_cq5Y.aac. |
I'll think about it a bit more and maybe I'll post some special version of the program to get more information. In the mean time, I suspect a very weird problem. If ffmpeg failed to run for some reason, the file wouldn't even be created. The fact that it exists and has zero bytes signals a very very strange problem. I don't know what could be wrong right now. |
This version will print the ffmpeg command, and will not redirect its output, so you can see what ffmpeg is doing: |
OK thanks. |
I've pasted the terminal output. Here is the output:- http://pastebin.com/aPpRxPc3 |
I think you're confused. As you did not quote the URL, the shell interpreted the command as something to be launched in the background. The process probably finished, but you don't see the prompt appear. |
About your previous question, no, my AAC file is not empty. I pasted the "ls -l" in a comment above. |
"As you did not quote the URL" My command was:- The URL is included there:- What do you mean? |
I mean to put the URL in quotes, as in:
|
Hi My excuse is that when I do normal downloads it's not necessary to use quotes. ;-) Thanks for your patience. |
No problem, I'm closing the issue since it's a non-issue. |
Hi
I've tried using the --extract-audio option.
What happens is a new file is created 'whatever.aac' but it contains 0 bytes and the downloaded flv file gets deleted.
Am I using it correctly?
youtube-dl --extract-audio http://www.youtube.com/watch?v=2bQZ6l_cq5Y&feature=feedrec_grec_index
Version is 2011.02.25c
Ubuntu 9.10
FFmpeg version git-2bbec1e
The text was updated successfully, but these errors were encountered: