Gstreamer: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 3: Line 3:
* http://wiki.oz9aec.net/index.php/Gstreamer_cheat_sheet
* http://wiki.oz9aec.net/index.php/Gstreamer_cheat_sheet
* http://www.twm-kd.com/linux/webcam-and-linux-gstreamer-tutorial/
* http://www.twm-kd.com/linux/webcam-and-linux-gstreamer-tutorial/
== Streaming ==
Transmitter:
gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! videoflip method=5 ! x264enc pass=qual quantizer=20 tune=zerolatency ! rtph264pay ! udpsink host=192.168.0.150 port=3333
Receiver:
gst-launch-0.10 udpsrc port=3333 ! "application/x-rtp, payload=127" ! rtph264depay ! ffdec_h264 ! xvimagesink sync=false

Revision as of 19:04, 21 January 2013

Amazing audio/video processing, from the commandline!

Streaming

Transmitter:

gst-launch-0.10 v4l2src ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! videoflip method=5 ! x264enc pass=qual quantizer=20 tune=zerolatency ! rtph264pay ! udpsink host=192.168.0.150 port=3333

Receiver:

gst-launch-0.10 udpsrc port=3333 ! "application/x-rtp, payload=127" ! rtph264depay ! ffdec_h264 ! xvimagesink sync=false