Advertisement
CJBurkey

STARTVID.sh

Feb 7th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.08 KB | None | 0 0
  1. # Usage: Run 'bash STARTVID.sh' in ssh or terminal.
  2. # This requires the listener to be running already *before* this script is run. This is the listener script: https://pastebin.com/De64YXRU
  3.  
  4. # Here's a rundown of the settings:
  5. #   T: Forgot what this does, don't mess with it.
  6. #   w: width of the video uploaded. Default: 1080
  7. #   h: height of the video uploaded. Default: 720
  8. #   ih: *NO VALUE*
  9. #   fps: frames per second of the uploaded video. Default: 20
  10. #   o: *NO VALUE*
  11. #    : *NO VALUE*
  12. #   ip: This is the IP of the RECEIVING computer. For example, if my laptop has an ip of 10.50.3.145 and that's where I want to *watch* the video, then that's the ip I use.
  13. #   port: This is the port on which the receiving computer should listen for the video. The default should work fine. Default: 5000
  14.  
  15. # Note: for some reason, these HD settings produce less delay than lower quality options.
  16. #   This could be because resizing the video live is too intensive, but I'm not sure, so I'd leave
  17. #   most of these the same
  18.  
  19. raspivid -t 0 -w 1280 -h 720 -ih -fps 20 -o - | nc 10.50.3.145 5000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement