Notes - punitsoni/rover GitHub Wiki

gstreamer video stream from pi to mac

Method 1

-on pi

raspivid -w 320 -h 240 -t 60000 -o - | gst-launch-1.0 -v -e fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpclientsink host="192.168.1.140"

-on mac

gst-launch-1.0 -v tcpserversrc host="192.168.1.140" ! gdpdepay !  rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

Method 2

  • on pi
raspivid -w 320 -h 240 -t 100000 -o - | gst-launch-1.0 -v -e fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! gdppay ! tcpserversink host="192.168.1.124"
  • on mac
gst-launch-1.0 -v -e tcpclientsrc host="192.168.1.124"  ! gdpdepay !  rtph264depay ! avdecèh264 ! videoconvert ! autovideosink sync=false