Bug 54799 - [IVB] AVC ES streaming videos are played by gstreamer with error info
Summary: [IVB] AVC ES streaming videos are played by gstreamer with error info
Status: RESOLVED FIXED
Alias: None
Product: libva
Classification: Unclassified
Component: intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wind Yuan
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-12 03:13 UTC by cc
Modified: 2012-09-13 03:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
remove framerate in gst-vaapi template caps (929 bytes, application/octet-stream)
2012-09-13 03:09 UTC, Wind Yuan
Details

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.