Suppress less ffmpeg output when cutting

The "fatal" level was causing some useful errors to be suppressed.
pull/114/head
Mike Lang 5 years ago
parent 3fbbe59b00
commit 3a9543a4b5

@ -262,7 +262,7 @@ def ffmpeg_cut_segment(segment, cut_start=None, cut_end=None):
""" """
args = [ args = [
'ffmpeg', 'ffmpeg',
'-hide_banner', '-loglevel', 'fatal', # suppress noisy output '-hide_banner', '-loglevel', 'error', # suppress noisy output
'-i', segment.path, '-i', segment.path,
] ]
# output from ffprobe is generally already sorted but let's be paranoid, # output from ffprobe is generally already sorted but let's be paranoid,
@ -291,7 +291,7 @@ def ffmpeg_cut_stdin(cut_start, duration, encode_args):
This is used when doing a full cut.""" This is used when doing a full cut."""
args = [ args = [
'ffmpeg', 'ffmpeg',
'-hide_banner', '-loglevel', 'fatal', # suppress noisy output '-hide_banner', '-loglevel', 'error', # suppress noisy output
'-i', '-', '-i', '-',
'-ss', cut_start, '-ss', cut_start,
'-t', duration, '-t', duration,

Loading…
Cancel
Save