youtube-dl unable to download audio how to resolve that issue?
./youtube-dl https://www.youtube.com/playlist?list=PLVqBLRhC9UzGX1BRbF53zsJE8Jw_eiLRK
It produce following output with warning
[youtube:playlist] PLVqBLRhC9UzGX1BRbF53zsJE8Jw_eiLRK: Downloading webpage [download] Downloading playlist: Fear Files [youtube:playlist] PLVqBLRhC9UzGX1BRbF53zsJE8Jw_eiLRK: Downloading page #1 [youtube:playlist] PLVqBLRhC9UzGX1BRbF53zsJE8Jw_eiLRK: Downloading page #2 [youtube:playlist] playlist Fear Files: Downloading 223 videos [download] Downloading video 1 of 223 [youtube] R8lNWOGJ5cg: Downloading webpage [youtube] R8lNWOGJ5cg: Downloading video info webpage [youtube] R8lNWOGJ5cg: Extracting video information [youtube] R8lNWOGJ5cg: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Resuming download at byte 206757946 [download] Destination: Fear Files - Episode 44 - September 28, 2014-R8lNWOGJ5cg.f137.mp4
Because of waring youtube-dl download video without audio. How to solve that issue. I also try command
youtube-dl -f 22 URL_link but still not work.
Solution 1:
I also encountered the this error. Though it's not a permanent solution, here is what I did. I used the youtube-dl -f
. This is the option for (-f
) format. This allows you to specify the format you want to download. To see the formats available for the file (video file), you can use youtube-dl -F
. This will list all formats available for that particular file. Please note that you have to include the the URL for the video, and write something like this: youtube-dl -F https://youtu.be/FWxtFTHO1ak
. The picture shows what appears when you run the command in the previous sentence:
Once you you identify the format you like, for example you can run this command youtube-dl -f 22 https://youtu.be/FWxtFTHO1ak
. The 22 is the format code for mp4 best quality. I guess this will help.
Solution 2:
You are seeing the default behavior of youtube-dl
where since April 2015 and version 2015.04.26 unless told otherwise youtube-dl
will download the best quality video stream and the best quality audio stream.
Two cases arise then:
- If you have either
ffmpeg
oravconv
installed the two best quality streams will be downloaded and then muxed together. If the codecs are incompatible together in either flv or mp4 they will be joined in mkv. This is happening in your case. - If you don't have either
ffmpeg
oravconv
installed the best quality will be downloaded that is available as a single file.
So, you are seeing normal behavior...
References:
- youtube-dl FAQ: Format Selection
Solution 3:
I have the same problem in UbuntuStudio 16.04 64bits. And because is not posible solved this I install JDonloader, you can install it from:
http://packages.deepin.com/deepin/pool/contrib/j/jdownloader/
in this place you can chose 32 or 64 bits:
install it, all dependences are ok.
When you copy a link from a video in youtube automatically JDownloader detect, next you can download it