diff --git a/index.html b/index.html index 75cb975..01f080d 100644 --- a/index.html +++ b/index.html @@ -1225,7 +1225,7 @@
ffmpeg -i input_file -af silenceremove=start_threshold=-57dB:start_duration=1:start_periods=1 -c:a your_codec_choice -ar your_sample_rate_choice output_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 -57 dB, which is a decent level for accounting for analogue hiss.
-Note: Since this command uses a filter, the audio stream will be re-encoded for the output. If you do not specify an output sample rate and codec this command will use the defaults for your output format. Take care that you are getting your intended results!
+Note: Since this command uses a filter, the audio stream will be re-encoded for the output. If you do not specify a sample rate or codec, this command will use the sample rate from your input and the codec defaults for your output format. Take care that you are getting your intended results!
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.-c:a pcm_s24le
.-ar 96000
.ffmpeg -i input_file -af areverse,silenceremove=start_threshold=-57dB:start_duration=1:start_periods=1,areverse -c:a your_codec_choice -ar your_sample_rate_choice output_file
This command will automatically remove silence at the end of an audio file. Since the silenceremove
filter is best at removing silence from the beginning of files, this command used the areverse
filter twice to reverse the input, remove silence and then restore correct orientation.
Note: Since this command uses a filter, the audio stream will be re-encoded for the output. If you do not specify an output sample rate and codec this command will use the defaults for your output format. Take care that you are getting your intended results!
+Note: Since this command uses a filter, the audio stream will be re-encoded for the output. If you do not specify a sample rate or codec, this command will use the sample rate from your input and the codec defaults for your output format. Take care that you are getting your intended results!
-c:a pcm_s24le
.-ar 96000
.