diff --git a/v4l2rtspserver/README.md b/v4l2rtspserver/README.md index 7187417..47545fe 100644 --- a/v4l2rtspserver/README.md +++ b/v4l2rtspserver/README.md @@ -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 diff --git a/v4l2rtspserver/arm/docker-compose.yml b/v4l2rtspserver/arm/docker-compose.yml new file mode 100644 index 0000000..86dd744 --- /dev/null +++ b/v4l2rtspserver/arm/docker-compose.yml @@ -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 diff --git a/v4l2rtspserver/docker-compose.yml b/v4l2rtspserver/docker-compose.yml index b936629..4ba62fe 100644 --- a/v4l2rtspserver/docker-compose.yml +++ b/v4l2rtspserver/docker-compose.yml @@ -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: