From 7dfc1ece97db13b8e6291ee3a4794ec7e0ba6ac4 Mon Sep 17 00:00:00 2001 From: Jan Koppe Date: Tue, 14 Dec 2021 18:36:43 +0100 Subject: [PATCH] restream: use format from supplied config (flv/mpegts/..) --- 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 c57fb1a..be0ddb5 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 -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 autorestart=true stderr_logfile=/app/tasks.logs/{{ uuid }}.stderr