View Single Post
Old 4th July 2020, 20:24   #1009  |  Link
videofan3d
Registered User
 
Join Date: Sep 2013
Location: Czech Republic
Posts: 321
I'm trying to explain the layout principles.

YUV420P10 in ffmpeg terminology is apparently yv12 layout in words (=2 bytes)
while P010 in FRIM/Intel Media SDK terminology is nv12 layout in words (=2 bytes)
They have identical luma but different chroma.

The phenomena which you are facing is typical when you try to interpret "nv12" as "yv12":
- correct luma (B&W part)
- kind of moire in color domain

Bit-depth(10 bits) is interpreted correctly, otherwise you would get completely burned luma as well.

To solve it you have three options:
1. find pixelmode in ffmpeg which corresponds to nv12 in words (if such exists)
2. find some interim pipeline software which will convert nv12->yv12 and put it in-between FRIMDecode and ffmpeg
3. wait till I implement "yv12 in words" into FRIM (maybe sometime I will)
videofan3d is offline   Reply With Quote