Summary: | [Gst-vappi-0.4]Vaapipostproc failed to convert format NV12 to RGB | ||
---|---|---|---|
Product: | libva | Reporter: | Yang Lianyue <lianyuex.yang> |
Component: | intel | Assignee: | Zhong Cong <congx.zhong> |
Status: | VERIFIED FIXED | QA Contact: | Sean V Kelley <seanvk> |
Severity: | normal | ||
Priority: | medium | CC: | lianyuex.yang, ouping.zhang, tienan.liu |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | postproc-fix-bug-vaapipostproc-format-support |
Description
Yang Lianyue
2013-04-26 09:02:02 UTC
System Environment: -------------------------- Platform:HSW Libva: (staging) 85e0080188ead61f8581fb82532004bfcee54b25 inter-driver: (staging) 3159d525c24212419b136fcf772c20387631b7c8 gst-plugins-vaapi:(0.4) 73cc7dd0bdfda405cfeeb16a2d7b4cbf945b6d86 gst-launch-0.10 filesrc location=/home/MP4_h264_nHD_30FPS_580Kbps_AAC_44.1KHz_64Kbps_10sec0.7Mb_BBB-300.MP4 ! qtdemux ! vaapidecode ! vaapipostproc ! video/x-surface,format=\(fourcc\)RGB ! vaapisink ERROR GST_PIPELINE ./grammar.y:614:gst_parse_perform_link: could not link vaapipostproc0 to vaapisink0 WARNING: erroneous pipeline: could not link vaapipostproc0 to vaapisink0 GObject +----GstObject +----GstElement +----GstVaapiPostproc Implemented Interfaces: GstImplementsInterface GstVideoContext Pad Templates: SRC template: 'src' Availability: Always Capabilities: video/x-surface type: vaapi opengl: { true, false } width: [ 1, 2147483647 ] height: [ 1, 2147483647 ] interlaced: { true, false } format: { NV12, UYVY, YUY2, YV12 } SINK template: 'sink' Availability: Always Capabilities: video/x-surface type: vaapi opengl: { true, false } width: [ 1, 2147483647 ] height: [ 1, 2147483647 ] interlaced: { true, false } so vaapipostproc didn't support RGB It seems that this issue should be related with the gstreamer-vaapi. The driver can support the VPP function of conversion between NV12 and RGBX. For example: putsurface --fmt1 NV12 --fmt2 RGBX. Thanks. Created attachment 80979 [details] [review] postproc-fix-bug-vaapipostproc-format-support modified src cap template format to 'Any', so we can set fourcc to driver manually. /home/cc/gst-plugins-vaapi# gst-launch-0.10 filesrc location=/home/720p.mp4 ! qtdemux ! vaapidecode ! vaapipostproc ! video/x-surface,type=vaapi,format=\(fourcc\)RGBX ! vaapisink this cmd works. |
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.