mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
16 lines
370 B
Markdown
16 lines
370 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 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
|