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.
Published at
2026-03-03 23:34:55 UTCEvent JSON
{
"id": "65c3d3cecd51b480cb6f666f826a61c1527879593081b81d484197a735edbd1e",
"pubkey": "452fa1bb618154a61b5b88d325446577ed6095a21bb29e1049b4acb04d2e61bb",
"created_at": 1772580895,
"kind": 1,
"tags": [
[
"proxy",
"https://bne.social/users/james/statuses/116167861536338549",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "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...\n\n`-af silenceremove=1:0:-50dB:stop_periods=1:stop_duration=0:stop_threshold=-50dB`\n\nThis 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.",
"sig": "9f39cbb1e28a10049820dc0f0bc892dd2cbc2fbf3c34064ac0e5937d06115afeafb80c4f34685d94c5cd7e7eac2c4a207a0d5aba6c1a24e0fd1b4e7369086784"
}