Skip to content

C++ and Python video streaming app example. Tested on Linux

License

Notifications You must be signed in to change notification settings

Mregussek/videostreaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoStreaming

Getting Started

This is video streaming app written for Raspberry Pi.

Of course you can use this app to work with another WebCam, other than RPi.

Package for getting frames is OpenCV so it should work correctly only when you have it installed.

Prepare RPi

I used Raspbian Stretch Lite to test this apps. In rpi_conf directory you can find files, which you should put in your RPi. ssh file enables connection through 22 port and wpa_supplicant.conf allows you to connect RPi to WiFi.

Raspbian Install

Firstly you have to download Raspbian, my proposal is to choose Lite version.

Download

Afterwards we have to find SD card, where the system will be. Best choice will be more than 8GB. I tested 8 and 16, memory is fine. On Linux you can find card by this command:

sudo fdisk -l

It will list all devices which are connected. For me it always was /dev/sdc/. Next umount disc, if it gives an error like it isn't mounted, that's fine, don't worry.

sudo umount /dev/sdc

The last point is to copy .img file to SD card. You can use this:

sudo dd bs=1M if=rasbian.img of=/dev/sdc

Of course replace raspbian.img to path to the correct img file of raspbian, which you have already downloaded. Insert the card to Raspberry Pi and chech if everything works. When yes, go to next point.

Configure Raspbian

Put SD card to your computer again, hopefully you will see 2 cards connected named boot and root. Only what you have to do is to copy ssh and wpa_supplicant.conf to boot directory. Don't forget about setting correctly wpa_supplicant in case of right WiFi connection.

Author

Mateusz Rzeczyca

Student - AGH University of Science and Technology

rzeczyca@student.agh.edu.pl

Cracow, Poland

04.01.2019

License

This project is licensed under the GNU GPL3 License - see the LICENSE.md file for details