Log in

View Full Version : Flipping a video with DV


eng3
31st January 2025, 13:48
Format profile : Main 10@L5@High
HDR format : Dolby Vision, Version 1.0, Profile 8.4, dvhe.08.07, BL+RPU, no metadata compression, HLG compatible
Codec ID : hvc1

I would like to do a horizonal flip but keep the DV data.

I tried HB but if I enable the flip, it stops the DV data.

Can someone recommend another way to accomplish this?

benwaggoner
3rd February 2025, 18:53
Format profile : Main 10@L5@High
HDR format : Dolby Vision, Version 1.0, Profile 8.4, dvhe.08.07, BL+RPU, no metadata compression, HLG compatible
Codec ID : hvc1

I would like to do a horizonal flip but keep the DV data.

I tried HB but if I enable the flip, it stops the DV data.

Can someone recommend another way to accomplish this?
I don't know that there will be a reliable way to do this without reencoding. There are some theoretical techniques to really optimize speed and quality if reencoding as a mirror image. Partition sizes can be mirrored, and in a lot of cases for intra blocks you should be able to just flip the quantization metrix on the diagonal axis. Since WPP would be running the opposite direction lots of inter blocks would have lost their original reference, and that's where things will get challenging, and quality/speed/bitrate tradeoffs will need to be made.

I'm not aware of anyone having even prototyped this sort of tool, and it would be a significant endeavor to make and test. There would be all sorts of little edge cases to account for.