Join Nostr
2026-03-03 23:34:55 UTC

James Cridland on Nostr: I don’t know how many podcast hosts are re-encoding audio, but I’ve just learnt ...

I don’t know how many podcast hosts are re-encoding audio, but I’ve just learnt the magic of ffmpeg’s silence detection. Within your ffmpeg command...

`-af silenceremove=1:0:-50dB:stop_periods=1:stop_duration=0:stop_threshold=-50dB`

This removes silence from the beginning and end of files; my daily file always ends with a little jingle which has quite a bit of silence at the end of it. This audio filter automatically removes it. Given three seconds of silence at the end, if I have 2,000 downloads at 128kbit/s that’s 120MB of data saved. Every little helps, as they say.