Many, many variations of this command line are possible. (Easily bypassed if needed by passing the -ignore-config option on the command line). With the above line placed in the youtube-dl config file the settings will become the default for youtube-dl and do not need to be given on the command line each time. Such a relatively complex command line can be placed permanently in the configuration file ~/.config/youtube-dl/config as follows: -f 'bestvideo+bestaudio' Obviously substituting the 'URL' value for the address of the youtube video you wish to download. you can ignore the HTTP Error 403: Forbidden warnings - some BBC formats are geo-locked to the UK - for BBC Subscribers only, i guess) youtube-dl. If however you are really keen to get the best quality video and the best quality video audio but only in an mp4 container (thus bypassing the mkv warning and subsequent Matrosk container output from youtube-dl) you can use something like the following: youtube-dl -f 'bestvideo+bestaudio' URL Our Systems Have Detected Unusual Traffic Youtube - 30 August 2017 Proxychains - 30 April 2017. Mind you vlc, SMPlayer and friends will play back the resulting mkv file with no issues on a well configured Ubuntu system. Hapi.js Serve File 403 Forbidden - 01 November 2017. If these 'best' streams are codecs that do not sit well in an mp4 container, for example, youtube-dl will pack them into an mkv container and issue the warning that you have seen. Sadly, I do not remember what that something was. I was able to resolve the problem, apparently only temporarily, by deleting something. ![]() This is not the first time I encountered this specific set of problems it happened once before. (I note that avi is also supported through the -recode-video option.) SMPlayer correctly played YouTube URL's on my workstation yesterday, and I did not change anything since yesterday. ![]() Current choices of container are mkv, mp4, ogg, webm, flv. This is not really a problem but actually an expected behavior for youtube-dl.īy default the current version youtube-dl will download the highest quality audio and the highest quality video streams available and then join these streams into a compatible container.
0 Comments
Leave a Reply. |