vaapidecode with mpeg ts

David Kosir kosirdavid at gmail.com
Thu Mar 29 08:26:39 PDT 2012


I'm trying to use gstreamer-vaapi plugins to play video in mpegts.

When using vaapi as suggested with

* gst-launch-0.10 -v filesrc location=video.mp4 ! qtdemux !
vaapidecode ! vaapisink *

and it is working, of course.

Also, TS playback works with

*
GST_DEBUG="*:3" gst-launch-0.10 -v udpsrc buffer-size="5000"   \
port=1234 multicast-group="239.0.0.17"   \
caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"
  \
! .recv_rtp_sink_0 gstrtpbin ! rtpmp2tdepay   \
! mpegtsdemux ! ffdec_h264 ! xvimagesink
*

but when I want to replace *ffdec_h264 ! xvimagesink* with
*vaapidecode ! vaapisink* I get no video and here[1] is log with
GST_DEBUG=*:3.

I've found similar problem here[2] and it is suggested to use
ffdemux_mpegts instead of tsdemux because of sink caps that
vaapidecode wants. Butit seams that ffdemux_mpegts is not any more in
gstreamer-ffmpeg package as it had some problems before.

But anyways I don't see same error as that guy[2].

Is there any way to discover what caps do vaapidecode needs and to add
it manualy when demuxer can't do that?

Or it is some other problem?

Regards
David

[1] http://pastebin.com/rkmxF8yD
[2] http://gstreamer-devel.966125.n4.nabble.com/gstreamer-vaapi-and-RTSP-tt3065372.html


More information about the gstreamer-devel mailing list