lpms icon indicating copy to clipboard operation
lpms copied to clipboard

Add rotation step after decoder and before outputs video filtergrapth

Open AlexKordic opened this issue 3 years ago • 3 comments

AlexKordic avatar Jan 16 '23 15:01 AlexKordic

Interesting! Would we need to use transpose ffmpeg filter? Need to measure performance impact, and there seem to be no CUDA version, as is the case with scale.

cyberj0g avatar Jan 16 '23 15:01 cyberj0g

for software surface we should use transpose and for nvidia transpose_npp. I am modifying install_ffmpeg.sh to include support for this.

Still need to nail down for 180 degree rotation do we need to apply transpose_npp twice or we get mirrored image..

AlexKordic avatar Jan 16 '23 16:01 AlexKordic

Got it. From the docs, mirroring is controlled by _flip suffix of dir parameter.

cyberj0g avatar Jan 16 '23 16:01 cyberj0g