gstreamer-vaapi on AMD

Sebastian Dröge sebastian at centricular.com
Fri May 23 01:42:36 PDT 2014


On Do, 2014-05-22 at 10:40 -0500, David W. Harks wrote:
> 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.

Thanks, could you file a bug about that at http://bugzilla.gnome.org
against gstreamer-vaapi?

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140523/e229f2b3/attachment.sig>


More information about the gstreamer-devel mailing list