User:Saul/Raspberry Pi

From Organic Design
< User:Saul
Revision as of 17:36, 17 February 2020 by Saul (talk | contribs) (Uploaded my old Pi documentation.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Useful Links

Camera

To take an image run:

raspistill -o image.jpg


To take a video run:

raspivid -o video.h264 -t TIME


For more options:

raspistill
raspivid

Streaming Video

Make sure NetCat (nc) and mplayer is installed.

To listen for the Pi's stream run (on another computer):

nc -l -p 5001 | mplayer -fps 60 -cache 1024

And to stream to the computer from the Pi run (on the Pi), be sure to replace ADDR with your computers address:

raspivid -t 999999 -o - | nc ADDR 5001

Disabling Camera LED

Edit the /boot/config.txt file and ensure there is the following line at the bottom:

disable_camera_led=1

Converting h264 to mp4

MP4Box -add vid.h264 output.mp4

Android SSH

Use app juicessh