1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00
dockerfiles/v4l2rtspserver
2024-07-28 13:51:44 +08:00
..
docker-compose.yml add Node-Media-Server 2021-10-13 16:45:14 +08:00
README.md update v4l2rtspserver 2024-07-28 13:51:44 +08:00

v4l2rtspserver

v4l2rtspserver is a RTSP Server for V4L2 device capture supporting HEVC/H264/JPEG/VP8/VP9.

up and running

$ v4l2-ctl -d /dev/video0 --list-formats-ext --info
$ 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