diff --git a/stempeg/read.py b/stempeg/read.py index 0c3a46b..378e0d3 100644 --- a/stempeg/read.py +++ b/stempeg/read.py @@ -47,7 +47,7 @@ def read_info( cmd = [ 'ffprobe', filename, - '-v', 'quiet', + '-v', 'error', '-print_format', 'json', '-show_format', '-show_streams', ] @@ -115,7 +115,7 @@ def read_stems( '-acodec', 'pcm_s16le', '-ar', str(rate), '-ac', str(channels), - '-loglevel', 'panic', + '-loglevel', 'error', tmps[tmp_id].name ] sp.call(cmd) diff --git a/stempeg/write.py b/stempeg/write.py index bc49f6b..9034fbc 100644 --- a/stempeg/write.py +++ b/stempeg/write.py @@ -17,7 +17,7 @@ def check_available_aac_encoders(): cmd = [ 'ffmpeg', - '-v', 'quiet', + '-v', 'error', '-codecs' ] @@ -102,7 +102,7 @@ def write_stems( '-acodec', codec, '-ar', "%d" % rate, '-strict', '-2', - '-loglevel', 'panic' + '-loglevel', 'error' ] + (['-ab', str(bitrate)] if (bitrate is not None) else []) + (ffmpeg_params if ffmpeg_params else []) +