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 ... #Client gst-launch -v udpsrc port=5000 caps="127.0.0.1" Thanks, Diego Silva. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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. Ed -----Original Message----- From: gstreamer-devel-bounces+edward.endejan=[hidden email] [mailto:gstreamer-devel-bounces+edward.endejan=[hidden email]] On Behalf Of Werner Dittmann Sent: Sunday, March 11, 2012 3:28 AM To: [hidden email] 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 > 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 > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |