add ignore_chapters to ffmpeg dec process to skip error message: Referenced QT chapter track not found
This commit is contained in:
parent
c1af2fba03
commit
6c4089974a
@ -172,7 +172,7 @@ pub fn write_hls(
|
||||
node.source
|
||||
);
|
||||
|
||||
let mut enc_prefix = vec_strings!["-hide_banner", "-nostats", "-v", &ff_log_format];
|
||||
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(
|
||||
|
@ -99,7 +99,7 @@ pub fn player(
|
||||
);
|
||||
|
||||
let mut filter = node.filter.unwrap();
|
||||
let mut dec_cmd = vec_strings!["-hide_banner", "-nostats", "-v", &ff_log_format];
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user