98% CPU load after from Samsung TV

Posted:
Fri Dec 27, 2019 4:25 pm
by Uran255
After i have streamed a video with serviio DLNA i keep having 98% CPU load from ffmpeg(2.7.1 Intel SMD included in Serviio) on my Synology DS214play. I have tried many things including hard reset of the synology box.
Re: 100% CPU after after from TV

Posted:
Fri Dec 27, 2019 4:27 pm
by Uran255
screenshot of the processes and the cpu load
Re: 98% CPU load after from Samsung TV

Posted:
Sat Dec 28, 2019 9:35 am
by Uran255
stopping and starting the serviio server put the load back at 5-10% it seems like a bug in ffmpeg, some kind of endless loop.
Re: 98% CPU load after from Samsung TV

Posted:
Sat Dec 28, 2019 4:29 pm
by Uran255
looks like the issue has been fixed, now it will return to normal load after some time.
Re: 98% CPU load after from Samsung TV

Posted:
Sun Dec 29, 2019 3:42 am
by atc98092
FFMPEG only runs when media requires transcoding. If it is only audio, CPU load usually is insignificant. However, video transcoding will almost always max out the CPU, regardless of the power available. The main difference is a faster CPU will complete the transcoding faster, and therefore FFMPEG will close well before the video has been completely watched. However, if the CPU can't keep up with transcoding, as can happen with lower powered NAS devices or computers, it might not be able to transcode as quickly as the video is being watched, which causes pauses/buffering.
I wouldn't worry about the CPU load, if your NAS device is powerful enough to keep up. If the NAS can't keep up, I would suggest either using a player that supports your media (such as the Nvidia Shield, which can play almost anything) or convert your media into something your existing player (TV) supports.
Again, if only the audio needs transcoding, you shouldn't be seeing that sort of CPU load. But if the profile you're using is causing unnecessary transcoding of the video, then you need a better profile. I believe we're already working on that for you.