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.

How to request a certain ratio, example: 16:9 only?

See original GitHub issue

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

  • I’m asking a question and not reporting a bug or requesting a feature
  • I’ve looked through the README
  • I’ve verified that I’m running yt-dlp version 2022.09.01 (update instructions) or later (specify commit)
  • I’ve searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
  • I’ve read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood

Hey,

Im just wondering whether we can specify a certain ratio when request a video, like 16:9 We can do yt-dlp --format "best[height >=? 1080]" "https://www.newgrounds.com/portal/video/853785" and request a height, but what about keeping the right ratio ?

thanks

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
romain130492commented, Sep 2, 2022

Doesn’t all formats of a video have same aspect ratio?

I doubt that

0reactions
darrylrevcommented, Oct 30, 2022

In match-filter, or in -f? If in -f, read my above comments. If in match-filter, pls open a new issue

I have made a new issue as requested here: https://github.com/yt-dlp/yt-dlp/issues/5402

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to find two numbers with the ratio 9:4, and whose sum is ...
So plug in 9y/4 in for x in the second equation, to get 9y/4 + y = 169. This simplifies to 13y/4=169. Multiply...
Read more >
16:9 Ratios and Video Walls - Insane Impact
Calculating 16:9 Aspect Ratios · FORMULA. W/H = 1.778. If the width divided by the height equals 1.778, then the aspect ratio is...
Read more >
Beamer presentation with 16:9 aspect ratio and same height ...
I would like both aspect ratios to have the same height to be able to easily have a 16:9 presentation when needed without...
Read more >
Downside Deviation: Definition, Uses, Calculation Example
The next step is to sum the squares, which gives us 169 in this case. After that, we divide it by the number...
Read more >
Dividing amounts into a ratio - YouTube
Dividing amounts into a ratio is not only easy, it can be done quickly with only a few steps. You will be a...
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