1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 05:48:42 +00:00
dockerfiles/ffmpeg/arm/docker-compose.yml
2018-01-01 02:01:35 +08:00

12 lines
293 B
YAML

ffmpeg:
image: easypi/ffmpeg-arm
entrypoint: sh
command:
- -c
- ffmpeg -f video4linux2 -i /dev/video0 -video_size 800x600 -b:v 500k -f flv $$RTMP_URI
devices:
- /dev/video0
environment:
- RTMP_URI=rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx
restart: always