From 193d5f30fb2392790eb54b559a1e3f6107e4a023 Mon Sep 17 00:00:00 2001 From: Andrew Weaver Date: Mon, 28 Jan 2019 16:56:15 -0800 Subject: [PATCH] start trim start silence update id --- index.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/index.html b/index.html index e1fc863..44e107a 100644 --- a/index.html +++ b/index.html @@ -1218,6 +1218,25 @@ + + + +
+

Remove silent portions at the beginning of an audio file

+

ffmpeg -i input_file-af silenceremove=start_threshold=-57dB:start_duration=1:start_periods=1output_file

+

This command will automatically remove silence at the beginning of an audio file. The threshold for what qualifies as silence can be changed - this example uses anything under -57dB, which is a decent level for accounting for analogue hiss.

+
+
ffmpeg
starts the command
+
-i input_file
path, name and extension of the input file (e.g. input_file.wav)
+
-af silenceremove
applies the silence remove filter
+
start_threshold=-57dB
tells the filter the threshold for what to call 'silence' for the purpose of removal. This can be increased or decreased as necessary.
+
start_duration=1
This tells the filter how much non-silent audio must be detected before it stops trimming. With a value of 0 the filter would stop after detecting any non-silent audio. A setting of 1 allows it to continue trimming through short 'pops' such as those caused by engaging the playback device, or the recorded sound of a microphone being plugged in.
+
start_periods=1
This tells the filter to trim the first example of silence it discovers from the beginning of the file. This value could be increased to remove subsequent silent portions from the file if desired.
+
output_file
path, name and extension of the output file (e.g. output_file.wav).
+
+
+ +

Work with interlaced video