gstreamer-vaapi on AMD

David W. Harks dave at dwink.net
Thu May 22 08:40:55 PDT 2014


With rapier wit and elegant prose, Sebastian Dröge wrote:
> On Mi, 2014-05-21 at 15:38 -0500, David W. Harks wrote:
> > 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
> > [...]
> 
> Does it work with a manual pipeline that uses vaapisink?
> 
> > gst-launch-1.0 filesrc location=/scratch/excite/content/Trickshots_02_h264_rf20.mp4 ! qtdemux ! queue ! vaapidecode ! queue ! vaapisink

Yes, this works, but at the end of the stream, gst-launch gives me:

xvba_video: XVBA_DestroySurface(): status 2

and then does not exit cleanly.

> 
> Does it work if you disable the colorbalance and deinterlace flags on
> playbin?
> 
> > gst-launch-1.0 playbin flags=text+audio+video uri=file:///scratch/excite/content/Trickshots_02_h264_rf20.mp4

This also works, with the same caveat as above.

> 
> Or if you force vaapisink as the video-sink?
> 
> > gst-launch-1.0 playbin video-sink="vaapisink" uri=file:///scratch/excite/content/Trickshots_02_h264_rf20.mp4

No, this has the same "video sink rejected buffer" error.

-d
-- 
David W. Harks <dave at dwink.net> 


More information about the gstreamer-devel mailing list