-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
54 lines (40 loc) · 1.55 KB
/
Copy pathREADME
File metadata and controls
54 lines (40 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Python-Raspberry-Contoll-Managment
#######################################################
TODO:
- Set recording to pause
- Sys. configuration
- Save Screenshots in different format. At moment you can change format in python script
- Save recording in differtent raw format. Currently only .h264. At moment you can change format in python script
- Logic
- Stop and start streaming | not FFmpeg udp streaming
- Image effects + params
Installation:
You need to install FFmpeg for RPi, if you want to use UDP stream and convert .h264 to .mp4. I will find a solution for streaming without FFmpeg soon.
- sudo pip install flask
- sudo pip install picamera
- git clone https://github.com/IljaGrebel/python-RPi-camera-controll
- cd python-RPi-camera-controll
Using:
- python __main__.py to start the script
You need some HTTP Requester to send request to RPi
# Start Record
http://rpi-ip:8080/start_record
# Stop record
http://rpi-ip:8080/stop_record
# Start stream
http://rpi-ip:8080/start_stream
You cant make screenshots yet, if stream is started
# Stop stream
http://rpi-ip:8080/stop_stream - in dev.
# Make screenshots
http://rpi-ip:8080/screenshot
The directories will be created in the same folder where __main__.py is placed
This project is at developming at moment, but function described from above working.
Plans for the future
- API Website to controll RPi camera
- Change RPi Settings over API
- Change capture settings over API
- Watch captured images and videos over Website API
- Watch stream over Website API
- JSON responses
and more...