dexus 17 Posted November 7, 2020 Share Posted November 7, 2020 My emby server stopped using the vaapi hardware transcoder on my DS416play. It uses software transcoding only. In the transcoding section "advanced" is selected, and the vaapi hw is listed and detected as usual. In the startup log i found "-ignore_vaapi_enabled_flag" in the ffmpeg startup.. looks like it disables vaapi somehow. I have a lifetime premiere subscription, so it should be enabled. Here's my server startup log, and a transcoding log. It was working fine after we initially had problems with the new version, but now, out of the blue it stopped working. I have tried: Restarting the server, Restarting the whole NAS, turning on and off transcoding in the "transcoding" section, checked permissions for the emby user. Any help appreciated. embyserver.txt ffmpeg-transcode-280a9899-0b3c-41f1-a8e5-2137e05c7951_1.txt hardware_detection-63740337236.txt Link to comment Share on other sites More sharing options...
softworkz 3325 Posted November 9, 2020 Share Posted November 9, 2020 On 11/7/2020 at 9:29 AM, dexus said: In the startup log i found "-ignore_vaapi_enabled_flag" in the ffmpeg startup.. looks like it disables vaapi somehow. Absolutely not. It rather does the opposite. On Synology, GPU devices are often reported as not enabled: The startup flag makes Emby ignore the incorrectly reported IsEnabled flag. On 11/7/2020 at 9:29 AM, dexus said: It was working fine after we initially had problems with the new version, but now, out of the blue it stopped working. This cannot have worked before (with the file shown in the ffmpeg log) with a full transcoding because your Atom CPU (CherryView) is not capable to hardware-decode 10bit HEVC video. Emby does the right thing in the ffmpeg log But then it does something wrong: it assumes that it can upload the 10bit video to the hardware and do the conversion there, but that fails. This seems to be due to a bug in the detection of color format support. I will investigate that. I would assume that VAAPI transcoding for other videos (H.264 and non-10bit HEVC) still works. Can you confirm this? Thanks. Link to comment Share on other sites More sharing options...
dexus 17 Posted November 10, 2020 Author Share Posted November 10, 2020 Thanks for the reply. The DS416Play does not have an atom processor. It has an Intel Celeron N3060 Braswell. It does support Hevc decode in hardware, but I could not find in the Intel spec-sheet any information about the bitrate.. so you might be right about the 10-bit support. However.. and this is me asking.. How come it doesn't encode in hw? I get that it has to use a software decoder to read the 10-bit hevc file (probably) but how come it doesn't use the HW 264x encoder when transcoding? I am in no way an expert here.. so I might be asking something silly, but it sounded logical to use the hw encoder to save cpu.. Link to comment Share on other sites More sharing options...
softworkz 3325 Posted November 10, 2020 Share Posted November 10, 2020 (edited) 1 minute ago, dexus said: but how come it doesn't use the HW 264x encoder when transcoding? On 11/9/2020 at 4:20 AM, softworkz said: But then it does something wrong: it assumes that it can upload the 10bit video to the hardware and do the conversion there, but that fails. This seems to be due to a bug in the detection of color format support. I will investigate that. PS: "it" means Emby Server Edited November 10, 2020 by softworkz Link to comment Share on other sites More sharing options...
dexus 17 Posted November 10, 2020 Author Share Posted November 10, 2020 (edited) Sorry.. missed that Thanks for investigating I can confirm that hw transcoding works with other formats. Edited November 10, 2020 by dexus Link to comment Share on other sites More sharing options...
Luke 36999 Posted November 13, 2020 Share Posted November 13, 2020 Thanks for the feedback. Link to comment Share on other sites More sharing options...
softworkz 3325 Posted November 21, 2020 Share Posted November 21, 2020 @dexus - This should be fixed in today's beta (in case you wouldn't mind to try a beta version). 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