mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
update ffmpeg
This commit is contained in:
parent
597b09d182
commit
db2dbe9d30
11
ffmpeg/arm/docker-compose.yml
Normal file
11
ffmpeg/arm/docker-compose.yml
Normal file
@ -0,0 +1,11 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user