Gstreamer-plugin: Difference between revisions

From Rsewiki
No edit summary
Line 15: Line 15:
===Video client===
===Video client===


To view the tream use:
To view the stream the following command can be used (is in aurobotservers/trunk/plugin/auv4lgst/gstclient):
gst-launch-0.10 udpsrc uri=udp://127.0.0.1:23000 caps='application/x-rtp, timeout=(int)0,  media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96' ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! ximagesink

Revision as of 07:06, 24 March 2013

Experiments with gstreamer 0.10 plugin, to interface camera sources and to communicate video-streams.

Packages needed

What is needed is the usual packages for mobotware - see Install on (K)UBUNTU

Server

- Start camera server, 
- load auv4lgst
- open video source (/dev/video0 using x264 encodre to udp-stream on port 23000)
- var v4lgst should now say v4lgst.streaming=1


Video client

To view the stream the following command can be used (is in aurobotservers/trunk/plugin/auv4lgst/gstclient):

gst-launch-0.10 udpsrc uri=udp://127.0.0.1:23000 caps='application/x-rtp, timeout=(int)0,  media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96' ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! ximagesink