vaapipostproc fail to convert when playing MJPEG 4K 8bit 444 video
gst command pipeline this pipeline no issue. gst-launch-1.0 filesrc location=Elecard1_3840x2160_8mbps_30fps_444_1.avi ! avidemux ! vaapijpegdec ! glimagesink
gst command pipeline with vaapipostproc will be fail to run: gst-launch-1.0 filesrc location=/mnt/media/Elecard1_3840x2160_8mbps_30fps_444_1.avi ! avidemux ! vaapijpegdec ! vaapipostproc ! glimagesink
The MJPEG 2k video here go thru vaapipostproc: Input : colorimetry bt709 -> output: colorimetry sRGB. video clip: Firework_2560x1600_160mbps_60fps_444.avi
For MJPEG 4k (444) video decode go thru vaapipostproc: Input: colorimetry bt2020 -> output: colorimetry sRGB. Video clip: Elecard1_3840x2160_8mbps_30fps_444_1.avi
I re-check back for previous for H265 4k (444) no issue video clip go thru vaapipostproc: Input colorimetry bt2020 -> output: colorimetry sRGB. video clip: Bunny_3840x2160_15mbps_60fps_Main_at_L5.1_444.mkv
vaBeginPicture, vaRenderPicture is done with return VA_STATUS_SUCCESS. Only it fail on vaEndPicture with return VA_STATUS_ERROR_OPERATION_FAILED at here. But, after I revert this changed in gstreamer-vaapi a354c14e , vaapipostproc will be success. I know this issue may related to media-driver side. But, I will submit at here first.
Platform: TGL-U media driver: intel-media-20.4.5 libva : 2.10.0 OS: Ubuntu 18.04 and Yocto gstreamer-vaapi : master branch (a0a8b878)