Bug 54799

Summary: [IVB] AVC ES streaming videos are played by gstreamer with error info
Product: libva Reporter: cc <chao.a.chen>
Component: intelAssignee: Wind Yuan <feng.yuan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: remove framerate in gst-vaapi template caps

Description cc 2012-09-12 03:13:37 UTC
Environment:
--------------
libva:
commit 0a29a454b0569073f64d0af5bf7a4324e7295c86
Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Date:   Sat Apr 7 07:15:07 2012 +0200

intel-driver:
commit f842b5021acbf093572a1bd0f86d32ff3e08621e
Author: Zhao Halley <halley.zhao@intel.com>
Date:   Thu Aug 2 12:28:48 2012 +0300

gstreamer-vaapi :
commit de2a18012dca67d9e581219e94616a63866db821
Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Date:   Tue Sep 4 11:53:18 2012 +0200

Bug Info:
--------------
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
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.710780029  3738      0x17e6770 ERROR               GST_CAPS gstpad.c:2275:gst_pad_get_caps_unlocked:<vaapidecode0:src> pad returned caps video/x-surface, width=(int)176, height=(int)144, type=(string)vaapi, opengl=(boolean)true which are not a real subset of its template caps video/x-surface, type=(string)vaapi, opengl=(boolean){ true, false }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

(gst-launch-0.10:3738): GStreamer-WARNING **: pad vaapidecode0:src returned caps which are not a real subset of its template caps
0:00:00.711223935  3738      0x17e6770 ERROR               GST_CAPS gstpad.c:2275:gst_pad_get_caps_unlocked:<vaapidecode0:src> pad returned caps video/x-surface, width=(int)176, height=(int)144, type=(string)vaapi, opengl=(boolean)true which are not a real subset of its template caps video/x-surface, type=(string)vaapi, opengl=(boolean){ true, false }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

(gst-launch-0.10:3738): GStreamer-WARNING **: pad vaapidecode0:src returned caps which are not a real subset of its template caps
0:00:00.711580828  3738      0x17e6770 ERROR               GST_CAPS gstpad.c:2275:gst_pad_get_caps_unlocked:<vaapidecode0:src> pad returned caps video/x-surface, width=(int)176, height=(int)144, type=(string)vaapi, opengl=(boolean)true which are not a real subset of its template caps video/x-surface, type=(string)vaapi, opengl=(boolean){ true, false }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

(gst-launch-0.10:3738): GStreamer-WARNING **: pad vaapidecode0:src returned caps which are not a real subset of its template caps
0:00:00.738221966  3738 0x7fedec030b20 ERROR               GST_CAPS gstpad.c:2275:gst_pad_get_caps_unlocked:<vaapidecode0:src> pad returned caps video/x-surface, width=(int)176, height=(int)144, type=(string)vaapi, opengl=(boolean)true which are not a real subset of its template caps video/x-surface, type=(string)vaapi, opengl=(boolean){ true, false }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]

(gst-launch-0.10:3738): GStreamer-WARNING **: pad vaapidecode0:src returned caps which are not a real subset of its template caps

Reproduce steps:
----------------
1. xinit &
2. gst-launch-0.10 playbin2 uri=file:///home/AVC_conformance/Base_Ext_Main_profile/AUD_MW_E.264
Comment 1 Wind Yuan 2012-09-13 03:09:43 UTC
Created attachment 67070 [details]
remove framerate in gst-vaapi template caps

Please try this patch. And if timestamp is not correct. You can try:
$gst-launch-0.10 playbin2 videosink="vaapisink sync=false" uri="file:///xxx"

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.