Hello!
Why sometimes youtube-dl doesn't download the best available quality even though I gave the correct command?
Link: https://youtu.be/yXbjwBdVqrM
Format available:
Command:Code:youtube-dl -F https://youtu.be/yXbjwBdVqrM [youtube] yXbjwBdVqrM: Downloading webpage [youtube] yXbjwBdVqrM: Downloading MPD manifest [info] Available formats for yXbjwBdVqrM: format code extension resolution note 139 m4a audio only DASH audio 58k , m4a_dash container, mp4a.40.5@ 48k (22050Hz) 140 m4a audio only DASH audio 139k , m4a_dash container, mp4a.40.2@128k (44100Hz) 251 webm audio only DASH audio 160k , webm_dash container, opus @160k (48000Hz) 278 webm 256x144 DASH video 95k , webm_dash container, vp9, 25fps, video only 160 mp4 256x144 DASH video 108k , mp4_dash container, avc1.4d400b, 25fps, video only 242 webm 426x240 DASH video 220k , webm_dash container, vp9, 25fps, video only 133 mp4 426x240 DASH video 242k , mp4_dash container, avc1.4d400c, 25fps, video only 243 webm 640x360 DASH video 405k , webm_dash container, vp9, 25fps, video only 134 mp4 640x360 DASH video 638k , mp4_dash container, avc1.4d401e, 25fps, video only 244 webm 854x480 DASH video 752k , webm_dash container, vp9, 25fps, video only 135 mp4 854x480 DASH video 1155k , mp4_dash container, avc1.4d4014, 25fps, video only 247 webm 1280x720 DASH video 1505k , webm_dash container, vp9, 25fps, video only 136 mp4 1280x720 DASH video 2310k , mp4_dash container, avc1.4d400d, 25fps, video only 248 webm 1920x1080 DASH video 2646k , webm_dash container, vp9, 25fps, video only 137 mp4 1920x1080 DASH video 5055k , mp4_dash container, avc1.640028, 25fps, video only 18 mp4 640x360 360p 414k , avc1.42001E, 25fps, mp4a.40.2@ 96k (44100Hz), 456.26MiB (best)
MediaInfo:Code:youtube-dl https://youtu.be/yXbjwBdVqrM -f137+251
Basically the tool downloaded video -f248 (2646k) instead of -f137 (5055k).Code:Generale ID univoco : 170282437967176500320032791189361175590 (0x801B34628747FE830CD19A640F22AC26) Formato : Matroska Versione formato : Version 4 Dimensione : 2,92 GiB Durata : 2 o 34 min Bitrate totale : 2.715 kb/s Creato con : Lavf58.40.100 Compressore : Lavf58.40.100 ErrorDetectionType : Per level 1 Video ID : 1 Formato : AVC Formato/Informazioni : Advanced Video Codec Profilo formato : High@L4 Impostazioni formato : CABAC / 3 Ref Frames Impostazioni formato, CABAC : Si Impostazioni formato, RefFrames : 3 frame ID codec : V_MPEG4/ISO/AVC Durata : 2 o 34 min Larghezza : 1.920 pixel Altezza : 1.080 pixel Rapporto aspetto visualizzazione : 16:9 Modalità frame rate : Costante Frame rate : 25,000 FPS Spazio colore : YUV Croma subsampling : 4:2:0 Profondità bit : 8 bit Tipo scansione : Progressivo Titolo : ISO Media file produced by Google Inc. Default : Si Forced : No Color range : Limited Colori primari : BT.709 Caratteristiche trasferimento : BT.709 Coefficienti matrici : BT.709 Audio ID : 2 Formato : Opus ID codec : A_OPUS Durata : 2 o 34 min Canali : 2 canali Channel layout : L R Frequenza campionamento : 48,0 kHz Profondità bit : 32 bit Modo compressione : Con perdita Lingua : Inglese Default : Si Forced : No
Can anyone give me an explanation?
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 11 of 11
-
-
-
I think that's exactly what it is. Also tried with...
Code:youtube-dl https://youtu.be/yXbjwBdVqrM -f 137/mp4/bestvideo
Code:youtube-dl https://youtu.be/yXbjwBdVqrM -f bestvideo[vcodec!^=avc1]
Could the higher birate only be available for YouTube Premium users or is there another tool that can download at the highest quality??Last edited by pedrothelion; 28th Jan 2021 at 05:49.
-
There has been talk of downgrades to quality (initially available file gets reencoded to a lower bitrate), I don't know if this is real or related.
-
It didn't do that, because 248 is vp9, whereas 137 is avc1 (640028,high,level:4.0).
Since you downloaded avc1 and not vp9, youtube-dl likely did download the 137 quality track. The 137 track is the only avc1 track @high/level4.0 (640028). So, you're probably downloading the correct track and not one of the other tracks listed.
I agree. For whatever reason, youtube-dl (or whatever) is not representing the bitrate accurately in the -F listing.Last edited by blimey; 28th Jan 2021 at 06:17.
-
This code below is nonsense...
Code:youtube-dl https://youtu.be/yXbjwBdVqrM -f 137/mp4/bestvideo
With ffmpeg.exe in the same folder as youtube-dl you need to use:
Code:youtube-dl -f 137+140 https://youtu.be/yXbjwBdVqrM
Code:youtube-dl -f 137+140 https://youtu.be/yXbjwBdVqrM --merge-output-format mkv
Last edited by codehound; 28th Jan 2021 at 07:26.
-
Read here:
"If you want to download several formats of the same video use a comma as a separator, e.g. -f 22,17,18 will download all these three formats, of course if they are available. Or a more sophisticated example combined with the precedence feature: -f 136/137/mp4/bestvideo,140/m4a/bestaudio".
... but as said before -f 137 returns a different bitrate from the one listed with the command -F -
You have the syntax incorrect. By just having a space between youtube-dl and the url you are not telling it which format you want it to download.
-
As I have done above with -f 137+140 between youtube-dl and the URL
Code:youtube-dl -f 137+140 https://youtu.be/yXbjwBdVqrM
Download zip
https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z
Extract > look in folder BIN > copy/paste ffmpeg.exe into same folder as youtube-dl.exeLast edited by codehound; 28th Jan 2021 at 07:53.
Similar Threads
-
youtube-dl downloading issue
By kaskaï in forum Video Streaming DownloadingReplies: 7Last Post: 14th Nov 2020, 02:31 -
Chrome video issue with youtube and slingtv
By Han Solo1 in forum Newbie / General discussionsReplies: 0Last Post: 1st Jan 2018, 13:38 -
Youtube-Dl Issue
By bentheguitarman in forum Video Streaming DownloadingReplies: 5Last Post: 17th Jun 2017, 06:06 -
DeletePost
By PowerFalcon in forum Video Streaming DownloadingReplies: 0Last Post: 10th Apr 2017, 19:23 -
youtube upload issue
By Baboshka in forum Newbie / General discussionsReplies: 15Last Post: 10th Jun 2016, 08:30