User:Saul/Raspberry Pi

From Organic Design wiki
< User:Saul
Revision as of 01:19, 18 February 2020 by Nad (talk | contribs) (see also)

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

See also