View Single Post
Old 4th July 2020, 08:47   #1007  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
Pixel layout yv12 is planar 4:2:0:

YYYYYYYY
YYYYYYYY
YYYYYYYY
YYYYYYYY
UUUU
UUUU
VVVV
VVVV


Pixel layout nv12/p010 are semi-planar 4:2:0:

YYYYYYYY
YYYYYYYY
YYYYYYYY
YYYYYYYY
UVUVUVUV
UVUVUVUV


Overal frame size is identical, luma is identical, chroma differs.

FRIMDecode provides P010
but ffmpeg expects YV12 (in 16 bits)
Since luma is identical, you get correct B&W part.
But incorrectly interpreted color information.
videofan3d is offline   Reply With Quote