something about RTP streaming
Wim Taymans
wim.taymans at gmail.com
Mon Nov 11 02:10:21 PST 2013
On 11/11/2013 09:30 AM, yxxone wrote:
> gst-launch-0.10 -v filesrc location=Filename1.mp4 ! qtdemux ! rtpmp4vpay
> pt=96 ! udpsink host=127.0.0.1 port=42050 sync=false
> Receiver:
> gst-launch-0.10 -v udpsrc port=42050 caps="application/x-rtp,
> media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP4V-ES,
> profile-level-id=(string)1,
> config=(string)000001b001000001b58913000001000000012000c48d885dad0a041e1463000001b24c61766335322e32302e30,
> payload=(int)96, ssrc=(guint)2271548884, clock-base=(guint)1988216335,
> seqnum-base=(guint)35136" ! rtpmp4vdepay ! ffdec_mpeg4 ! xvimagesink
>
> for many times , I have seen pipeline like this , but I don't know the
> meaning of "config" in caps . or , I may say would anyone tell me how can I
> set this value correctly when I want to work with pipeline like this.
You need to look at the caps on the sender side (on the udpsink), then
copy those to the
receiver. This is usually done with some sort of negotiation like RTSP
or SIP. More info
is also here:
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README
Wim
>
> thanks
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/something-about-RTP-streaming-tp4663224.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list