gstreamer-vaapi on AMD

David W. Harks dave at dwink.net
Wed May 21 13:38:59 PDT 2014


I was trying to play an H.264 video today using gstreamer-vaapi master from git. It fails for me, and I’m not sure where else to look to understand why. How can I debug this further? I’ve included the debug output from vaapidecode and vainfo output from my system. (I’m on an AMD-based system; using the fglrx driver, with XvBA.)

Thanks in advance for any pointers!

-d

Using Gst: 1.3.2.1

GST_DEBUG=vaapidecode:5 gst-launch-1.0 playbin uri=file:///scratch/excite/content/Trickshots_02_h264_rf20.mp4
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
libva: VA-API version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
Got context from element 'vaapisink0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
0:00:00.273668373  9796 0xb5a02060 INFO             vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps
Got context from element 'vaapidecode0': gst.vaapi.Display=context, display=(GstVaapiDisplay)NULL;
0:00:00.298442510  9796 0xb5a02060 INFO             vaapidecode gstvaapipluginbase.c:65:plugin_set_context:<vaapidecode0> set display 0xb5001ea8
0:00:00.299263549  9796 0xb5a02060 INFO             vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type accept-caps
0:00:00.299374313  9796 0xb5a02060 INFO             vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.299510379  9796 0xb5a02060 INFO             vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.300145648  9796 0xb5a02060 INFO             vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type accept-caps
0:00:00.300254623  9796 0xb5a02060 INFO             vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.300477626  9796 0xb50084c0 INFO             vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type accept-caps
0:00:00.300620517  9796 0xb50084c0 INFO             vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.303231441  9796 0xb50084c0 INFO             vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.303928600  9796 0xb50084c0 INFO             vaapidecode gstvaapidecode.c:966:gst_vaapidecode_query:<vaapidecode0> query type caps
0:00:00.376401191  9796 0xb50084c0 INFO             vaapidecode gstvaapidecode.c:546:gst_vaapidecode_decide_allocation: no pool or doesn't support GstVaapiVideoMeta, making new pool
0:00:00.377036397  9796 0xb50084c0 DEBUG            vaapidecode gstvaapipluginbase.c:304:ensure_sinkpad_buffer_pool: assume video buffer pool format is NV12
0:00:00.421503228  9796  0x9f67150 INFO             vaapidecode gstvaapidecode.c:546:gst_vaapidecode_decide_allocation: no pool or doesn't support GstVaapiVideoMeta, making new pool
0:00:00.444140523  9796  0x9f67150 ERROR            vaapidecode gstvaapidecode.c:370:gst_vaapidecode_push_decoded_frame: video sink rejected the video buffer (error -4)
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0: GStreamer encountered a general stream error.
Additional debug info:
qtdemux.c(4473): gst_qtdemux_loop (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


vainfo reports:

libva: VA-API version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD



-- 
David W. Harks <dave at dwink.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140521/ea05c721/attachment.html>


More information about the gstreamer-devel mailing list