Skip to content

Instantly share code, notes, and snippets.

@catpea
Last active October 22, 2020 02:07
Show Gist options
  • Save catpea/106fb88cb16f3f70005e57a4cbab39c1 to your computer and use it in GitHub Desktop.
Save catpea/106fb88cb16f3f70005e57a4cbab39c1 to your computer and use it in GitHub Desktop.
# Please use the stills for photographing nature at night
# dont use video as shown below, it is only 0.16 fps... mewh
#listen
nc 192.168.1.68 5000 | mplayer -fps 60 -cache 2048 -cache-min 1 -
#NOTE you must set fps to a fraction ex: --framerate 0.1, if not -ss 6000000 will cause a shutdown
raspivid --timeout 0 --nopreview --framerate 0.1 -ss 6000000 -ISO 800 -l -o tcp://0.0.0.0:5000
# with extras
# note resolution maybe limited to -w 1280 -h 720
raspivid --timeout 0 --nopreview -w 1920 -h 1080 --exposure night --shutter 6000000 -ISO 800 --awb greyworld --metering average --brightness 60 -l -o tcp://0.0.0.0:5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment