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?

    • Achyu@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      5 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.