Opus files have a hiccup when transitioning to album next track

Issue description:

I have an album that when changing to a particular track in the album (track 4 → 5) there is a hiccup when they are opus files. Flac, mp3 and vorbis all play fine with perfect gapless and no hiccup.

I normally use Navidrome for my backend with 99% of the files being flac. I had transcoding on at the time which transcoded this album to opus when I noticed the hiccup. To test more I manually transcoded the album to opus and moved it to local storage on my phone and it did the same thing. I tested the same opus files in poweramp, foobar2000 and musicolet and they all played it fine with no hiccup.

I’m not sure what relevant settings you would need to know, but I have Prefer internal decoder on and nothing crazy in the EQ stuff other than a preamp. I have uploaded my logs and the 2 tracks in question in both the flac and opus form.

Not really a big issue for me, but figure I would pass it along. Let me know if you need any more information.

Thanks!

Logs:

Upload description: FIles for opus hiccup (tchilderhose)

Additional information:

 

 

Reproduction steps:

 

 

Media provider:

Local device

Screenshots:

     

Opus have nothing related to gapless unlike some other codecs, so having perfect gapless in all cases is more complicated.

With that said for your files I have no idea, there’s a minimal small gap but it occurs in all cases so seems tied to low level stuff in ExoPlayer and since it does not log anything special, and they lack ressources for this kind of report , I’m not sure there’s much I can do.

Alright no worries. Flac is what I usually listen to anyways, was just transcoding a bunch for a trip which is when I noticed it.

I did know about the lack of gapless data for opus; with the forced 48k and odd choice to do their own R128 stuff as well, its too bad they sort of took a mini step backwards from vorbis in terms of music playing compatibility.

Hopefully Google keeps fixing opus playback stuff like this in Exo now that YT music is all opus.

Thanks for looking into it!