Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1080p Best Video not working, only grabbing 720p MP4 and not 1080p WEBM #20286

Closed
strayangelfilms opened this issue Mar 9, 2019 · 7 comments
Closed
Labels

Comments

@strayangelfilms
Copy link

@strayangelfilms strayangelfilms commented Mar 9, 2019

  • I've verified and I assure that I'm running youtube-dl 2019.03.09
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser
  • Bug report (encountered problems with youtube-dl)

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'bestvideo', 'https://www.youtube.com/watch?v=OFB3mjPRnBY', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.03.09
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] OFB3mjPRnBY: Downloading webpage
[youtube] OFB3mjPRnBY: Downloading video info webpage
[debug] Invoking downloader on 'https://r5---sn-a5msen7z.googlevideo.com/videoplayback?txp=5533332&key=yt6&mime=video%2Fmp4&c=WEB&itag=137&pl=20&ip=74.62.182.254&mm=31%2C26&mn=sn-a5msen7z%2Csn-q4fl6nlr&gir=yes&id=o-AGEU34tGPnE-zsJB5OgTgR31fXiuca-k4QGyMbnGkoMf&signature=2EF4FECF6384C5579247F62DB0754408E9DBCECE.D39C00D49B70F143E509A396808AB3930FBCA457&ms=au%2Conr&mt=1552097206&mv=m&ipbits=0&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&lmt=1537294289838013&expire=1552118903&requiressl=yes&keepalive=yes&ei=FyCDXM21Hpe9kwaKh7awCg&source=youtube&initcwndbps=1687500&dur=98.223&clen=17783900&fvip=5&ratebypass=yes'
[download] Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.mp4 has already been downloaded
[download] 100% of 13.33MiB

Description of your issue, suggested solution and other information

After further testing, running the program with default options to obtain best quality or only best quality video fails to retrieve 1080p. Try to grab this video as default or best video or as 1080p, only 720p will be available, despite trying many possible options. Trying -f bestvideo+bestaudio https://www.youtube.com/watch?v=OFB3mjPRnBY will grab a 1080p version but it will not be seen by other arguments or the default best quality setting.

Update: secondary issue to report: the program by default believes MP4 to be superior to WEBM. This is not the case. WEBM is highly preferable over MP4 despite the smaller file size. Test for yourself. Artifacts and blocks are not present, many more details are present in WEBM that are extremely muddy with MP4 having many more MPEG blocks and artifacts.

Would highly recommend this program default to WEBM pulls for all best quality best video pulls and by default. This is an issue with all rippers now. YouTube is actually playing and serving the WEBM versions by default now, I have just tested it and this video can be tested and will pull using the --all-formats option and if you play the WEBM 1080p from your local VLC and compare it to the 1080p selection on YT through a browser, they will be identical. I have finally obtained what I needed (the 1080p version on YT) after discovering it is the 1080p WEBM version using the --all-formats option. However, it was not easy to figure out as the program by default only grabs a 720p MP4 thinking it's the best quality and it should be grabbing the 1080p WEBM as the highest quality source. (Biggest file size does not necessarily equal best quality). I list this as a bug and not a feature request because best quality / best video should be 1080p (or highest available resolution) WEBM.

Verbose here:

