Issue using any codec other than MP3 for transcoding #744
cristiano5
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Quite a strange one, and not linked to LMS specifically.
I switched over to LMS recently. Loving it. I read up about using Opus for streaming audio. It seemed to be much more efficient at lower bitrates than MP3 for streaming so I set that as my default transcoding codec in LMS.
I use Cloudlflared Tunnels as my reverse proxy as it's easy enough to use and it's free and I use Symfonium for the client on my phone. LMS works well behind Cloudflared with Symfonium and I was able to listen to many albums with this setup, until I started listening to longer audio tracks like Radio shows or DJ sets which may be an hour or more long. On every single show or dj set I listened to, after between 10 and 11 minutes, the audio just stopped. The play button on symfonium showed a moving circle around it showing that there was an issue with the stream.
I started to troubleshoot this issue. It doesn't happen when streaming locally, only through a proxy but there was nothing in the logs to show any issues of either LMS or the Cloudflared Tunnel. I eventually started changing the codecs and found that the only codec that this didn't happen to was MP3,
I installed Gonic, scanned my library into that and set up an external URL for access through Cloudflare. Same issue. When using any other codec than MP3, the audio stops on long audio files between the 10 and 11 min mark. Local streaming works fine though.
Not expecting a solution here but any ideas what might be going on? I can use MP3 or choose not to transcode at all, but Opus seems to be highly regarded for streaming at lower bitrates and providing higher quality. Nothing else reported online for anyone using Cloudflare either.
All reactions