sentriz / gonic

music streaming server / free-software subsonic server API implementation
ircs://irc.libera.chat/#gonic
GNU General Public License v3.0
1.49k stars 105 forks source link

prallel transcoding prioritization #442

Closed luopa closed 5 months ago

luopa commented 6 months ago

gonic version: v0.16.2

docker tag: latest

in general, playback of transcoded songs works.

however, under certain circumstances the prallel transcoding prioritization seems to fail.

steps to reproduce

i can observe this with symfonium. however, eg. not with dsub. it seems as if dsub only requests one transcoding job at a time, whereas symfonium requests multiple?

would be happy to provide further information/logs if needed?

in any case - thanks for all the work on gonic. its currently my goto music server and i love it!

sentriz commented 6 months ago

some more logs would indeed be handy if you had them. or more info about how symfonium makes its requests. I would have a look but it's a proprietary app :(

fwiw gonic handles parallel transcoding fine in my testing so far

luopa commented 6 months ago

hi sentriz, i ran another test and collected some logs:

notice how song "1. Desecration smile" at the first playback-try doesnt further transcode and hangs after a few seconds. afterwards, when i come back to it, it nicely transcodes and buffers and everything seems fine.

i hope this provides some clues?

best, luopa

sentriz commented 6 months ago

it's very hard to debug this without access to the symfonium app or source. would you mind asking the symfonium devs to help with this? FWIW parallel transoding works fine in all my testing so far

luopa commented 5 months ago

i checked with symfonium dev: he suggested it might be related to .opus file format i transcoded to. (see post in symfonium forum)

switched to .mp3 and indeed - the issue is gone.

don't understand the technicalities about it - but it works for me with .mp3 :-)

so i'm calling this issue closed from my side.

thanks again for all your work on gonic!