Gstreamer-plugin

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
(Video client)
(Video client)
Line 16: Line 16:
  
 
To view the stream the following command can be used (is in aurobotservers/trunk/plugin/auv4lgst/gstclient):
 
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
+
  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:07, 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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox