almost live, but horrible hack for stream capture, and not live ffmpeg, just live save of images

This commit is contained in:
devdesk
2024-02-15 00:26:10 +02:00
parent 7d75ad7596
commit 17c7d0e555
6 changed files with 153 additions and 48 deletions

View File

@@ -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.