I used the silencedetect of ffmpeg with noise value of -30dB to get the silent parts of a small video file & used those timestamps to trim(remove) & re-encode the silent parts of the video.
I had used the audio peak meter in Shotcut(a video editor software) to see that anything below -30dB can be considered as silence.
When I opened the re-encoded output video file in Shotcut, I saw that there were still some sections of video that were below -30dB which must have been removed by the silenceremove method(these were also longer in duration than the silence duration value I had into ffmpeg).
On closer inspection, I realized that the audio peak meter shown in Shotcut measures in dBFS & the noise value I entered in ffmpeg is in dB.
My knowledge of audio signal is very basic & hence I looked up what's dBFS. I understood that dBFS stands for dB Full Scale & is somehow related to the maximum possible volume in a WAV format.
My question is, how to pass the value in dBFS to ffmpeg instead of in dB? I checked the ffmpeg documentation & it does not say that we can pass values in dBFS.
OR
If there is any method to get the relation between the dBFS value in the video file and the dB value that must be entered into the ffmpeg command, that would also be helpful.