youtube-dl --all-formats -o "%(title)s-%(id)s.f%(format)s.%(ext)s" -v https://www.youtube.com/watch?v=OFB3mjPRnBY
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--all-formats', '-o', '%(title)s-%(id)s.f%(format)s.%(ext)s', '-v', 'https://www.youtube.com/watch?v=OFB3mjPRnBY']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.03.09
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] OFB3mjPRnBY: Downloading webpage
[youtube] OFB3mjPRnBY: Downloading video info webpage
[info] OFB3mjPRnBY: downloading video in 20 formats
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294918876319&dur=98.241&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5511222&fvip=5&pl=20&itag=249&mt=1552097910&ms=au%2Conr&clen=583253&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=audio%2Fwebm&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=2A26EED980642F11690C0F546C66BE4285B00CBA.1FF5A7A14DD8C5E7B35B4881D64BC95095E2D067&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f249 - audio only (DASH audio).webm
[download] 100% of 569.58KiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294918879063&dur=98.241&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5511222&fvip=5&pl=20&itag=250&mt=1552097910&ms=au%2Conr&clen=756141&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=audio%2Fwebm&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=DEFD2FD3700CC3C6871358C698290E261EED8ED4.6E78B9E2D9F6016F5B22965755702E82ACDC38A2&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f250 - audio only (DASH audio).webm
[download] 100% of 738.42KiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537293865198357&dur=98.290&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=140&mt=1552097910&ms=au%2Conr&clen=1561726&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=audio%2Fmp4&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=3C35D7929C8E32B30AB29DD7C572BBAC43DFB6A5.77A056BC0CDC6DB519CF363CAA7BE43DD34342EB&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f140 - audio only (DASH audio).m4a
[download] 100% of 1.49MiB in 00:00
WARNING: OFB3mjPRnBY: writing DASH m4a. Only some players support this container. Install ffmpeg or avconv to fix this automatically.
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294919582380&dur=98.224&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5511222&fvip=5&pl=20&itag=171&mt=1552097910&ms=au%2Conr&clen=1448506&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=audio%2Fwebm&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=8FA2777C78EF32F181063252325FCD85B60D21DF.7314B5F92B71D8826464894F20DB0C5FD76DCDBA&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f171 - audio only (DASH audio).webm
[download] 100% of 1.38MiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294919282022&dur=98.241&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5511222&fvip=5&pl=20&itag=251&mt=1552097910&ms=au%2Conr&clen=1473805&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=audio%2Fwebm&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=5909041B25259B750BB0525DC50D5D87E87FE0B6.BA273EC32DBBDEA33020161ECAB97A72631430DA&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f251 - audio only (DASH audio).webm
[download] 100% of 1.41MiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294264012268&dur=98.222&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=278&mt=1552097910&ms=au%2Conr&clen=1084402&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fwebm&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=49788FDB4A0A4D101E84FE5029DD4C1BAFDBB7C9.2B597AC39F09F74149184E9657DA706944415704&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f278 - 256x144 (144p).webm
[download] 100% of 1.03MiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294725555208&dur=98.223&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=160&mt=1552097910&ms=au%2Conr&clen=918471&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fmp4&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=101C7EEF973CB3F0D144E178424C2CCD233BD905.855B1C3DB721DC6E44D3427F855680CCC77237B6&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f160 - 256x144 (144p).mp4
[download] 100% of 896.94KiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294318546561&dur=98.222&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=242&mt=1552097910&ms=au%2Conr&clen=1832108&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fwebm&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=3A0B0181F47F4A70B636F4162AE3F89758A17998.E0DA3599EDEDE07404764DEFE219F2A74BEC51F5&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f242 - 426x240 (240p).webm
[download] 100% of 1.75MiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294299040397&dur=98.223&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=133&mt=1552097910&ms=au%2Conr&clen=2277871&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fmp4&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=57F3EB884D5F49A2CD8B327BE74F208AC228E4F6.A67BF677B241A5F59D4E576A72AD9DC628EC8878&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f133 - 426x240 (240p).mp4
[download] 100% of 2.17MiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294311954073&dur=98.222&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=243&mt=1552097910&ms=au%2Conr&clen=3371336&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fwebm&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=B4E6CC7862553D75C46637D5BA7106470C8AC293.1D630B3F7C99875C6D7ABC42AEB89108168D43FA&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f243 - 640x360 (360p).webm
[download] 100% of 3.22MiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294261292683&dur=98.223&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=134&mt=1552097910&ms=au%2Conr&clen=5014606&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fmp4&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=9A3E1D302245BE8601BECCC172AC100B4CE738AB.3AAF17DD652686782C3578131800426E4D940E83&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f134 - 640x360 (360p).mp4
[download] 100% of 4.78MiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294354235684&dur=98.222&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=244&mt=1552097910&ms=au%2Conr&clen=5948608&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fwebm&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=ACED7595377B87697FC923E85948DBD386E60271.38B2C177A51FAB27513E6F066861BA927AEC370B&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f244 - 854x480 (480p).webm
[download] 100% of 5.67MiB in 00:00
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294295859207&dur=98.223&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=135&mt=1552097910&ms=au%2Conr&clen=8325052&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fmp4&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=55E2400AAB82EE26215AA78B169E84B1F382C0A6.46321B900E3F54C48D70F84665B79D00DBB2B96C&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f135 - 854x480 (480p).mp4
[download] 100% of 7.94MiB in 00:01
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294262309468&dur=98.222&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=247&mt=1552097910&ms=au%2Conr&clen=10474713&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fwebm&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=5C764635FBE13F5164F8004F8254932C16A7F33A.76A87EA51311DF546747B46706169FB5A1C28755&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f247 - 1280x720 (720p).webm
[download] 100% of 9.99MiB in 00:01
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294478886475&dur=98.223&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=136&mt=1552097910&ms=au%2Conr&clen=12426558&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fmp4&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=46FE48623BC01217307BB40EDDBF07E2B05DCEDB.E2D095D433CE33D56781B78CA354C31DC563A59F&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f136 - 1280x720 (720p).mp4
[download] 100% of 11.85MiB in 00:01
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294334985138&dur=98.222&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=248&mt=1552097910&ms=au%2Conr&clen=16627303&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fwebm&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=BA0312FA95AD5D4D7EC40812A875A0FE9024FCA1.35F8D48A3C4F1B858CC3AF9C37CA7A69764C2468&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f248 - 1920x1080 (1080p).webm
[download] 100% of 15.86MiB in 00:01
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294289838013&dur=98.223&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=137&mt=1552097910&ms=au%2Conr&clen=17783900&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fmp4&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=8D30E1FC3337FD0F13BD6DFEC66161AC4465C7F2.96E9401498E21FAD9F9102A74FAAD33F694F3F99&source=youtube&ratebypass=yes'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f137 - 1920x1080 (1080p).mp4
[download] 100% of 16.96MiB in 00:01
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294941728567&dur=0.000&initcwndbps=1646250&ipbits=0&c=WEB&fvip=5&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ratebypass=yes&ip=74.62.182.254&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5511222&pl=20&itag=43&mt=1552097910&ms=au%2Conr&clen=9183038&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fwebm&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=870C869296264568DF414094DDFAEC5B512DE39E.9EE18ED26C13E2EAD27F8677DE74921490A5427D&source=youtube'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f43 - 640x360 (medium).webm
[download] 100% of 8.76MiB in 00:01
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537293011586057&dur=98.290&initcwndbps=1646250&ipbits=0&c=WEB&fvip=5&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ratebypass=yes&ip=74.62.182.254&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5531332&pl=20&itag=18&mt=1552097910&ms=au%2Conr&clen=7402211&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fmp4&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=1D6F56A26013D9435154A67F5C8DA86E8B26B846.D9A24C97BF67C99D56E06A6D934B32BD371FB3C1&source=youtube'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f18 - 640x360 (medium).mp4
[download] 100% of 7.06MiB in 00:01
[debug] Invoking downloader on 'https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294613229280&dur=98.290&mn=sn-a5mekn7d%2Csn-q4fl6nlr&pl=20&itag=22&mt=1552097910&ms=au%2Conr&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&ip=74.62.182.254&initcwndbps=1646250&ipbits=0&c=WEB&fvip=5&mime=video%2Fmp4&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ratebypass=yes&requiressl=yes&signature=3E533EB2F0D3A9C4C6513EAE49C6E2ADE1BAA185.834E29B8933875D468843AE56738FC9632473725&source=youtube&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5531332'
[download] Destination: Capcom Beat 'Em Up Bundle - Launch Trailer-OFB3mjPRnBY.f22 - 1280x720 (hd720).mp4
[download] 100% of 13.33MiB in 00:01

--> Actual Highest / Best Quality 1080p video source: https://r2---sn-a5mekn7d.googlevideo.com/videoplayback?key=yt6&lmt=1537294334985138&dur=98.222&initcwndbps=1646250&ipbits=0&c=WEB&keepalive=yes&id=o-AKapkKkDC0SAvCmTY5JC1ZC9VbvOhbSWDD02EL287LJN&ip=74.62.182.254&sparams=aitags%2Cclen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&mv=m&txp=5533332&fvip=5&pl=20&itag=248&mt=1552097910&ms=au%2Conr&clen=16627303&ei=2yKDXKnhC8akkwbnxoWoDg&expire=1552119611&mm=31%2C26&gir=yes&mime=video%2Fwebm&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&mn=sn-a5mekn7d%2Csn-q4fl6nlr&requiressl=yes&signature=BA0312FA95AD5D4D7EC40812A875A0FE9024FCA1.35F8D48A3C4F1B858CC3AF9C37CA7A69764C2468&source=youtube&ratebypass=yes

@TA40
Copy link

@TA40 TA40 commented Mar 9, 2019

Follow the template, then they can help you...

@strayangelfilms strayangelfilms changed the title 1080p not working, only getting 720p 1080p Best Quality / Best Video not working, only getting 720p, also grabbing MP4 and not WEBM Mar 9, 2019
@strayangelfilms strayangelfilms changed the title 1080p Best Quality / Best Video not working, only getting 720p, also grabbing MP4 and not WEBM 1080p Best Video not working, only grabbing 720p MP4 and not 1080p WEBM Mar 9, 2019
@Hrxn
Copy link

