From 7674db7f71004ff17952a653a89c293366e9a800 Mon Sep 17 00:00:00 2001 From: Mello-Yello Date: Fri, 27 Jul 2018 16:05:44 +0200 Subject: [PATCH] Trim silence at the beginning of a song --- core/convert.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/convert.py b/core/convert.py index 1e56c64..19ace4e 100644 --- a/core/convert.py +++ b/core/convert.py @@ -75,6 +75,7 @@ class Converter: # add common params for any of the above combination ffmpeg_params += '-b:a 192k -vn ' + ffmpeg_params += '-af silenceremove=start_periods=1 ' ffmpeg_pre += ' -i' command = ffmpeg_pre.split() + [self.input_file] + ffmpeg_params.split() + [self.output_file]