AlexSol 1 Posted September 16, 2024 Posted September 16, 2024 Hi! Maybe anyone faced the same or similar issue and can show me the direction to solve it. I faced the issue that Emby can't decode H265 (HEVC) on my hardware that suppose to do it. My hardware: Intel NUC 5I5RYH (Intel Core i5 5250U, Intel HD Graphics 6000). I use Proxmox. Emby installed via LXC. Hardware acceleration works fine as long as it is for H264. It works via Quick Sync as well as via VAAPI. But recently I tried to play HEVC movie and faced issue that direct play works fine but any video transcoding (bitrate limit) leads to full stop. As far as I know my hardware must be able to decode HEVC well. Emby shows me such an option in advanced settings. I attached a few logs: 1) Hardware detection log 2) Emby server log 3) Transcode H265 -> H264 log (with issues using Quick Sync) 4) Transcode H264 -> H264 log (no issues using Quick Sync). There is also no issues H264 -> H264 using VAAPI but didn't attach the log. ---- A few highlights: >>>>>> FindVideoEncoder - MediaType: h264, UseHardwareCodecs: True, HWA-Mode: Automatic Info Checking: 'VAAPI HD Graphics 6000 - H.264 (AVC)' Info Check successful - selecting 'VAAPI HD Graphics 6000 - H.264 (AVC)' >>>>>> FindVideoDecoder - MediaType: hevc, UseHardwareCodecs: True, HWA-Mode: Automatic Info Checking: 'QuickSync HD Graphics 6000 - H.265 (HEVC)' Info Check successful - selecting 'QuickSync HD Graphics 6000 - H.265 (HEVC)' >>>>>> Processing Plan Name CanDoInHW WillDoInHW Reason QuickSync HD Graphics 6000 - H.265 (H... >> True True Hardware Codec VideoInput >> False False Incompatible hardware context. (Decoder: QuickSync, ... Scaling >> True True VideoOutput >> True True Hardware encoder VAAPI HD Graphics 6000 - H.264 (AVC) >> True True Hardware Codec >>>>>> Video Processing Steps for [0:0]: H.265 (HEVC) Step HW-Context Format SW-Format Size Next HEVC_QSV >> QSV qsv nv12 1720x720 >> hwdownload hwdownload >> - nv12 nv12 1720x720 >> format format >> - nv12 nv12 1720x720 >> format format >> - yuv420p yuv420p 1720x720 >> hwupload hwupload >> VAAPI vaapi_vld nv12 1720x720 >> scale_vaapi scale_vaapi >> VAAPI vaapi_vld nv12 426x178 >> 23:34:53.693 subtitle input filter: decoding size 384x288 23:34:53.697 [hevc_qsv @ 0x1bf87c0] Error querying IO surface: unsupported (-3) 23:34:53.697 Error while decoding stream #0:0: Function not implemented 23:34:53.698 subtitle_kickoff: call subtitle_resend_current 13843 frame->format: 3 23:34:53.698 subtitle input filter: decoding size 384x288 23:34:53.698 [hevc_qsv @ 0x1bf87c0] More data is required to decode header 23:34:53.698 subtitle_kickoff: call subtitle_resend_current 13760 frame->format: 3 hardware_detection-63861943896.txt ffmpeg-transcode-4b164162-0359-4820-9fdd-5a66e23b4f95_1.txt embyserver-63861955200.txt
Neminem 684 Posted September 16, 2024 Posted September 16, 2024 I do not believe your iGPU can handle Hevc files. Your CPU is a 5th gen. CPU. And HEVC is only supported with 6th gen and after. https://www.intel.com/content/www/us/en/support/articles/000037112/graphics.html Intel Core i55250U Processor 3M Cache up to 2.70 GHz Product Specifications
AlexSol 1 Posted September 16, 2024 Author Posted September 16, 2024 (edited) It is not the question of "believe". It is fact that it can and it do it well. It had to be obvious based on the fact that even Emby itself detect such an option. The only question why it doesn't work in Emby. The Broadwell series with iGPU HD 6000 can't "encode" to HEVC but decode it fine. + I did decoding with low-level tools back in past when I been working in video editing on this NUC for my software projects. P.S. I don't know whether you need any proofs except my past experience but here a few links if anybody interested: 1. HEVC in Broadwells 2. wiki Edited September 16, 2024 by AlexSol A few more links
Neminem 684 Posted September 16, 2024 Posted September 16, 2024 You might be right, but dev's will need to answer as it see this in your logs. 23:35:01.632 [hevc_qsv @ 0x1bf87c0] Error querying IO surface: unsupported (-3) 23:35:01.632 Error while decoding stream #0:0: Function not implemented
AlexSol 1 Posted September 21, 2024 Author Posted September 21, 2024 Sure, thanks, let wait for dev's.
AlexSol 1 Posted November 4, 2024 Author Posted November 4, 2024 Well, I've never figured this out so I just change my hardware.
Luke 38803 Posted November 10, 2024 Posted November 10, 2024 On 11/4/2024 at 5:30 AM, AlexSol said: Well, I've never figured this out so I just change my hardware. Hi, what are you going to change to?
Solution AlexSol 1 Posted November 14, 2024 Author Solution Posted November 14, 2024 On 11/11/2024 at 2:01 AM, Luke said: Hi, what are you going to change to? I sold my Intel NUC with 5th gen CPU. I build a completely new server/PC based on 12th gen i3 12100. Now everything works smoothly. 1
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