Playback stopping randomly at track end or when seeking

Issue description:

Hi tolriq,

Ive recently been having issue with playback. I can be listening fine and then seemingly random songs will fail to play and cause future songs to also fail until playback ceases due to too many errors.

I also found by seeking further into a song it forces the same error which is what can be found in my log.

Logs:

Upload description: geomusicmaker

Additional information:

 
I can only resume play by holding down play and starting a new session. The error eventually starts again.
 

Reproduction steps:

 

  1. Play song
  2. Song finishes and goes to next song
  3. Next song fails to play and skips
  4. Subsequent songs fail to play
  5. Playback stops due to too many errors
     

Media provider:

Emby

Screenshots:

     

The server have errors with transcoding, sometimes returns error 500, sometimes invalid data.

Check Emby logs

I think you’re right as when I’m playing original quality, tracks which were failing play fine. I’ll see if I can find anything in the emby logs. Will report back my findings.

I’ve created a thread on the Emby support forum and uploaded the Emby logs there. Would you like to see them here too?

I can’t do Emby support so not really :slight_smile:

Hi Tolriq, just wanted to give you a heads up, I’ve tagged you in the ongoing thread on the Emby support forum (link: https://emby.media/community/index.php?/topic/144689-music-transcoding-failing-on-specific-tracks-via-symfonium/page/2/#comment-1507931) I’ve still not resolved this issue and haven’t got anywhere with the Emby team. Hoping your knowledge of Symfonium could help them find where this is going wrong.

Hi Tolriq, I’ve just uploaded a new log highlighting a sequence of tracks succeeding and failing to play. The tag should be “geomusicmaker transcoding error”.

Looks like errors begin around 16:21:09

Nothing have changed the server returns error 500 then invalid data.

As I said not much I can do here. You can try another server like GitHub - epoupon/lms: Lightweight Music Server. Access your self-hosted music using a web interface. or Navidrome.

Damn. Shame there’s nothing you can do.

I’ve seen OPUS being problematic for Emby in the past on their forums but nothing that lines up exactly with my issue.

Have you come across anyone else having similar issues?

Just wanted to check something with you. Does Symfonium use HLS or progressive transcoding?

I think the issue may be that Emby is transcoding too quickly (due to track length or small file size) and Symfonium isn’t getting its stream request to it in time before the transcoding job has closed. This would be a problem if it’s only using progressive streaming as it wants a stream rather than a completed file.

Seeing as you update Symfonium far more frequently, I wondered if there was any adjustment you can make on your end to either speed up Symfonium’s request or ask the Emby server for more time?