http stream broadcast in udp

Francois Baret frogeraie at gmail.com
Thu Oct 13 12:16:22 UTC 2016


Hi!
I can grab a stream coming from my android camera and play it on a LAN 
machine with:
gst-launch-0.10 souphttpsrc location=http://192.168.1.5:8080/video ! 
decodebin2 ! autovideosink
My idea is then to broadcast it using udpsink:
gst-launch-0.10 souphttpsrc location=http://192.168.1.5:8080/video ! 
decodebin2 ! udpsink host=10.0.0.1 port=5200
When I try to watch the stream on the same machine with:
gst-launch-0.10 udpsrc port=5200 ! autovideosink
I get:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

for the receiver (which I start first), and for the sender:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

but I do not get any images!
Any explanation why?
Thanks and regards,
Francois



More information about the gstreamer-devel mailing list