@Hrxn Hrxn commented Mar 9, 2019

Looks like a pretty good issue report, to be honest..

And good for you that you found out how to properly use the format settings.

I think the initial cause is this:

[debug] exe versions: none

No ffmpeg found here.

Youtube-dl automatically selects the best quality options, as you describe, but in this case, as is now the standard on YT, 1080p (and higher) formats only exist as separate streams. Therefore you need ffmpeg.
In your case (Windows) the solution is to provide ffmpeg binaries to youtube-dl by putting them either next to the youtube-dl executable or anywhere in your PATH.

You can get ffmpeg binaries for Windows from here: https://ffmpeg.zeranoe.com/builds/

Technically, not an official source, but the best I know (and the only I know)

@strayangelfilms
Copy link
Author

@strayangelfilms strayangelfilms commented Mar 9, 2019

I will submit to the program grabbing the best quality single stream (720p) without having to stitch with ffmpeg, but when asking for "best video" as an argument it really should be grabbing the 1080p webm if available, even if it cannot automatically mux, perhaps I want the separate streams?

@Hrxn
Copy link

@Hrxn Hrxn commented Mar 9, 2019

And with regard to this MP4 vs WEBM issue you mention here as well..

A discussion had a couple of times before, so this is not new. In short, what youtube-dl picks as format options by default is this: Prioritize resolution, and for the same resolutions, pick the higher bitrate.

That is why MP4 (or AVC/H.264 to be exact) is still preferred. There are other valid reasons for this, compatibility being the most important one. Also, there was no quality difference, and based on personal tests I'd preferred the MP4 versions in the past. But you are right about one specific thing, that is YT is in the process of transitioning their formats towards the WEBM container and VP9.x codecs or even AV1. This has been going on for quite some time, too. So you are right here, for newer videos this is definitely true. But not necessarily for older videos, so that is unfortunately something that cannot be generalized that easily. At least not yet. And in the meanwhile, you can rely on setting your desired --format option in youtube-dl.conf

@Hrxn
Copy link

@Hrxn Hrxn commented Mar 9, 2019

Well, you get the separate streams if you use the appropriate format options (and maybe by adding -k or --keep-video to keep streams even after post-processing, but I've never tried that for myself to be honest).

But youtube-dl does not do something like this by default, to make it more friendlier towards the average end-user ;)

@Hrxn
Copy link

@Hrxn Hrxn commented Mar 9, 2019

PS:

Here's my format listing output for the video linked in your original post:

