Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Extracting the audio from a download. #1470
Comments
|
Happens with http://www.youtube.com/watch?v=XvdMaY_Qyn4&feature=youtu.be & http://www.youtube.com/watch?v=sXPO9KyX3z4#t=44 Whereas https://www.youtube.com/watch?v=LSui54Xm-wA results in a file that flat out wont play at all. |
|
Mmm, all of these work perfectly fine with me (assuming the "stuck music effect" at the start of these songs is intentional). What output do you get for |
|
I have a hunch: Did you call something like
? This won't work, since the video filename is the same as the audio filename. It should result in the youtube-dl output
but no other warning. To get the desired behavior, simply use
youtube-dl versions after 2013.09.20.1 will raise an error to that effect if you forget I'm marking this issue as closed now since I believe that to be the problem, and it fits perfectly with your symptoms, i.e. you'll get the video file with audio instead of just an audio file. If that isn't the case, please comment and we'll reopen this issue. Thanks for reporting! |
|
since this commit i cant download: i automatically get the error message liste above |
|
@vanilla38 Well, that's because the output format is wrong and cannot work this way. And don't call youtube-dl with sudo (unless you've installed it system-wide, and you're updating), that's a very bad idea! Your invocation is wrong, use
|
|
thanks alot yea i just tested it manually but command is usually sent by php so no sudo ^^. |
When extracting the audio from a downloaded video, e.g.
youtube-dl [link] --extract-audio --audio-format mp3 "[title].mp3"
The video is still there when playing the audio in VLC, and subsequently the file won't play in iTunes. Is this intended, and is there no way to remove the video entirely?