ldnrvio0n934 0 Posted March 27, 2019 Share Posted March 27, 2019 (edited) Hi, I run Emby in docker (official emby/embyserver) under Ubuntu on a Intel NUC8i5. I have Premiere and have enabled VAAPI which is working. There's a strange thing going on when I play 4K movies with DTS on Android TV and Xbox ONE though. It direct streams the video and transcode the audio stream to AC3 which should be correct. There's however a spike on just 1 CPU (out of 8) which is maxed out and the Movie isn't playable, it stutters. When I select an AC3 stream in the client there's no stuttering. Please see attached logs. embylog.zip Edited March 27, 2019 by ldnrvio0n934 Link to comment Share on other sites More sharing options...
Luke 37248 Posted March 29, 2019 Share Posted March 29, 2019 Hi there, if you lower the in-app quality setting to force a full transcode, does this still happen? Link to comment Share on other sites More sharing options...
ldnrvio0n934 0 Posted March 30, 2019 Author Share Posted March 30, 2019 Hi there, if you lower the in-app quality setting to force a full transcode, does this still happen? Hi, there's no stuttering when I force transcode. Link to comment Share on other sites More sharing options...
ldnrvio0n934 0 Posted March 31, 2019 Author Share Posted March 31, 2019 Hi, this is my docker-compose.yml if it helps: version: "2.3" services: emby: image: emby/embyserver:beta mem_limit: 8g cpus: 8 privileged: true ports: - "8096:8096" volumes: - /media/aa/embyconf:/config - /media/aa/media:/mnt/ - /media/aa/tmp:/mnt/media_tmp - /media/aa/tmp:/mnt_tmp devices: - /dev/dri/renderD128:/dev/dri/renderD128 environment: - UID=1000 - GID=1000 - GIDLIST=44 - TZ="Europe/Brussels" Link to comment Share on other sites More sharing options...
ldnrvio0n934 0 Posted April 3, 2019 Author Share Posted April 3, 2019 Hi, I installed the Ubuntu version instead and it's the same situation. When I do "top" one can see that ffmpeg maxes out a CPU. Link to comment Share on other sites More sharing options...
Luke 37248 Posted April 6, 2019 Share Posted April 6, 2019 Hi, that's just the nature of ffmepg as it will go as fast as it can. Did you try enabling the throttling option in the transcoding section of the server dashboard? Link to comment Share on other sites More sharing options...
ldnrvio0n934 0 Posted April 13, 2019 Author Share Posted April 13, 2019 Hi, but shouldn't ffmpeg distribute the load on several CPUs? Is it compiled properly for dts->ac3 transcoding? Throttling doesn't solve the stuttering. Link to comment Share on other sites More sharing options...
Luke 37248 Posted April 13, 2019 Share Posted April 13, 2019 Hi, but shouldn't ffmpeg distribute the load on several CPUs? Yes, in theory, but this depends on how optimized the decoding & encoding algorithms are for multi-threaded use. Yes it is compiled properly. Can you try lowering the in-app quality setting? thanks. Link to comment Share on other sites More sharing options...
ldnrvio0n934 0 Posted April 13, 2019 Author Share Posted April 13, 2019 Can you try lowering the in-app quality setting? thanks. But I wan't to direct stream the video and transcode just the audio. That setting affects the video stream. Is the audio transcoding hw-accelerated at all? Link to comment Share on other sites More sharing options...
Luke 37248 Posted April 14, 2019 Share Posted April 14, 2019 Is the audio transcoding hw-accelerated at all? No, it's not. Link to comment Share on other sites More sharing options...
Luke 37248 Posted April 14, 2019 Share Posted April 14, 2019 We're also about to release Emby Server 4.1 so you could try that once available and see how that compares. Thanks. Link to comment Share on other sites More sharing options...
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