NV12 output is incorrect when width%4 != 0
An enhanced version of the original VirtualDub
Brought to you by:
shekhjkl
For example, when width = 382 and height = 256,
Those two values don't match.
In this case, the right edge of each plane data is padded by zero.
i.e. an all gray clip consists of repetion of "382 times of 0x80 followed by twice of 0x00".
Note: I'm sorry that I'm not sure which size is correct.
--
umezawatakeshi
Anonymous
See:
Unfortunatelly, there is no real NV12 input or output in Virtualdub2 :(((((
VD2 can display the live NV12 video after VD2 transforms it into I420 format.
Last edit: Chris Wanger 2020-09-12
I didn't talk about displaying.
--
umezawatakeshi
I found a mistake in the first report:
--
umezawatakeshi
Additional information:
on playback of the output NV12 AVI file,
- Windows Media Player on Windows 10 shows slanted video.
- MPC-BE 1.5.5 shows correct (rectanglar) video.
--
umezawatakeshi