mpegtsmux and rtp timestamp

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

mpegtsmux and rtp timestamp

Maxime Louvel
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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: mpegtsmux and rtp timestamp

Maxime Louvel
bump

On Thu, Jun 14, 2012 at 4:11 PM, Maxime Louvel <[hidden email]> wrote:
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




--
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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel