https://github.com/sudolmin/raspi-watcher
An electron app, acting as an wrapper for executing RTSP stream video data from Raspiberry Pi camera.
https://github.com/sudolmin/raspi-watcher
electronjs nodejs raspberry-pi-camera raspberrypi rtsp rtsp-client rtsp-stream server v4l2
Last synced: 4 months ago
JSON representation
An electron app, acting as an wrapper for executing RTSP stream video data from Raspiberry Pi camera.
- Host: GitHub
- URL: https://github.com/sudolmin/raspi-watcher
- Owner: sudolmin
- License: mit
- Created: 2021-09-08T08:02:31.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-09T10:38:49.000Z (almost 5 years ago)
- Last Synced: 2025-03-09T21:46:22.258Z (over 1 year ago)
- Topics: electronjs, nodejs, raspberry-pi-camera, raspberrypi, rtsp, rtsp-client, rtsp-stream, server, v4l2
- Language: JavaScript
- Homepage:
- Size: 4.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raspberry Pi RTSP camera Project
## Description:
This project consists an Desktop application for viewing and recording live feed from raspberry pi camera using VLC API.
## Requirements:
1. Raspberry Pi with camera attached in the same network.
2. VLC media player installed in the client computer.
## Setting up server in Raspberry Pi:
### Updating Raspberry Pi OS
`
sudo apt-get update && sudo apt-get upgrade
`
### Installing **v4l2rtspserver** package
`sudo apt-get install libv4l-dev liblog4cpp5-dev git cmake -y`
#### Once all the packages gets installed, run this command
`git clone https://github.com/mpromonet/v4l2rtspserver.git ; cd v4l2rtspserver/ ; cmake . ; make ; sudo make install`
Now you run your server using the command on the terminal
`pi@raspberrypi:~ $ v4l2rtspserver`
This command will run your server in default mode. For tinkering options like controlling height, width, FPS, Port you can run, to know more.
`pi@raspberrypi:~ $ v4l2rtspserver --help`
For eg,
`pi@raspberrypi:~ $ v4l2rtspserver -W 1080 -H 720 -F 30 -P 8554 /dev/video0`
## Setting up client:
### Install VLC
[Download](http://https://www.videolan.org/vlc/ "download") and install vlc.
For windows computer, make sure your **vlc.exe** containing folder is in Environment PATH variable. You can check this by running
In Powershell/CMD
`C:\Users\someuser> vlc `
or
`C:\Users\someuser> vlc.exe`
If VLC screen comes up, you are good to go, if not. Set your Environment Path Variable.
Now, you can install this software and use for surveillance or any other use case.