mpegtsmux and rtp timestamp

Maxime Louvel m.louvel at gmail.com
Thu Jun 14 14:11:11 PDT 2012


Hi everyone,

I'm using the following pipeline to stream a mpeg2 video within mpegts
stream with rtp.

gst-launch -e  videotestsrc num-buffers=100 ! video/x-raw-yuv,
width=176,height=144,framerate=25/1 ! decodebin ! ffmpegcolorspace ! queue
! videorate ! video/x-raw-yuv,framerate=25/1 ! ffenc_mpeg2video quantizer=4
gop-size=5 ! queue ! mpegtsmux ! rtpmp2tpay ! udpsink host=127.0.0.1
port=5000

gst-launch -e  udpsrc port=5000 caps="application/x-rtp, media=video,
encoding-name=MP2TS" ! rtpmp2tdepay ! mpegtsdemux ! queue !
ffdec_mpeg2video ! ffmpegcolorspace ! xvimagesink

Since mpegtsmux fragments the video stream, the rtp packets are composed of
several mpeg2ts packets.
Hence my question is :

What is the meaning of the rtp buffer timestamp ? Is is the most recent /
old mpeg2ts timestamp ? Is it meaningless ? something else ?
I'm mostly interested by the reception buffer timestamp (rtpdepay on the
streaming client) but I guess the meaning is the same on the pay and depay
side, isn't it ?

thanks a lot

Maxime

-- 
Maxime Louvel
web page : https://sites.google.com/site/mlouvel/
linkedin : http://fr.linkedin.com/in/mlouvel
address : 5400-B ridge oak drive
               Austin, Texas, 78731
               USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120614/759e33bb/attachment.htm>


More information about the gstreamer-devel mailing list