diff --git a/tasks.templates/restream.conf.j2 b/tasks.templates/restream.conf.j2 index 21e475f..c57fb1a 100644 --- a/tasks.templates/restream.conf.j2 +++ b/tasks.templates/restream.conf.j2 @@ -1,6 +1,6 @@ [program:{{ uuid }}] directory=/app -command=/usr/bin/ffmpeg -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 flv {{ cfg["target"] }} autostart=true autorestart=true stderr_logfile=/app/tasks.logs/{{ uuid }}.stderr