edd-- 2 Posted December 20, 2016 Posted December 20, 2016 Hi, I'm using docker to run emby-server on debian. I have set --cpuset-cpus=0-7 and in the emby server config I have tried the MAX setting, but when I start transcoding, only 1 core is being used @ 100% (using htop). I tried disabling throttling, but that doesn't help either. Does anyone have an idea on how to achieve real multithreaded transcoding in docker ? OR ... am I looking at this the complete wrong way and does 1 single file transcode never spread out over different cores in Emby ? Even without Docker ? Thanks for anyone's insight ... edd--
Luke 40078 Posted December 20, 2016 Posted December 20, 2016 By default it will use all available cores, and the max setting as well as Auto should be fine. Please note, not all encoders within ffmpeg are support multi-threading, although libx264 does which is the one we use most frequently. I would test it a little more to see if it's happening every time. thanks !
edd-- 2 Posted December 22, 2016 Author Posted December 22, 2016 Well, I tried some more and I always only get one core doing the work when playing a movie. (live transcoding) Transcoding for syncing however DOES use all cores ... is this normal behaviour ?
Luke 40078 Posted December 22, 2016 Posted December 22, 2016 Transcoding for sync uses a single core by default. You can change this in the server dashboard under Sync settings.
edd-- 2 Posted December 23, 2016 Author Posted December 23, 2016 I know, syncing does use all cores, it's live streaming that only uses 1 ...
Luke 40078 Posted December 23, 2016 Posted December 23, 2016 Hi @@edd--, live streaming does use all available cores, unless you customized this in the Transcoding menu. If you can provide an ffmpeg log then I can demonstrate this to you. You can learn how to do that here: https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ Thanks !
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now