PS D:\> youtube-dl --verbose --list-formats 'https://www.youtube.com/watch?v=OFB3mjPRnBY'
[debug] System config: []
[debug] User config: ['--netrc', '--output', '%(title)s.%(ext)s', '--format', '(bestvideo[vcodec=vp9.2]/bestvideo[vcodec=vp9][fps>30]/bestvideo[vcodec=vp9][height>=1080]/bestvideo[fps>30]/bestvideo[height>720])+(bestaudio[acodec=opus]/bestaudio)/best', '--restrict-filenames', '--download-archive', 'D:\\Media\\ytdl-archive.log']
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--list-formats', 'https://www.youtube.com/watch?v=OFB3mjPRnBY']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2019.03.01
[debug] Python version 3.7.1 (CPython) - Windows-10-10.0.17763-SP0
[debug] exe versions: ffmpeg 4.1.1, ffprobe 4.1.1
[debug] Proxy map: {}
[youtube] Downloading login page
[youtube] Looking up account info
[youtube] Logging in
[youtube] Checking cookie
[youtube] OFB3mjPRnBY: Downloading webpage
[youtube] OFB3mjPRnBY: Downloading video info webpage
[info] Available formats for OFB3mjPRnBY:
format code  extension  resolution note
249          webm       audio only DASH audio   52k , opus @ 50k, 569.58KiB
250          webm       audio only DASH audio   68k , opus @ 70k, 738.42KiB
140          m4a        audio only DASH audio  127k , m4a_dash container, mp4a.40.2@128k, 1.49MiB
171          webm       audio only DASH audio  130k , vorbis@128k, 1.38MiB
251          webm       audio only DASH audio  136k , opus @160k, 1.41MiB
278          webm       256x144    144p  101k , webm container, vp9, 24fps, video only, 1.03MiB
160          mp4        256x144    144p  111k , avc1.4d400c, 24fps, video only, 896.94KiB
242          webm       426x240    240p  210k , vp9, 24fps, video only, 1.75MiB
133          mp4        426x240    240p  302k , avc1.4d4015, 24fps, video only, 2.17MiB
243          webm       640x360    360p  385k , vp9, 24fps, video only, 3.22MiB
134          mp4        640x360    360p  726k , avc1.4d401e, 24fps, video only, 4.78MiB
244          webm       854x480    480p  745k , vp9, 24fps, video only, 5.67MiB
135          mp4        854x480    480p 1245k , avc1.4d401e, 24fps, video only, 7.94MiB
247          webm       1280x720   720p 1438k , vp9, 24fps, video only, 9.99MiB
136          mp4        1280x720   720p 2092k , avc1.4d401f, 24fps, video only, 11.85MiB
248          webm       1920x1080  1080p 2350k , vp9, 24fps, video only, 15.86MiB
137          mp4        1920x1080  1080p 2992k , avc1.640028, 24fps, video only, 16.96MiB
43           webm       640x360    medium , vp8.0, vorbis@128k, 8.76MiB
18           mp4        640x360    medium  602k , avc1.42001E, mp4a.40.2@ 96k (44100Hz), 7.06MiB
22           mp4        1280x720   hd720 1138k , avc1.64001F, mp4a.40.2@192k (44100Hz) (best)
PS D:\>
@strayangelfilms
Copy link
Author

@strayangelfilms strayangelfilms commented Mar 9, 2019

Also, there was no quality difference, and based on personal tests I'd preferred the MP4 versions in the past. But you are right about one specific thing, that is YT is in the process of transitioning their formats towards the WEBM container and VP9.x codecs or even AV1. This has been going on for quite some time, too. So you are right here, for newer videos this is definitely true. But not necessarily for older videos, so that is unfortunately something that cannot be generalized that easily. At least not yet. And in the meanwhile, you can rely on setting your desired --format option in youtube-dl.conf

Agreed, in the past all I used was MP4, but now things have changed and are changing more to webm.

@remitamine remitamine closed this Mar 9, 2019
@remitamine remitamine added the duplicate label Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.