mpv player should be able to do it, if you install the script.
F-Droid
F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device.
Matrix space | forum | IRC
Thank you.
Found one on the net to be added into mpv.conf:
lavfi-complex='[aid1] silenceremove=1:0:-45dB:0:any:-1:0:-45dB:0:any:rms:0.002 [ao]'
-
newpipe can play offline files I'm pretty sure
-
there is an ffmpeg flag to skip silences though it hasn't worked all that well for me. I don't know whether any audio player apps try to use it. In the worst case you could do something awful like run ffmpeg on a PC or under termux to make a new audio file with the silences removed, and then play that under some other app.
-
I don't remember whether rockbox had that feature but I think efforts to port rockbox to Android eventually stalled due to technical obstacles. No idea whether newer Android versions could help with that.
newpipe can play offline files I’m pretty sure
Don't think that this is true (unless we are talking about a fork that I am not familiar with). The FAQ has an entry on this and mentions that you need to use an external player. I use mpv and VLC.
newpipe can play offline files
Really?