How to stream mpeg4 video via RTP/UDP between two ubuntu machines?

Werner Dittmann Werner.Dittmann at t-online.de
Sat Mar 10 23:28:08 PST 2012


Am 10.03.2012 21:06, schrieb Diego Silva:
> Sorry, but google did not help me.
> 
> I tried a lot of tutorials but nothing worked.
> 
> How to stream mpeg4 video via RTP/UDP between two ubuntu machines using
> gstream?
> 
> I need something like:
> 
> #Server
> gst-launch -v filesrc location=sample.mp4 ! ... udpsink host=127.0.0.1
> port=5000  -v

I use updsink to test my ZRTP filter. The above udpsink use cannot work. I use
the followin setup for udpsink to specify the target:

... ! udpsink clients="127.0.0.1:5004" ....


> 
> ...
> 
> #Client
> gst-launch -v udpsrc port=5000 caps="127.0.0.1"

I'm not sure if this is correct, I never saw such a caps value. In my tests
I use

udpsrc port=5003 ! ...

to receive data at port 5003 from any IP addess including 127.0.0.1

Hope this helps.

Regards,
Werner


> 
> 
> Thanks,
> 
> Diego Silva.
> 
> 
> 
> 
> _______________________________________________
> 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