Server Version#: Version 1.13.5.5332
Player Version#: Unsure what we’re referring to here, but I encounter it both when streaming to my Chromecast 2nd gen, and while playing the file in the Chrome browser directly from my PMS interface.
Hi guys, first I’d like to preemptively apologize if this is in the wrong section.
When playing 1080p HEVC files I’m encountering issues when my DS218+ needs to transcode to h.264. If I’m not using HW transcoding, it sits at 100% CPU usage and buffers very frequently. When enabling HW transcoding it sits at basically 50% usage (46-50%) and will occasionally buffer. Sometimes I can play for 10 minutes without buffering, sometimes much less but it will happen eventually.
When I checked the logs the ‘transcode speed’ value was dipping below 1, so it was obviously having issues transcoding.
I suppose my question is if it’s normal for the DS218+ to only run one core/thread when transcoding HEVC (or in general, maybe codec doesn’t matter for this question). If it isn’t, any tips on how one might go about enabling PMS on the DS218+ to utilize more threads/cores while doing HW transcoding?
My PMS was first installed through the Synology packet manager, but afterwards I’ve manually installed the update .pkg, if that is relevant.
Depending on the codec, it’s entirely possible to see only one encoder thread.
Also, it doesn’t require multiple threads to feed the video to the hardware. It only reads from disk, puts it into memory, calls the hardware to work on it, then sends the output to you. It’s a very easy task.
The bigger question will be the codec involved, which you can see listed in the Media Info / XML for what you played.
Ok. I see what is happening and why it is single-threaded.
HEVC is multi-threaded as is H.264. Subtitles, if you are using them, are single-threaded and must be done by the CPU. The hardware ASIC does not support overlaying subtitles on video.
I tried disabling the subs on it and it’s utilizing way less CPU, between 10-20%, and I can also see multiple transcoder threads in the task manager. I haven’t run into any buffering on my test run yet, but I’ve only watched 6-7 minutes or so, but everything seems to indicate you’re correct.
I’d never have thought of burning in the subs being the bottleneck, thanks for the tip. Is this something specific to VOBSUB codec of subs, or is it a general thing with subtitles? If it is, is there some way of getting around it?