[gst-devel] MPEG2/TS stream input in gst-launch ?

Marc Leeman marc.leeman at gmail.com
Fri Jun 4 09:24:50 CEST 2010


> > I believe the commercial version of flumotion is already capable of
> > consuming MPEG-TS streams; perhaps that would suit you better.
> 
> You can do that with the current releases from GStreamer too; but there
> seems to be something off with the timestamp calculation that makes it a
> bitch to stream MPEG/TS sources back out via e.g. RTP.
> 
> I tried to improve it by having a look at mpvpay; and the the situation
> seems lightly better; I was probably poking at the wrong element.
> 
> >> Dear  Marc, i  will  be  very pleased  if  you  could  provide  me  with  any  examples :)
> >>I  need a  solution  that  helps gst-launch  just  eat&play  the  ip MPEG2TS  stream  not  to  re-stream  it  further



gst-launch udpsrc uri=udp://239.123.123.123:1234 \
   ! mpegtsdemux program-number=9015 \
   ! mpeg2dec \
   ! autovideosink

You might need to add buffering before or after the demuxer or videosink
to get correct image.

This pipe only extracts the video from a particular TS. If you don't
have an MPTS and only a video MPEG stream, the program number can be
left out.


-- 
  greetz, marc
It is not for me to attempt to fathom the inscrutable workings of Providence.
		-- The Earl of Birkenhead
crichton 2.6.26 #1 PREEMPT Tue Jul 29 21:17:59 CDT 2008 GNU/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100604/067cc5b0/attachment.pgp>


More information about the gstreamer-devel mailing list