Friday, September 20, 2013

Raspberry  PI Notes (camera module)

Stream video to a remote machine using nc and the on board camera module.

1. plug in camera and enable camera via the raspi-config, no other software is needed at this stage

2. On the remote viewing pc install mplayer (I used brew install mplayer) and run the receipt cache - a mplayer screen will pop up with the video when a stream is received:

# nc -l 5001 | mplayer -fps 40 -cache 2024 -

3.  On the raspberry run the video stream:

# raspivid -rot 180 -t 200000 -o - | nc 192.168.2.18 5001

No comments:

Post a Comment