i'm not really a bumblebee
romillyhills.co.uk uses cookies! cookies are used for the login system and removing this bubble.
clock15:44 on 30.05.13 eye1126 speech bubble0
here we get started with a raspberry pi running raspbian, install the camera module then start streaming with vlc

installing raspbian is done in the same way as arch in a previous post, however it can also load a desktop, so for this i also used a mouse/keyboard and monitor. the tweaks for raspbian are slightly different, for example; my microsoft arc keyboard wasn't supported so a fix had to be introduced, but i'll get to that later.

after you have prepared your sd card and booted, you'll be presented with a configure screen. the raspberry pi image only allows 2gb of storage so navigate to 'expand_rootfs' to enable the full sd card, then reboot. if you missed this step, you can re-enter the config by typing

in this menu you may also want to enable ssh for later use.

as i mentioned earlier, my keyboard wasn't supported, so i had to implement this quick fix via ssh [default user:pi, pass:raspberry]. the command
sudo nano /boot/cmdline.txt

opens a boot config file with the text editor nano, then added

to the end. write, exit, and the arc keyboard works.

now to get the camera working, from here i followed the raspberry pi guide up until 'example commands'. updating the pi will take a while.

once that is done quickly test the camera with
raspivid -o video.h264

then you can get started with streaming via vlc, this was originally done in a post on the raspberry pi forums, but here are the parts you need. first install vlc
sudo apt-get install vlc

then the command
raspivid -o - -t 99999 |cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h264

will start the stream. if you want to reduce the resolution or framerate [so save bandwidth] you can add
-w 1280 -h 720 -fps 25

this actually didn't work for me straight away, i had an 'unknown command or missing mandatory statement' error, which mysteriously disappeared after a restart.

with the pi now streaming, on another device start vlc, then in the top menu bar; media, open network stream. enter your raspberry pi's ip, for example then click play and you should start streaming.

this did seem to have about 2-3 seconds of lag on the feed, but you should be aware that this is a 'just get it working' sort of method, not an efficient method of streaming video.
what happened to my arms!?