restream: use format from supplied config (flv/mpegts/..)

This commit is contained in:
Jan Koppe 2021-12-14 18:36:43 +01:00
parent 3125c1b750
commit 7dfc1ece97
Signed by: thunfisch
GPG Key ID: BE935B0735A2129B
1 changed files with 1 additions and 1 deletions

View File

@ -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