Jump to content

Intel Quicksync doesn't work with 10bit h.264


Recommended Posts

fuzzthekingoftrees
Posted

I have a few videos in 10 bit h.264  (profile high 10, pixel format yuv420p10le . If I enable intel quicksync then emby cannot transcode them.

 

The ffmpeg command uses

ffmpeg.exe -c:v h264_qsv  -i

which is forcing the input stage to use qsv but that codec does not support 10 bit. The ffmpeg log reports
 

 

[h264_qsv @ 00000000026d4900] Error initializing the MFX video decoder, unsupported video
Error while decoding stream #0:0: Invalid argument

 

 

Posted

Can you attach the complete ffmpeg log? thanks !

Posted

Ok thanks. We will exclude the decoder from 10 bit input.

Waldonnis
Posted

What GPU do you have? They don't all support it, and when it does, your motherboard may not.

 

https://communities.intel.com/thread/94254

 

Do any of them support h.264 High 10 (or derivatives)?  If they do, I never saw it in their developer docs, but I could've missed it before.  It's not commonly implemented hardware-wise in player devices, nor used outside of maybe anime circles, so it wouldn't surprise me if Intel didn't bother either - especially given that HEVC Main10 is more efficient and common.

Guest asrequested
Posted (edited)

Gen 7 is using the HD630 is more capable, but again, the motherboard chipset also needs to match the capability. I haven't researched deeply, but I imagine you'll need the Z270, with the correct BIOS.

Edited by Doofus
Guest asrequested
Posted (edited)

Double post

Edited by Doofus
Guest asrequested
Posted

Right, Kaby Lake covers HEVC Main10 en/decoding, but I still can't find any mention of h.264 High 10 anywhere in Intel documentation so far. Some generations may do it, but I just can't find a proper source to confirm it.

I have an i7 6700k. It doesn't support 10bit. The 7th gen are the only ones that do, with the correct motherboard choose.

Posted

I have an i7 6700k. It doesn't support 10bit. The 7th gen are the only ones that do, with the correct motherboard choose.

You mentioned correct motherboard but I can't find anything saying that the different chipsets support quicksync differently. As far as I can tell it only depends on the CPU's iGPU

Guest asrequested
Posted

You mentioned correct motherboard but I can't find anything saying that the different chipsets support quicksync differently. As far as I can tell it only depends on the CPU's iGPU

 

58c208aa2b589_Snapshot_4.jpg

Guest asrequested
Posted

And just a little side note. I have said on here a few times, that to enable the Intel GPU you have to hook an HDMI to your motherboard. I'm not 100% correct on that. It would appear that Luke has worked some magic and the server will use QuickSync without an HDMI attached. You were right @@Happy2Play, and great job @@Luke

Posted (edited)

58c208aa2b589_Snapshot_4.jpg

That just says to take full advantage of all the updated features, not that you need it for all of the features. I have feeling that's referring more to the Speed Shift than the quicksync. Unfortunately I don't have a 7th gen system to test it on but hopefully I can find someone willing to help me test it out.

Edited by bobhays
Guest asrequested
Posted

That just says to all the updated features. I have feeling that's referring more to the Speed Shift than the quicksync. Unfortunately I don't have a 7th gen system to test it on but hopefully I can find someone willing to help me test it out.

 

"The main new features of the platform include an update to Speedstep, native HEVC 10-bit plus VP9 encode and decode"

 

I found this, too.

 

https://www.extremetech.com/extreme/241950-intels-core-i7-7700k-reviewed-kaby-lake-debuts-desktop

 

58c220b16cf88_Snapshot_510.jpg

Waldonnis
Posted

 

 

"The main new features of the platform include an update to Speedstep,[/size] native HEVC 10-bit[/size] plus VP9 encode and decode"[/size]

 

I found this, too.[/size]

 

https://www.extremetech.com/extreme/241950-intels-core-i7-7700k-reviewed-kaby-lake-debuts-desktop

 

58c220b16cf88_Snapshot_510.jpg

 

The OP was specifically asking about 10bit h.264 (aka h.264 High 10), not HEVC (Main10), though.:

 

I have a few videos in 10 bit h.264  (profile high 10, pixel format yuv420p10le . If I enable intel quicksync then emby cannot transcode them.

They are implemented differently in silicon, so 10bit en/decoding doesn't necessarily apply to every codec even on Kaby Lake.  Kaby Lake might just support it, but I can't find any documentation to support this notion, hence my rather repetitive replies about not knowing if h.264 High 10 is supported in hardware.  Intel seems to love touting their HEVC Main10 and VP9 capabilities in KL, but seem to be light on details about any improvements on the h.264 side of things.  Their developer docs' enumeration of profiles suggest h.264 High 10 isn't supported by the silicon, though (could be outdated, but *shrug*; would be interesting to see the output from something like DXVA Checker on a KL system).

 

As for having to hook up an HDMI cable to allow it to function in the presence of a dGPU, I seem to recall a way to bypass that requirement by creating a dummy "monitor" for it, but that may not work with some motherboards (it doesn't on mine, so I keep it connected to a spare port on a nearby television).  And yeah, 4k streaming from some services (read: Netflix) requires MS' PlayReady 3.0 DRM scheme, which is only supported on Kaby Lake-based systems so far...which is irritating.

Waldonnis
Posted

Reading this thread, it would seem there is potential for it.

 

https://communities.intel.com/thread/104718

 

Not really, as that thread's more about 10bit display output rather than video codec decoding.  Actually, 30bpp display output has been supported for a while on many professional-level GPUs like the Quadro/FirePro lines, but many of those could never hardware decode HEVC Main10 or h.264 High 10 - the encoder/decoder silicon blocks just weren't there or designed to support that.

Guest asrequested
Posted

Not really, as that thread's more about 10bit display output rather than video codec decoding.  Actually, 30bpp display output has been supported for a while on many professional-level GPUs like the Quadro/FirePro lines, but many of those could never hardware decode HEVC Main10 or h.264 High 10 - the encoder/decoder silicon blocks just weren't there or designed to support that.

 

That's why I was originally saying that only 7th gen intels can do it. 

 

 

 

The OP was specifically asking about 10bit h.264 (aka h.264 High 10), not HEVC (Main10), though.:

 

Whether it's H.264 o h.265 is irrelevant. 10 bit color depth is independent of codec, and from what I read, hardware support for anything 10 bit is only on 7th gen with the Z270 chipset. 

JeremyFr79
Posted

That's why I was originally saying that only 7th gen intels can do it. 

 

 

Whether it's H.264 o h.265 is irrelevant. 10 bit color depth is independent of codec, and from what I read, hardware support for anything 10 bit is only on 7th gen with the Z270 chipset. 

Codec is very relavent as 10 bit is an extension of either 264 or 265 it is not in the base codec for either of them so a decoder could very easily support 10 bit in one but not the other codec.  Not to mention each codec requires it's own decoder.

Guest asrequested
Posted

Codec is very relavent as 10 bit is an extension of either 264 or 265 it is not in the base codec for either of them so a decoder could very easily support 10 bit in one but not the other codec.  Not to mention each codec requires it's own decoder

 

 But it doesn't look like there's hardware 10 bit support below gen 7, at all.  Which codec it is, is just about how much data (now that HEVC is native). The color depth is more about whether it will read it or not. If it can't read it, whether it has enough processing power is irrelevant. There was a sorta-kinda suggestion that gen 6 would because it's in the ball park of what it's intended to do. So like with mine, it supports HVEC with ease, but not 10 bit, because it's not designed to. Or at least that is what I'm seeing with what I've read, so far.

Posted

Codec is very relavent as 10 bit is an extension of either 264 or 265 it is not in the base codec for either of them so a decoder could very easily support 10 bit in one but not the other codec.  Not to mention each codec requires it's own decoder.

 

Since we are talking about hardware implementations, the 8 bit bs 10 bit even with the same codec is not trivial.

 

But as an answer to the OP's question: No platform currently offers 10bit h264 hardware decode (except the non working Rockchip RK3229). No platform currently offers hardware encoding either.

 

10bit h264 is very exotic format. Its use is almost completely limited to self encoded material by the anime community.

 

Chip makers have no plans to include hardware implementations now or in the future.

  • Like 2

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...