TGL: Encode 4K yuv stream, output of playback is pixelated using gstreamer
ENV:
Gstreamer: commit 20301a882008dc849abec33d5d29d86441d86cae
gst-plugins-base: commit a171eb80d6d809e3be3cd0531e499dde3c3a3f33
gst-plugins-good: commit 8445685a21b7c912595827646ef2900ebc84a100
gst-plugins-bad: commit 6c1e5ab3\
I am running below gstreamer command on TigerLake platform. #gst-launch-1.0 filesrc location=test_3840x2160_NV12.yuv ! videoparse width=3840 format=nv12 framerate=30 height=2160 ! msdkh264enc ! h264parse ! qtmux ! filesink location=/tmp/out.mp4
Decode Using:
#gst-launch-1.0 filesrc location =/tmp/out.mp4 ! qtdemux ! h264parse ! msdkh264dec ! msdkvpp ! glimagesink
Note:
For 3840x2160 using sample_encode and sample_decode, output of encoded file is smooth and non-pixelated
For 1920x1080 using msdkh264enc and msdkh264dec, output of encoded file is smooth and non-pixelated.