Post Wed Sep 10, 2014 2:42 pm

Playback lags solved when transcoding on single core cpu

Hi everyone, I had the problem, that video playback on my TV was lagging sporadically when the video file had to be transcoded.
In my case, Serviio was run on an old Athlon64 3200+ single core computer (Windows XP). I have found out, that the lagging was caused by ffmpeg, which had used 100% of the cpu power. I suppose, that this was too much cpu load, so that Serviio didn't have enough resources left, to stream the video without interruptions.
The lags appeared during all videos that were transcoded, and the lags stopped to occur when ffmpeg was done (and the video was still playing).

My solution was to set the ffmpeg task to low priority (in the task manager) permanently - this has completely removed the lags.

Maybe this helps other users with such old computers ;)
Maybe it could also be added as option to Serviio, that ffmpeg is executed with low task priority (however, this is of course OS-dependent)