mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-29 21:31:23 +00:00
Trim silence at the beginning of a song
This commit is contained in:
@@ -75,6 +75,7 @@ class Converter:
|
|||||||
|
|
||||||
# add common params for any of the above combination
|
# add common params for any of the above combination
|
||||||
ffmpeg_params += '-b:a 192k -vn '
|
ffmpeg_params += '-b:a 192k -vn '
|
||||||
|
ffmpeg_params += '-af silenceremove=start_periods=1 '
|
||||||
ffmpeg_pre += ' -i'
|
ffmpeg_pre += ' -i'
|
||||||
command = ffmpeg_pre.split() + [self.input_file] + ffmpeg_params.split() + [self.output_file]
|
command = ffmpeg_pre.split() + [self.input_file] + ffmpeg_params.split() + [self.output_file]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user