GNOME Bugzilla – Bug 789228
vaapipostproc doesn't support csc.
Last modified: 2017-10-26 20:58:17 UTC
some csc failed or saved data is not correct: gst-launch-1.0 videotestsrc num-buffers=5 ! video/x-raw,width=1920,height=1080,format=RGB16 ! vaapipostproc format=nv12 ! filesink location=test.yuv gst-launch-1.0 videotestsrc num-buffers=5 ! video/x-raw,width=1920,height=1080,format=ARGB ! vaapipostproc format=nv12 ! filesink location=a.yuv gst-launch-1.0 videotestsrc num-buffers=5 ! video/x-raw,width=1920,height=1080,format=YV12 ! vaapipostproc format=argb ! filesink location=a.yuv gst-launch-1.0 videotestsrc num-buffers=5 ! video/x-raw,width=1920,height=1080,format=YUY2 ! vaapipostproc format=argb ! filesink location=a.yuv gst-launch-1.0 videotestsrc num-buffers=5 ! video/x-raw,width=1920,height=1080,format=RGB16 ! vaapipostproc format=yuy2 ! filesink location=a.yuv gst-launch-1.0 videotestsrc num-buffers=5 ! video/x-raw,width=1920,height=1080,format=NV12 ! vaapipostproc format=argb ! filesink location=a.yuv gst-launch-1.0 videotestsrc num-buffers=5 ! video/x-raw,width=1920,height=1080,format=RGB16 ! vaapipostproc format=nv12 ! filesink location=a.yuv gst-launch-1.0 videotestsrc num-buffers=5 ! video/x-raw,width=1920,height=1080,format=RGB ! vaapipostproc format=nv12 ! filesink location=a.yuv gst-launch-1.0 videotestsrc num-buffers=5 ! video/x-raw,width=1920,height=1080,format=RGB16 ! vaapipostproc format=argb ! filesink location=a.yuv
Either the input or output format of vaapipostproc seems to be not supported by the driver in all of your test cases. These are the image formats we support in a Kabylake for eg: YV12 I420 NV12 YUY2 UYVY 422H RGBX BGRX P010 I am invalidating this bug for now. Please feel free to reopen if you have platforms which can support those formats(RGB16 and ARGB) but gstreamer-vaapi is failing to do vpp on it.