[Project] Raspberry Pi Powered WiFi Streaming Camera


To build a Raspberry Pi powered video camera, capable of streaming over a home wireless network.


– Raspberry Pi (With Raspbian OS)

– RPi compatible Wifi Dongle (List here)

– Camera Module (Here)

– Wifi enabled PC with VLC media player

[Project] Raspberry Pi Powered WiFi Streaming Camera


  1. Connect the Raspberry Pi Camera Module to the CSI connector located between the ethernet and HDMI ports.
  2. Enable the Raspberry Pi camera module in the Raspberry Pi Configuration Menu
    1. $ sudo raspi-config
    2. Enable Camera. This now gives access to the command line tool “raspivid” and “raspistill” which controls the camera
  3. Reboot Raspberry Pi as required.
  4. Update and Upgrade packages and Raspberry Pi firmware
    1. $ sudo apt-get update
    2. $ sudo apt-get upgrade
    3. $ sudo rpi-update
    4.  Reboot as necessary
  5. Now, to invoke an instance of raspivid to begin the video streaming process.
    1. $ raspivid -o - -t 0 -hf -vf -w 640 -h 360 -fps 25
    2. This line calls a new instance of raspivid with the following parameters:
      1. -o: Output file
      2. -t 0: run for x milliseconds (0 means continuously)
      3. -hf, -vf: horizontal and vertical flip
      4. -w: 640 pixels width
      5. -h: 360 pixels heigh
      6. -fps: frames per second.
  6. Because the camera and raspivid default to a h264 encoding format, we must also pipe the raspivid output to vlc and wrap tell VLC which streaming methods, encoding and port to output the stream.
    '#standard{access=http,mux=ts,dst=:8090}' :demux=h264
    1. The full command is as follows:
    2. $ raspivid -o - -t 0 -hf -vf -w 640 -h 360 -fps 25|cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h264
  7. The camera is now piping it’s output to port 8090 of the raspberry pi and the only thing left to do now is to point the PC to the appropriate location on the home network to find the stream
    1. Open a new instance of VLC media player on the PC
    2. Under Media -> Open Network Stream
    3. VLC should now be displaying the output of the raspberry pi camera module (with a slight delay)

[Project] Raspberry Pi Powered WiFi Streaming Camera configration Discussion:

The Raspberry Pi computer is a credit card sized computer powered by an ARM processor and BCM2835 SOC running a Debian distribution of Linux. The Pi has GPIOs as well as dedicated CSI (Camera Serial Interface) connectors which enable peripherals to be easily connected to it.

This makes it an ideal, and budget friendly, starting point for an embedded system such as the streaming security camera presented here. The BOM for this camera is the $30.00 Raspberry Pi, $30.00 camera module and a $10.00 wifi dongle.


For more detail: [Project] Raspberry Pi Powered WiFi Streaming Camera

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top