mpeg ts in udp packets and gstream-0.10

Ilya Averyanov averyanovin at gmail.com
Wed Feb 4 01:47:28 PST 2015


I try to play this stream.

gst-launch-0.10 -vv udpsrc port=3000  ! queue ! mpegtsdemux ! decodebin !
autovideosink

And nothing happens
---
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: MpegTSClock
/GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0: pat-info =
((GValueArray*) 0x7f58dc002b20)
/GstPipeline:pipeline0/GstMpegTSDemux:mpegtsdemux0: pmt-info =
((MpegTsPmtInfo*) 0x7f58e0001920)
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal
/GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = video/x-h264,
stream-format=(string)byte-stream, alignment=(string)nal
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
caps = video/x-h264, stream-format=(string)byte-stream,
alignment=(string)nal
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:sink:
caps = video/x-h264, stream-format=(string)byte-stream,
alignment=(string)nal
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:sink: caps =
video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:sink.GstProxyPad:proxypad0:
caps = video/x-h264, stream-format=(string)byte-stream,
alignment=(string)nal
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstH264Parse:h264parse0.GstPad:sink:
caps = video/x-h264, stream-format=(string)byte-stream,
alignment=(string)nal
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstH264Parse:h264parse0.GstPad:src:
caps = video/x-h264, stream-format=(string)byte-stream,
alignment=(string)au, parsed=(boolean)true
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_h264:ffdec_h2640.GstPad:sink:
caps = video/x-h264, stream-format=(string)byte-stream,
alignment=(string)au, parsed=(boolean)true
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstH264Parse:h264parse0.GstPad:src:
caps = video/x-h264, stream-format=(string)byte-stream,
alignment=(string)au, width=(int)1280, height=(int)720, parsed=(boolean)true
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_h264:ffdec_h2640.GstPad:sink:
caps = video/x-h264, stream-format=(string)byte-stream,
alignment=(string)au, width=(int)1280, height=(int)720, parsed=(boolean)true
/GstPipeline:pipeline0/GstDecodeBin:decodebin0.GstGhostPad:src0: caps =
video/x-raw-yuv, width=(int)1280, height=(int)720,
framerate=(fraction)25/1, format=(fourcc)I420, interlaced=(boolean)false
/GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdec_h264:ffdec_h2640.GstPad:src:
caps = video/x-raw-yuv, width=(int)1280, height=(int)720,
framerate=(fraction)25/1, format=(fourcc)I420, interlaced=(boolean)false
-----

But if i create fifo(mkfifo t.mts) and run
gst-launch-0.10 udpsrc port=3000 ! queue !filesink location=t.mts
gst-launch-0.10 filesrc location=./t.mts ! queue ! mpegtsdemux ! decodebin
! autovideosink
All play OK.

Also with gstreamer 1.0 play good.
gst-launch-1.0 udpsrc port=3000  ! queue ! tsdemux ! decodebin !
autovideosink

But i need play on gstreamer 0.10 too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150204/1688c107/attachment-0001.html>


More information about the gstreamer-devel mailing list