2020-05-22 09:46:42 +02:00
|
|
|
v4l2rtspserver
|
|
|
|
==============
|
|
|
|
|
|
|
|
[v4l2rtspserver][1] is a RTSP Server for V4L2 device capture supporting HEVC/H264/JPEG/VP8/VP9.
|
|
|
|
|
2021-03-26 05:48:13 +02:00
|
|
|
## up and running
|
|
|
|
|
|
|
|
```bash
|
2024-07-28 07:51:32 +02:00
|
|
|
$ v4l2-ctl -d /dev/video0 --list-formats-ext --info
|
2021-03-26 05:48:13 +02:00
|
|
|
$ docker-compose up -d
|
2024-04-13 04:00:49 +02:00
|
|
|
$ vlc --network-caching=50 --rtsp-tcp rtsp://127.0.0.1/live
|
2021-03-26 05:48:13 +02:00
|
|
|
$ ffmpeg -rtsp_transport tcp -i rtsp://127.0.0.1/live -acodec copy -vcodec copy -t 60 cctv.mp4
|
|
|
|
$ vlc cctv.mp4
|
|
|
|
```
|
|
|
|
|
2020-05-22 09:46:42 +02:00
|
|
|
[1]: https://github.com/mpromonet/v4l2rtspserver
|