I experience annoying stuttering/rebuffering problems during the rescan of the music library, especially when playing high resolution files. The problem occurs only with the internal scanner. If I rescan manually with external scanner.pl (or if external scanner usage is forced by plugin configuration) I don't have same symptoms.
I have made some extensive testing with different sampling frequencies (higher frequency causes worse playback i.e. more rebuffering) and bit depths (24bit causes more problems than 16bit). I also compared wav against flac and suprisingly wav was causing more rebuffering. So it seems (to me) that the problem is related to output stream bitrate from server. This is also supported by the fact that 29MB size 88k2_16bit.flac worked better that 35M size 48k_24bit.flac (of same song). Perhaps the Slim/Utils/Scheduler.pm background tasks like internal scanner are some how blocking and/or limiting the output stream. I'm sure this is not the problem with my network because problem occurs also with local player and for remote player I have 1GBit ethernet connection.
I tried to look the code but could understand the related logic and didn't find any fix. Has anyone else experienced the same?
Could anyone help to solve the problem?
I have tried both 7.7 and 7.8 versions of the server and squeezeplay (in Linux).
I have made some extensive testing with different sampling frequencies (higher frequency causes worse playback i.e. more rebuffering) and bit depths (24bit causes more problems than 16bit). I also compared wav against flac and suprisingly wav was causing more rebuffering. So it seems (to me) that the problem is related to output stream bitrate from server. This is also supported by the fact that 29MB size 88k2_16bit.flac worked better that 35M size 48k_24bit.flac (of same song). Perhaps the Slim/Utils/Scheduler.pm background tasks like internal scanner are some how blocking and/or limiting the output stream. I'm sure this is not the problem with my network because problem occurs also with local player and for remote player I have 1GBit ethernet connection.
I tried to look the code but could understand the related logic and didn't find any fix. Has anyone else experienced the same?
Could anyone help to solve the problem?
I have tried both 7.7 and 7.8 versions of the server and squeezeplay (in Linux).