14
submitted 4 months ago by Achyu@lemmy.sdf.org to c/fdroid@lemmy.ml

Newpipe and Just (video) player have this function, but the former cannot play offline files and the latter cannot play audio files. I can rename the audio file to mp4 and play it in Just player, but it doesn't have a background play option.

From what I've searched on the net, in both apps the feature us implemented from ExoPlayer. On F-droid, Auxio audio player mentions ExoPlayer, but does not seem to have the feature available.
Are there any foss apps that has the feature to Skip silence for audio files?

all 8 comments
sorted by: hot top controversial new old
[-] solrize@lemmy.world 3 points 4 months ago
  1. newpipe can play offline files I'm pretty sure

  2. 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.

  3. 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.

[-] donio@lemmy.world 3 points 4 months ago

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.

[-] Achyu@lemmy.sdf.org 1 points 4 months ago

newpipe can play offline files

Really?

[-] solrize@lemmy.world 1 points 4 months ago

I believe so? It can download files and it can play them.

[-] Wistful@discuss.tchncs.de 2 points 4 months ago

mpv player should be able to do it, if you install the script.

[-] Achyu@lemmy.sdf.org 2 points 4 months ago* (last edited 3 months ago)

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]'

Edit:
The above command causes the visuals to be out-of sync in videos.
Searched for an alternative and got to know that the api29 version apk of mpv-android allows the use of scripts.
The skip-silence script is quite good.

Along a tangent, the skipchapters script is also quite useful, that I've started to use mpv more than vlc due to these scripts.

this post was submitted on 08 Jul 2024
14 points (100.0% liked)

F-Droid

8080 readers
3 users here now

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.

Website | GitLab | Mastodon

Matrix space | forum | IRC

founded 3 years ago
MODERATORS