How to stream mpeg4 video via RTP/UDP between two ubuntu machines?
Edward.Endejan at dmh-global.com
Tue Mar 13 10:25:01 PDT 2012
If you intend to stream video & audio and you want them synchronized with each other, it gets a little more complicated. In that case you'll probably want to use gstrtpbin on both client and server.
There is an example within the comments at the top of the source code file gst-plugins-good-<version>/gst/rtpmanager/gstrtpbin.c that you may want to study. You'll also find this in the online documentation for rtpbin.
Hope that helps.
From: gstreamer-devel-bounces+edward.endejan=dmh-global.com at lists.freedesktop.org [mailto:gstreamer-devel-bounces+edward.endejan=dmh-global.com at lists.freedesktop.org] On Behalf Of Werner Dittmann
Sent: Sunday, March 11, 2012 3:28 AM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: How to stream mpeg4 video via RTP/UDP between two ubuntu machines?
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
> I need something like:
> 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" ....
> 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
udpsrc port=5003 ! ...
to receive data at port 5003 from any IP addess including 127.0.0.1
Hope this helps.
> Diego Silva.
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
More information about the gstreamer-devel