mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
update v4l2rtspserver
This commit is contained in:
parent
8713f1d5fe
commit
7b589c4849
@ -3,4 +3,13 @@ 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
|
||||
|
10
v4l2rtspserver/arm/docker-compose.yml
Normal file
10
v4l2rtspserver/arm/docker-compose.yml
Normal file
@ -0,0 +1,10 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
v4l2rtspserver:
|
||||
image: mpromonet/v4l2rtspserver:latest-arm32v7
|
||||
command: -v -P554 -H640 -W480 -F5 -ulive
|
||||
ports:
|
||||
- "554:554"
|
||||
devices:
|
||||
- /dev/video0
|
||||
restart: unless-stopped
|
@ -2,7 +2,7 @@ version: "3.8"
|
||||
services:
|
||||
v4l2rtspserver:
|
||||
image: mpromonet/v4l2rtspserver
|
||||
command: -H640 -W480 -P554
|
||||
command: -v -P554 -H640 -W480 -F5 -ulive
|
||||
ports:
|
||||
- "554:554"
|
||||
devices:
|
||||
|
Loading…
Reference in New Issue
Block a user