Gstreamer-plugin: Difference between revisions
From Rsewiki
No edit summary |
|||
Line 1: | Line 1: | ||
Gstreamer 0.10 plugin, to interface camera sources and to communicate video-streams. | |||
===Packages needed=== | ===Packages needed=== |
Latest revision as of 09:16, 26 October 2013
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