From 8e1e8b3925cec77e58457f7a19f8df09cfbcc196 Mon Sep 17 00:00:00 2001 From: Jan Koppe Date: Sat, 30 Oct 2021 09:16:23 +0200 Subject: [PATCH] add ffmpeg progress file output --- tasks.templates/restream.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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