Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. // send from raspberry to pc or nano
  2. // https://wiki.marcluerssen.de/index.php?title=Raspberry_Pi/Camera_streaming
  3.  
  4. // pc 192.168.2.46
  5. // nano 192.168.2.178
  6.  
  7.  
  8. // 2 sender
  9. raspivid -n -w 1280 -h 720 -b 4500000 -fps 30 -vf -hf -t 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! tee name=splitter ! queue ! rtph264pay config-interval=10 pt=96 ! udpsink host=192.168.2.46 port=5000
  10.  
  11.  
  12. / rec
  13. gst-launch-1.0 -v udpsrc port=5000 caps='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264' ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement