From 66e2173f80c4d1cc8a6077ebdc5e568736bb8e02 Mon Sep 17 00:00:00 2001 From: Maxim Lihachev Date: Tue, 12 Jul 2016 16:27:22 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D1=8B=20?= =?UTF-8?q?=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=BE=20=D1=83=D0=BC=D0=BE=D0=BB=D1=87=D0=B0=D0=BD=D0=B8=D1=8E?= =?UTF-8?q?,=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=BE=20?= =?UTF-8?q?=D1=83=D0=BA=D0=B0=D0=B7=D0=B0=D0=BD=D0=B8=D0=B5=20=D1=84=D0=BE?= =?UTF-8?q?=D1=80=D0=BC=D0=B0=D1=82=D0=B0=20=D0=B2=D1=85=D0=BE=D0=B4=D0=BD?= =?UTF-8?q?=D0=BE=D0=B3=D0=BE=20=D0=BF=D0=BE=D1=82=D0=BE=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- streamsaver | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/streamsaver b/streamsaver index 3bbfe8a..6fa1825 100755 --- a/streamsaver +++ b/streamsaver @@ -175,7 +175,7 @@ makeCMD() { FILE_NAME="${config[filename_prefix]}-${config[channel_name]}-CH${config[channel_number]}.${config[filename_suffix]}" #Минимальная команда - CMD="${config[cmd]} -i ${config[stream]} -f ${config[output_format]}" + CMD="${config[cmd]} -f ${config[input_format]} -i ${config[stream]} -f ${config[output_format]}" #КОДИРОВАНИЕ # enableOption output_format -c %% @@ -256,13 +256,13 @@ config=( [mountpoint]="" [cmd]="ffmpeg" [input_format]="mpegts" - [input_channel]="0" + [input_channel]="" [archive_dir]="" - [archive_time]="3600" - [archive_log]="/var/log/tuc01_archive.log" + [archive_time]="" + [archive_log]="" [slices_dir]="" - [slices_time]=10 - [slices_log]="/var/log/tuc01_slices.log" + [slices_time]="" + [slices_log]="" [filename_prefix]="%Y-%m-%d_%H:%M:%S" [filename_suffix]="mp2" [output_format]="mp2"