Questions about buffer's timestamp in RTP application

Olivier Crête olivier.crete at collabora.com
Wed Dec 12 06:40:59 PST 2012


Hi, 

rtpjitterbuffer inside rtpbin adjusts the GStreamer timestamps using the RTP timestamps. Use rtpbin. 

Olivier

cee1 <fykcee1 at gmail.com> wrote:

>Hi, all
>
>I'm doing some experiment with gstreamer 0.10 in RTP application:
>* Sender:
>gst-launch-0.10 filesrc location=sample.ogg ! decodebin2 ! \
>                x264enc tune=zerolatency byte-stream=true bitrate=1024
>vbv-buf-capacity=300 \
>        bframes=0 b-pyramid=true weightb=true me=dia key-int-max=48 ! \
>                rtph264pay ! udpsink
>
>* Receiver:
>gst-launch-0.10 udpsrc
>caps="application/x-rtp,media=(string)video,clock-rate=(int)90000" !
>rtph264depay ! ffdec_h264 ! autovideosink
>
>Went through the source, I found rtph264depay doesn't use RTP
>timestamp and -- It seems the gstbuffer's timestamp is packet's
>received time, so
>1. What  does RTP timestamp do ?
>2. How does the receiver play properly? I mean without new segment
>event and gstbuffer's timestamp, how can the receiver play it at a
>proper rate(e.g. 24FPS) ?

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.


More information about the gstreamer-devel mailing list