After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789228 - vaapipostproc doesn't support csc.
vaapipostproc doesn't support csc.
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer-vaapi
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-10-20 06:08 UTC by Fei
Modified: 2017-10-26 20:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fei 2017-10-20 06:08:39 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
Comment 1 sreerenj 2017-10-26 20:58:17 UTC
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.