I am using Jetson MMAPI encoder sample, it works fine with YUV420 types of images. The problem is that the original images are RGB and when I convert them to yuv420, since the u,v channels are half-size we lose some part of the color information which doesn’t allow us to retrieve all the original image information after decoding.
I tired this settings to work with yuv444 but I get a greenish frame in the video file. The image structure looks fine (so I guess the y channel is fine) but it is like a green-scale image:
I am using a similar approach as 01 sample with similar settings, and the video is made, however the image looks greenish. My original frames are RGB so I use this conversion, to make them yuv444:
I tried other colorspaces (V4L2_COLORSPACE_BT2020, V4L2_COLORSPACE_RAW, V4L2_COLORSPACE_SMPTE170M, V4L2_COLORSPACE_REC709) but still the same result comes up.
@DaneLLL
Thank you for the suggestion.
Using the gstreamer command I made a video with an arbitrary size. When I extract the the frames of origin.yuv using ffmpeg, the frames look like this:
Hi,
Please run 01_video_encode sample to compress the YUV and check if the issue is present. If there is no issue when running 01_video_encode, it looks to be an issue in the application.