GNOME Bugzilla – Bug 722314
[gst-master]VC1 files decoding failed with latest gst-vaapi commit
Last modified: 2014-03-14 01:28:43 UTC
Environment: -------------- Libva: (master)73a11b3e249da35ede92560eb089239252721351 Libva_intel_driver: (master)54cb60f3d973ce6a908ea57f5aa7481803fe653a Gstreamer10: (1.0)4e880d4d1e151ea64f83c28b5c3e1bbc06c57903 Gst_plugins_base10: (1.0)2dd3f028c1e6dea799d7496639f53220818b20b1 Gst_plugins_good10: (1.0)643d425f51f81b56deec16c01162637546708ee5 Gst_plugins_bad10: (1.0)0587ab41b4f9979e9cfc11011ed5c970569ee3d3 Gst_plugins_ugly10: (1.0)c7c911b8320576429e4a4234a1e29ec7436e6814 Gst_plugins_vaapi10: (master)a674d9eff2665327fa534c2edbcb2cb8ed71d815 Command line: -------------- gst-launch-1.0 filesrc location=/root/media_tools/decoder/bitstreams_vc1/SA00046.vc1 '!' video/x-wmv '!' vaapidecode '!' vaapisink sync=false Log info: -------------- 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 Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ** (gst-launch-1.0:2515): CRITICAL **: gst_video_decoder_negotiate_default: assertion 'GST_VIDEO_INFO_WIDTH (&state->info) != 0' failed ERROR: from element /GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0: GStreamer error: negotiation problem. ** (gst-launch-1.0:2515): CRITICAL **: gst_vaapi_decoder_flush: assertion 'decoder != NULL' failed Additional debug info: gstvideodecoder.c(1983): gst_video_decoder_chain (): /GstPipeline:pipeline0/GstVaapiDecode:vaapidecode0: encoder not initialized ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Back trace: -------------- (gdb) bt
+ Trace 233040
Thanks, normally a video parser element is always needed. However, vc1parse did not exist in GStreamer 1.0. So, I probably missed adequate #if GST_CHECK_VERSION(1,1,0) around some calls to gst_video_decoder_negotiate(). However, this doesn't change the fact that the video parser was also needed in 1.0 days. So, my additional recommendation is either use a container around the tested VC-1 raw streams, or make it more explicit by specifying the resolution, framerate.
Moved to 0.5.9 as this is not a regression per-se vs. 0.5.7 unless you can find out the relevant commit id. Thanks.
It can be decoded with gst-vaapi after adding some parameters(width and height of the clips). So close it, another bug will be filed for some failed clips in decoding. Thanks.