almost live, but horrible hack for stream capture, and not live ffmpeg, just live save of images
This commit is contained in:
23
README.md
23
README.md
@@ -3,6 +3,29 @@
|
||||
https://telavivmakers.org/tamiwiki/projects/thermalcam
|
||||
|
||||
|
||||
### Starting the stream
|
||||
|
||||
#### Enable jumbo frames
|
||||
|
||||
```
|
||||
sudo ip link set eth0 mtu 9000
|
||||
```
|
||||
|
||||
#### Send start packet
|
||||
You need to send a special packet.
|
||||
|
||||
Sending it via sudo because of raw sockets:
|
||||
```bash
|
||||
sudo ./venv/bin/python ./replay.py
|
||||
```
|
||||
|
||||
To send it you need the capability to open sockets in raw mode, but that does not work well with scripts (see [1]
|
||||
|
||||
[1] setcap for executables, not helpful for python scripts:
|
||||
```
|
||||
setcap cap_net_raw,cap_net_admin=eip ./replay.py
|
||||
```
|
||||
|
||||
### Rust lib usage
|
||||
|
||||
# if you don't already have a virtualenv. Linux specific, adjust to your OS.
|
||||
|
||||
Reference in New Issue
Block a user