System Environment: ---------------------------------------- Platform: HSW/IVB/SNB Libva: (master)ffb82f3a85e424b869c2c1ce48251b3305e2cd61 Intel-driver: (master)01f7c2c6c5ae6321f3b3cfebc89f73dcb50b30af Gst-vaapi: (0.4) a732dfa8864746e131bc996e68525d8ab34f8d26 Bug Info: ---------------------------------- Vaapidownload can not dump RGB format. Reproduce steps: --------------------------------- xinit& gst-launch-0.10 filesrc location=H264_640x368_frame300.MP4 ! qtdemux ! vaapidecode ! vaapipostproc ! video/x-surface,type=vaapi,format=\(fourcc\)RGB ! vaapidownload ! video/x-raw-yuv,format='(fourcc)'RGB ! filesink location=HW.yuv libva info: VA-API version 0.34.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /opt/X11R7/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_34 libva info: va_openDriver() returns 0 0:00:00.087207247 17960 0x18722f0 ERROR GST_PIPELINE ./grammar.y:614:gst_parse_perform_link: could not link vaapidownload0 to filesink0 WARNING: erroneous pipeline: could not link vaapidownload0 to filesink0
what's the result of 'RGBX'? RGB is not fourcc
cmd: gst-launch-0.10 filesrc location=/home/gst_AVC_conformance/Mux_Stream/H264_640x368_frame300.MP4 ! qtdemux ! vaapidecode ! vaapipostproc ! video/x-surface,type=vaapi,format=\(fourcc\)RGBX ! vaapisink It can work, but when using "vaapidownload ! video/x-raw-yuv,format='(fourcc)'RGBX ! filesink location=HW.yuv", it failed with error: ERROR GST_PIPELINE ./grammar.y:614:gst_parse_perform_link: could not link vaapidownload0 to filesink0 (In reply to comment #1) > what's the result of 'RGBX'? RGB is not fourcc
Created attachment 81328 [details] [review] download-support-RGBx-in-vaapidownload vaapidownload support RGBx we can build pipeline like this: gst-launch-0.10 filesrc location=/xxx.MP4 ! qtdemux ! vaapidecode ! vaapidownload ! video/x-raw-rgb ! filesink location=HW.yuv
ok,the bug is fixed in commit 3e7aa4a9/branch 0.4
step: gst-launch-0.10 filesrc location=/xxx.MP4 ! qtdemux ! vaapidecode ! vaapidownload ! video/x-raw-rgb ! filesink location=HW.yuv mplayer HW.yuv -demuxer rawvideo -rawvideo w=640:h=368:format=rgba -fps 5 Test OK. Issue can't be reproduced. Close it.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.