News:

--

Main Menu

Resize Filters

Started by Jan Gruuthuse, May 04, 2020, 05:55:32 AM

Previous topic - Next topic

Jan Gruuthuse

Filters: Transform:
keyboard & arrow up input field is currently restricted for
- swsResize
Width: to max 4096
Height: to max 2160
- VA-API Resize
Width: to max 3840
Height: to max 2160
- vdpau: Resize
Width: to max 2048
Height: to max 2048

was it not possible to use bigger resizes before?
practical usage:
- Crop video removing unwanted parts in frame
- resize back to HD, 4K or above.

nice would be to have:
the Aspect Ratio options like in swsResize for VA-API Resize or vdpau: Resize
moved upwards like to
8K: 8192 × 8192 or
Red Epic 617: 28000 × 9334

Best regards to all

eumagga0x2a

Welcome back!

I've bumped MAXIMUM_SIZE define to 4096 to support highest possible 4K resolutions and aligned VDPAU filters with VA-API ones regarding size limits in the GUI (VA-API filters were already using the MAXIMUM_SIZE define).

Ideally, the limits in HW accel based filters should be probed as they depend on hardware capabilities. My graphics card happens to support video surfaces up to 4096x4096, but other users may face failures without clear indication what is wrong.

"Keep aspect ratio" like in swsResize is not doable with Avidmux GUI toolkit alone, if I am not mistaken. It would be necessary to write / repurpose a GUI using Qt directly.

I would deem 8K out of reach without proper probing and management of capabilities (and I still use a FullHD display).

Jan Gruuthuse

I'm not really back, no internet yet. (black hole for mobile nor xDSL)

Seems to do what it's supposed to do with VDPAU.

Thanks,
Jan