tamius-han / ultrawidify

Firefox extension that allows you to work around some people's inability to properly encode 21:9 videos.
169 stars 9 forks source link

Support cropping tall videos? #167

Open saschanaz opened 2 years ago

saschanaz commented 2 years ago

https://www.youtube.com/watch?v=purlnb5K_jM

This video roughly has 4:3 ratio but is never cropped as such, and manually selecting "Fit width" doesn't work. I guess it's currently expected as it's not "ultrawide". Are you interested in supporting such video?

(Tested on Surface Pro 7 which has 3:2 ratio display.)

tamius-han commented 2 years ago

Hi, sorry for the long delay:

and manually selecting "Fit width" doesn't work.

Yeah, that's to be expected, as "fit to width" fits the video (any encoded black bars included) to the width of the screen. The option you're looking for is "fit to height".

The extension also supports cropping to custom aspect ratio, but cropping to custom-defined aspect ratio (as opposed to "fit to height") seems to be broken when screen is narrower than video file.

saschanaz commented 2 years ago

Oh sorry, yeah. But fit to height doesn't work either. Also sorry for omitting a screenshot.

image

saschanaz commented 2 years ago

And I can confirm the custom aspect ratio works, thanks!

Edit: Hmm wait, I set the aspect ratio as 4:3 (1.333333) but it somehow crops to 3:2 🤔

image