1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/ffmpeg/docker-compose.yml

11 lines
359 B
YAML
Raw Normal View History

2017-08-01 01:17:03 +02:00
ffmpeg:
image: vimagick/ffmpeg
entrypoint: sh
command:
- -c
2017-08-01 01:36:28 +02:00
- ffmpeg -f lavfi -i anullsrc -rtsp_transport udp -i $$RTMP_DEV -tune zerolatency -vcodec mpeg4 -pix_fmt + -c:v copy -c:a aac -f flv $$RTMP_URI
2017-08-01 01:17:03 +02:00
environment:
- RTMP_DEV=rtsp://10.50.254.197/live
- RTMP_URI=rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx
restart: always