vliaskov

gstreamer (1.9.x) rpicamsrc streaming tests

Jul 21st, 2016
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. STREAM FROM RPICAM over UDP (very low latency):
  2. Server: GST_DEBUG=3 gst-launch-1.0 rpicamsrc ! 'video/x-h264, width=1280, height=720, framerate=30/1' ! rtph264pay config-interval=1 ! udpsink port=8558 host=192.168.1.8
  3. Client: GST_DEBUG=3 gst-launch-1.0 udpsrc port=8558 ! application/x-rtp, payload=96 ! rtph264depay ! avdec_h264 ! autovideosink
  4.  
  5. STREAM FROM RPICAM over TCP is slower (about ~2 sec latency):
  6. Server: GST_DEBUG=3 gst-launch-1.0 rpicamsrc ! 'video/x-h264, width=1280, height=720, framerate=30/1' ! rtph264pay config-interval=1 ! gdppay ! tcpserversink port=8555 host=192.168.1.11
  7. Client: GST_DEBUG=4 gst-launch-1.0 tcpclientsrc port=8555 host=192.168.1.11 ! gdpdepay ! application/x-rtp, payload=96 ! rtph264depay ! avdec_h264 ! autovideosink
  8.  
  9. Setup:
  10. Server (RPI Model 2 B running raspbian wheezy) with Wifi USB stick connectivity
  11. client (desktop computer running Ubuntu 14.04)
RAW Paste Data Copied