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
Choosing output file name with --extract-audio #347
Comments
About the last issue, you're missing the lowercase S after the template parameter. This is documented here: |
Hi, http://x.platformeasytools.free.fr/download_MC.html You'll need a java virtual machine (JVM) and mencoder Hope this help |
rg3, thanks for the info. Charlie, please don't use the bugtracker to plug your GUI. This issue has nothing to do with it. I use youtube-dl in a script, and a GUI would be useless to me. |
@phihag seems to have been resolved...? |
Hello, I experienced the same issue. BR, marco youtube-dl -x -o '~/Downloads/%(title)s.%(ext)s' y o u t u b e . c o m /watch?v=NjxNnqTcHhg |
youtube-dl -x --audio-format mp3 --audio-quality 0 -i -o '%(autonumber)s. %(title)s_%(id)s.%(ext)s' https://www.youtube.com/playlist\?list\=PLDfKAXSi6kUY0DDWDo2-tH3-ErRk08fWe .... So everything work fine. |
Hi, I tested what you sent me. works does not work I thought by omitting this parameter youtube-dl will automatically extract the original audio format without conversion. BR, #marco Am 14.09.2014 um 17:01 schrieb Boyko Daniel notifications@github.com:
|
@marcotrosi Can you elaborate how "it does not work"? Is there a file on your filesystem? If so, what is the output of You'll indeed get the raw audio file if you leave out |
Ok, forget everything I said. Sorry for the inconvenience #marco p.s. I am working on a pseudo GUI for youtube-dl to extract audio. If you are interested I can send you the app. Am 22.09.2014 um 19:27 schrieb Philipp Hagemeister notifications@github.com:
|
This seems to be resolved. @marcotrosi Feel free to mention a URL where your program is distributed. I'll include it in a list of UIs. |
[pull] master from ytdl-org:master
Version 2012.02.27 on ArchLinux x86_64....
There doesn't seem to be an elegant way of specifying the output filename when using the --extract-audio option. I had expected to be able to use the -o or --output option, but that seems to only work when specifying the video file name. indeed:
youtube-dl --extract-audio --audio-format=mp3 --output myfile.mp3 http://youtu.be/9ro0FW9Qt-4
results in no file being saved at all. This is presumably because the video and audio files are given the same name, so audio is extracted overwriting the video file, and then that file is deleted, leaving nothing remaining.
I can set the video file name, provided I specify the extension directly (without an extension I get an error) and then the mp3 name will match, but this is counterintuitive when I'm not saving the video file.
Incidentally, I don't understand how to use templates.
youtube-dl --extract-audio --audio-format=mp3 --output "myfile.%(ext)" http://youtu.be/9ro0FW9Qt-4
Yields: "ERROR: invalid system charset or erroneous output template"
The text was updated successfully, but these errors were encountered: