Selur's Little Message Board
Suggestion: scaling with constant frame size and letterboxing - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Suggestion: scaling with constant frame size and letterboxing (/thread-4105.html)



Suggestion: scaling with constant frame size and letterboxing - jokris - 11.05.2025

I don't think this is possible yet.

Say I want to have a video 720x576 in 960x720 format with letterboxing making it 1280x720.

I don't want to crop top and bottom however but only left and right side, then scale up x2 and eventually scale down until the video fills the 960px width. This would also mean that an equal amount of bottom and top pixels would be cut away automatically.

Would this be possible to implement?


RE: Suggestion: scaling with constant frame size and letterboxing - Selur - 11.05.2025

1. crop your source (remove all black bars)
2. make sure input and output PARs are set properly if your source is not flagged properly
3. set Resize 'Auto Adjust' to width, set height to 720 (in case the calculated width > 1280, crop more)
4. set Letterbox to 1280x720
should do what you want.


RE: Suggestion: scaling with constant frame size and letterboxing - jokris - 11.05.2025

But if I want to adjust the width: after cropping all sides, to 960 and let the height be auto, then I would like the overflow height pixels above 720 to be cropped away automatically.

But this is not possible?


RE: Suggestion: scaling with constant frame size and letterboxing - Selur - 11.05.2025

No, Hybrid does not automatically crop 'live' content.
But if you know that your width will always be above 1280, just keep 'Auto Adjust' set to height, set width to 1280 (+Letterbox 1280x720).
This way you would keep all the 'live' pixels and the content is resized to fit.

Cu Selur