This commit is contained in:
jb-alvarado 2022-08-08 11:53:48 +02:00
parent 6c4089974a
commit 1f42fce994
2 changed files with 16 additions and 2 deletions

View File

@ -172,7 +172,14 @@ pub fn write_hls(
node.source
);
let mut enc_prefix = vec_strings!["-hide_banner", "-nostats", "-v", &ff_log_format, "-ignore_chapters", "1"];
let mut enc_prefix = vec_strings![
"-hide_banner",
"-nostats",
"-v",
&ff_log_format,
"-ignore_chapters",
"1"
];
enc_prefix.append(&mut cmd);
let enc_filter = node.filter.unwrap();
let enc_cmd = prepare_output_cmd(

View File

@ -99,7 +99,14 @@ pub fn player(
);
let mut filter = node.filter.unwrap();
let mut dec_cmd = vec_strings!["-hide_banner", "-nostats", "-v", &ff_log_format, "-ignore_chapters", "1"];
let mut dec_cmd = vec_strings![
"-hide_banner",
"-nostats",
"-v",
&ff_log_format,
"-ignore_chapters",
"1"
];
dec_cmd.append(&mut cmd);
if filter.len() > 1 {