[gst-devel] How to convet raw h264 file to rtp ts stream?

Mark Nauwelaerts mnauw at users.sourceforge.net
Mon Mar 29 15:11:38 CEST 2010


Basically, see https://bugzilla.gnome.org/show_bug.cgi?id=587799
(in as much as anything more can be done about it).

Mark.

Tiago Katcipis wrote:
> It seems that you don't have any element providing a clock so the 
> pipeline will run as fast as possible, at least this happened when i had 
> a similar problem. Your problem seems to be a little different since the 
> timestamps are all the same, i would try to see if there is not missing 
> some other parser or muxer on your pipeline (the one that would do the 
> timestamping and provide a clock).
> 
> Maybe the clock documentation helps you:
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-clocks.html
> 
> cheers,
> Katcipis
> 
> 2010/3/29 libing195 <libing195 at 163.com <mailto:libing195 at 163.com>>
> 
>     Hi, All
>          I want to read a raw h264 file, then convert it to ts stream
>     and send out with rtp/udp.
>     script as follow as :
>         gst-launch -v filesrc location=raw.h264 \
>             ! h264parse \
>             ! mpegtsmux \
>             ! rtpmp2tpay \
>             ! udpsink port=6688 host=172.16.5.140
> 
>     My problem is that, I receive all the  ts/rtp pockets immediately.  :)
>     And all rtp pockets with the same timestamps, so i can't play it
>     with vlc.
>     So how can i get a normal speed stream ?





More information about the gstreamer-devel mailing list