[youtube-dl] Download files from youtube.com or other video platforms

I'm not sure how the decision is made without the -f option, but it downloaded the 720 version when I tried it
 
I'm not sure how the decision is made without the -f option, but it downloaded the 720 version when I tried it
The configuration file contains the following setting: "-f best[height<=?1080]" this will download the best available version up to 1920 x 1080. However, the best quality available from BBC iPlayer, for example, is 1280 x 720 (@ 50 fps), so this is what you will get.
 
The configuration file contains the following setting: "-f best[height<=?1080]" this will download the best available version up to 1920 x 1080. However, the best quality available from BBC iPlayer, for example, is 1280 x 720 (@ 50 fps), so this is what you will get.
The example he gave had 1080 files.
 
The example he gave had 1080 files.
The 1080 or higher files in the wiki example are video only. It looks for the best available single file with both video and audio: this will be designated with 'best' in parentheses. If you want to specify different streams add --ignore-config to the command line and use the listed codes for the streams you want. Based on the example in the wiki, if you want an mp4 file with 1080 video and suitable audio (m4a) in the same file the command is -f 137+140 after 'youtube' and before the URL.
 
Has anyone had any success downloading from sites other than youtube and BBC iplayer?


Sent from my SM-G950F using Tapatalk
 
Just failed from All4, I guess because of https:

Code:
HDRFOX1# youtube -F https://www.channel4.com/programmes/building-hitlers-supergun/on-demand/61673-001                                                                           
[generic] 61673-001: Requesting header                                                 
WARNING: Falling back on generic information extractor.
[generic] 61673-001: Downloading webpage                                               
[generic] 61673-001: Extracting information                                             
ERROR: Unsupported URL: https://www.channel4.com/programmes/building-hitlers-supergun/on-demand/61673-001
HDRFOX1#
 
Same result for All4 = unsupported URL (strange we both picked to same programme to download)
also ITV Hub failed :-
Code:
Humax2# youtube https://www.itv.com/hub/the-jonathan-ross-show/2a1166a0146
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
ERROR: ffmpeg exited with code 1
 
Same result for All4 = unsupported URL (strange we both picked to same programme to download)
also ITV Hub failed :-
Code:
Humax2# youtube https://www.itv.com/hub/the-jonathan-ross-show/2a1166a0146
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
ERROR: ffmpeg exited with code 1
All4 is unsupported by youtube-dl. I think the programmes are protected by DRM. ITV hub does work, for example on a Windows PC (see post #112 in this thread onwards), but not on the HDR-FOX due to missing libraries in python, and the lack of openssl in the compiled version of ffmpeg.
 
Just failed from All4, I guess because of https:
Code:
HDRFOX1# youtube -F https://www.channel4.com/programmes/building-hitlers-supergun/on-demand/61673-001                                                                         
[generic] 61673-001: Requesting header                                               
WARNING: Falling back on generic information extractor.
[generic] 61673-001: Downloading webpage                                             
[generic] 61673-001: Extracting information                                           
ERROR: Unsupported URL: https://www.channel4.com/programmes/building-hitlers-supergun/on-demand/61673-001
HDRFOX1#

Same result for the equivalent command on a Linux PC: I don't think All4 has ever been supported: the support requests for it on the yt-dl site aren't resolved.
Same result for All4 = unsupported URL (strange we both picked to same programme to download)
also ITV Hub failed :-
Code:
Humax2# youtube https://www.itv.com/hub/the-jonathan-ross-show/2a1166a0146
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
ERROR: ffmpeg exited with code 1
Per post 116 and its predecessors, it appears that we need either python-2.7 built with support for encryption using a modern libssl (API>1.0), or ffmpeg built with a modern libssl, or both.


What @MET said.
 
@/df - What about your idea for using the existing python library in the Opera folder (standard firmware)? Could this be done with a symlink or mount bind?
 
@/df - What about your idea for using the existing python library in the Opera folder (standard firmware)? Could this be done with a symlink or mount bind?
Without checking again, I believe that I came to the conclusion that the python build in the repository does use the OpenSSL 1.0.0 from the Opera folder, but the build only uses it to support https; in particular it doesn't support the ciphers used by the ITV Hub. I don't think there is a kludge solution. Either python or ffmpeg needs to be rebuilt with an up-to-date libssl; ffmpeg seems easiest. Probably I should disable a few more features in the build to get a smaller binary that won't crash/hang.
 
The 1080 or higher files in the wiki example are video only. It looks for the best available single file with both video and audio: this will be designated with 'best' in parentheses. If you want to specify different streams add --ignore-config to the command line and use the listed codes for the streams you want. Based on the example in the wiki, if you want an mp4 file with 1080 video and suitable audio (m4a) in the same file the command is -f 137+140 after 'youtube' and before the URL.
What is the purpose of video only files?
 
Back
Top