1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-24 05:17:06 +02:00
2024-04-13 10:00:49 +08:00

16 lines
402 B
Markdown

v4l2rtspserver
==============
[v4l2rtspserver][1] is a RTSP Server for V4L2 device capture supporting HEVC/H264/JPEG/VP8/VP9.
## up and running
```bash
$ docker-compose up -d
$ vlc --network-caching=50 --rtsp-tcp rtsp://127.0.0.1/live
$ ffmpeg -rtsp_transport tcp -i rtsp://127.0.0.1/live -acodec copy -vcodec copy -t 60 cctv.mp4
$ vlc cctv.mp4
```
[1]: https://github.com/mpromonet/v4l2rtspserver