[Bug 764874] [VC1][decode]Filter caps do not completely specify the output format

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 14 15:59:31 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=764874

--- Comment #5 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
(In reply to Fei from comment #0)
> gst-launch-1.0 filesrc
> location=/root/media_tools/decoder/bitstreams_vc1/SA00040.vc1 '!'
> 'video/x-wmv,profile=(string)advanced,' width=176, height=144 '!'
> vaapidecode '!' vaapisink sync=false 
> libva info: VA-API version 0.39.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_39 
> libva info: va_openDriver() returns 0
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Got context from element 'pipeline0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)NULL;
> ERROR: from element /GstPipeline:pipeline0/GstCapsFilter:capsfilter0: Filter caps do not completely specify the output format
> Additional debug info: gstcapsfilter.c(455): gst_capsfilter_prepare_buf (): /GstPipeline:pipeline0/GstCapsFilter:capsfilter0:
> Output caps are unfixed: video/x-wmv, width=(int)176, height=(int)144, framerate=(fraction)[ 0/1, 2147483647/1 ], wmvversion=(int)3, format=(string)WVC1, profile=(string)advanced
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...

Damn vc1parser.

Before you could run this pipeline because vaapidecode was laxer, accepting
incomplete sink caps, but I suspect since commit 548528c8 this is not the
possible anymore.

Nonetheless the error is quite clear: the pipeline needs to specify the
framerate since it has a non-fixed value: 

framerate=(fraction)[ 0/1, 2147483647/1 ]

If you run this pipeline it should work:

gst-launch-1.0 filesrc
location=/root/media_tools/decoder/bitstreams_vc1/SA00040.vc1 ! \
  video/x-wmv, profile=advanced, width=176, height=144,framerate=14/1 !  \
  vaapidecode ! vaapisink sync=false

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list