question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Least size in the same video height.

See original GitHub issue

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.12.03. If it’s not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I’ve verified and I assure that I’m running youtube-dl 2018.12.03

Before submitting an issue make sure you have:

  • 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

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple —) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2018.12.03
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible. If work on your issue requires account credentials please provide them or explain how one can obtain them.

This is a simple feature request, especially for those formats where video dimensions and video size is provided in -F output. What I want is to get the file with small size when there are two or more with same video height. [height=720] && [size=min]

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Anvesh2013commented, Dec 27, 2018

come on, somebody reply with a solution. or at least open the closed issue

1reaction
vbccbzcommented, Dec 23, 2018

But it does’t work. youtube-dl -f "worstvideo[height=720]+worstaudio" https://www.youtube.com/watch?v=4vqRWYugy2s Will download 327MiB…

247          webm       1280x720   720p 1486k , vp9, 25fps, video only, 327.66MiB
136          mp4        1280x720   720p 1498k , avc1.4d401f, 25fps, video only, 213.88MiB
Read more comments on GitHub >

github_iconTop Results From Across the Web

The Complete Guide to Video Aspect Ratios in 2022 - InVideo
If a video of the same dimensions was to be recorded vertically, the aspect ratio would then be 9:16 (9 referring to the...
Read more >
Optimal Video Dimensions - Video Cloud Studio Documentation
Recommended width and height for videos with 4:3 aspect ratios ; 272 x 204 ; 240 x 180 ; 208 x 156 ;...
Read more >
Aspect Ratio: Everything You Need to Know for 2022
The standard YouTube aspect ratio is 16:19, and the maximum video size is 256GB, or 12 hours, whichever is less with a verified...
Read more >
Make HTML5 video poster be same size as video itself
Okay so basically we want to get rid of the videos first frame from the display and then resize the poster to the...
Read more >
Always Up-to-Date Guide to Social Media Video Specs
Here's a look at the video specs for both. Video Guidelines. Recommended video dimensions 1280 x 720 for Landscape and Portrait. Minimum width ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found