Gstreamer-plugin
From Rsewiki
(Difference between revisions)
(Created page with "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 mobotwar...") |
|||
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | + | Gstreamer 0.10 plugin, to interface camera sources and to communicate video-streams. | |
===Packages needed=== | ===Packages needed=== | ||
− | What is needed is the usual packages for mobotware - see | + | What is needed is the usual packages for mobotware - see [[Install on (K)UBUNTU]] |
===Server=== | ===Server=== | ||
Line 15: | Line 15: | ||
===Video client=== | ===Video client=== | ||
− | To view the | + | 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 |
Latest revision as of 09:16, 26 October 2013
Gstreamer 0.10 plugin, to interface camera sources and to communicate video-streams.
[edit] Packages needed
What is needed is the usual packages for mobotware - see Install on (K)UBUNTU
[edit] 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
[edit] 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