restream: use format from supplied config (flv/mpegts/..)
This commit is contained in:
parent
3125c1b750
commit
7dfc1ece97
|
@ -1,6 +1,6 @@
|
||||||
[program:{{ uuid }}]
|
[program:{{ uuid }}]
|
||||||
directory=/app
|
directory=/app
|
||||||
command=/usr/bin/ffmpeg -y -nostats -progress /tmp/ffmpeg/{{ uuid }} -loglevel repeat+level+info -i {{ edge }}{{ cfg["app"] }}/{{ cfg["stream"] }} -c copy -f flv {{ cfg["target"] }}
|
command=/usr/bin/ffmpeg -y -nostats -progress /tmp/ffmpeg/{{ uuid }} -loglevel repeat+level+info -i {{ edge }}{{ cfg["app"] }}/{{ cfg["stream"] }} -c copy -f {{ cfg["format"] }} {{ cfg["target"] }}
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stderr_logfile=/app/tasks.logs/{{ uuid }}.stderr
|
stderr_logfile=/app/tasks.logs/{{ uuid }}.stderr
|
||||||
|
|
Loading…
Reference in New Issue