[gst-devel] Help with RTP

Rémi BUISSON remi.buisson at viotech.net
Wed Aug 6 16:21:38 CEST 2008


Hi everyone,

I have some troubles streaming video file over the network.

First of all, I tired this :

server:
gst-launch filesrc location=../partage/Videos/superman_originale.avi ! 
decodebin ! x264enc ! video/x-h264 ! rtph264pay pt=96 ! udpsink 
host=192.168.1.2 port=5000 sync=false

client:
gst-launch udpsrc port=5000 ! rtph264depay  ! decodebin ! xvimagesink

It works but I can't read it with vlc : vlc udp://@:5000 : is it normal ?

Now I would like to do the same thing with an RTP pipeline :

server:
gst-launch filesrc location=../partage/Videos/superman_originale.avi ! 
decodebin ! x264enc ! rtph264pay ! rtpbin localport=5001 
destinations=127.0.0.1:5000

client:
gst-launch udpsrc port=5000 ! rtph264depay ! decodebin ! xvimagesink --> 
this works
gst-launch rtpbin localport=5000 ! rtph264depay ! decodebin ! 
xvimagesink --> this doesn't work

How can I receive my stream ? with vlc ?

Thanks in advance !




More information about the gstreamer-devel mailing list