XBMC Community Forum
[Solved] 10-bit h264 (Hi10) Support? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Feature Suggestions (/forumdisplay.php?fid=9)
+--- Thread: [Solved] 10-bit h264 (Hi10) Support? (/showthread.php?tid=106051)



- magao - 2011-10-01 02:51

alexrose1uk Wrote:My last post wasn't really fully aimed at you, and no argument or offence intended, only my own thoughts on the transition, and the comment which mentioned you could only reencode to retain the usual GUI whixh isn't 100% true on windows as you can use a Dsplayer build which'll give you the flexibility and at least is an option for windows users until the devs update dvdplayer to utilise a new version of mplayer with Hi10 support.

I didn't take offence, and I appreciated the bit about DSPlayer - it's useful info for those on Windows.

I admit I hadn't even noticed the [WINDOWS] bit in the title ... could a moderator change it since it's not windows-specific?


- alexrose1uk - 2011-10-01 10:40

@Ned
You say that but this is the same story as when the divx to h264 transition occurred, so it might be here to stay, although as always there will be groups doing reencodes etc

There were people bitching and whining about the hardware increase needed then too, which I remember even though I had get little to do with video encoding/decoding back then, but it became the defacto standard.


- Ned Scott - 2011-10-02 06:19

alexrose1uk Wrote:@Ned
You say that but this is the same story as when the divx to h264 transition occurred, so it might be here to stay, although as always there will be groups doing reencodes etc

There were people bitching and whining about the hardware increase needed then too, which I remember even though I had get little to do with video encoding/decoding back then, but it became the defacto standard.

It's not the same story. They're not transitioning to a new standard, they're transitioning to non-standard encodes. The same story would be back in the xvid/divx days when you had to update your codecs every week because the encoders didn't know what the heck they were doing and kept trying new things all the time. When groups started using h.264 a lot of things finally stabilized.

Most of the people who were bitching durning the transition to h.264 were wanting compatibility with old hardware and divx DVD players, but there was already a lot of hardware and software that could play back h.264 correctly. From what I've read so far, there are no hardware decoding/standalone/PMP options for using h.264 with Hi10. The only option is raw CPU power, which is fine for a modern, general use computer, but these days more and more people are using set-top boxes like the Boxee Box, ATV2, Popcorn Hour, GoogleTV/Android devices, phones, tablets, netbooks, ATOM powered HTPCs, etc.

Change in itself isn't bad, but a non-standard change that has no support is bad.


- alexrose1uk - 2011-10-02 10:09

I don't disagree that's frustrating, I have pcs that use hardware acceleration myself, but to say its non-standard seems a little unfair; its not part of the bluray spec which is what those devices are targeted at, but hi10 has been part of the h264/avc standard for quite some time, about 7 years if Wikipedia is to be believed, even if its not been implemented into things or widely used until relatively recently. Its not like this profile or standard has come from nowhere. Hell, loads of phones with hardware support don't even always support up to level4.1 or the full gamut of 8bit profiles either so its not like manufacturers and designers have always stuck to the one level of specification in thier decoders either.

It just seems like an inevitable part of progress, h265 or whatever it ends up called will also likely break all hardware compatibility, which is the danger of relying on hardware.

I've argued before on the benefits of hardware acceleration but this is one of the limits that accompanies it (same as how older hdmi systems or the original PS3 can't bitstream hd audio and have to use core/software decode), especially when in this case the hardware is seemingly based on the bluray adopted segments of the standard, and not the entirety.

It's not like there won't be groups (potentially some specifically for the purpose) reencoding these 10bit releases back to 8bit either, so I don't see there being a lack of options in the future.


- magao - 2011-10-02 10:30

Ned - you've commented that the Eden soft-freeze means that 10-bit will not be included in Eden. Given the fact that people are being affected by this now, and the upstream work has been done, what is the reasoning?

I would have thought that "10-bit encode support" would be a major selling point for Eden. Yes - it's only for people who have machines who can handle it. I personally built an HTPC that was capable of decoding H.264 high profile back in the day when XBMC didn't support hardware decoding of that. I'm more than willing to upgrade that very machine (if needed) to be able to play back 10-bit. If XBMC doesn't integrate 10-bit though then I don't have that option at all.

And it's not as though people are only just now bringing this up. We've been saying for months that most of the fansub groups are going to be moving to 10-bit only. It appears that we weren't believed ... that it would only be a small group of fansubbers changing ... that there would be "choice".

The last week has proved otherwise.

BTW, we've been arguing on those forums for months as well that the infrastructure isn't ready except in a few very specific cases. In every case the response has basically been "use the exact same setup as me or STFU".


- wsippel - 2011-10-02 11:45

Ned Scott Wrote:Change in itself isn't bad, but a non-standard change that has no support is bad.
I certainly agree in general, but on the other hand, if content providers use it (even if it's just a metric ton of fansub groups), it is supported and becomes a de facto standard. I would generally argue that anyone on the playback side of things has to follow the content, not the other way around. It's not really your problem if hardware decoders don't support the format. If end customers don't like it, they need to take their issues to the content providers or the hardware manufacturers.


- GreenEyez - 2011-10-02 13:27

magao Wrote:Ned - you've commented that the Eden soft-freeze means that 10-bit will not be included in Eden. Given the fact that people are being affected by this now, and the upstream work has been done, what is the reasoning?

I would have thought that "10-bit encode support" would be a major selling point for Eden. Yes - it's only for people who have machines who can handle it. I personally built an HTPC that was capable of decoding H.264 high profile back in the day when XBMC didn't support hardware decoding of that. I'm more than willing to upgrade that very machine (if needed) to be able to play back 10-bit. If XBMC doesn't integrate 10-bit though then I don't have that option at all.

And it's not as though people are only just now bringing this up. We've been saying for months that most of the fansub groups are going to be moving to 10-bit only. It appears that we weren't believed ... that it would only be a small group of fansubbers changing ... that there would be "choice".

The last week has proved otherwise.

BTW, we've been arguing on those forums for months as well that the infrastructure isn't ready except in a few very specific cases. In every case the response has basically been "use the exact same setup as me or STFU".

The reason is simple : XBMC devs probably have other stuff on their agenda, like getting the more important Audio Engine framework and DVR functionality working than banging their heads about some guys who have the nerve to call themselves encoders...No .Both Scene and non-Scene encoders have yet to release 10bit encodes, and don`t have any plans for it in the near future.


- Ned Scott - 2011-10-02 14:36

wsippel Wrote:I certainly agree in general, but on the other hand, if content providers use it (even if it's just a metric ton of fansub groups), it is supported and becomes a de facto standard. I would generally argue that anyone on the playback side of things has to follow the content, not the other way around. It's not really your problem if hardware decoders don't support the format. If end customers don't like it, they need to take their issues to the content providers or the hardware manufacturers.

The "metric ton" is actually the minority. The vast majority of consumers for video products/services through a computer are not even downloading content from torrents/IRC/whatever, but actually using paid services. The fact that Netflix is the single largest consumer of internet bandwidth says that, let alone all the other legit video services out there.

Then let's look at general TV/movie downloads (illegal/gray area/pirating/fair use/whatever you want to call it). Anime itself is a minority of these downloads, and live action video rip groups are not jumping on the Hi10 bandwagon like some anime groups are. (which is not to say that you won't find them, but then again you'd be surprised at how long Hi10 rips have been around in some form).

Then even within the anime scene this is still the minority. It took a while for there to be more downloaders of h.264 over divx, and there's still groups that offer divx. It's also a minority of subbers that are putting out Hi10 encodes (remember, Coal Girls, Commie, and a bunch of others are not subbers. They just repackage other people's subs with other video sources).

There are zero actual content providers serving up 10bit color depth content to consumers. All blurays and HD broadcasts are no greater than 8bit, so don't believe this hogwash about Hi10 being a higher quality (it can, however, retain a higher quality per megabyte since 10bit is a more advanced profile).

With all that in mind, I really don't think hardware venders are going to jump up and replace their hardware codec support, which has been stable for years. Now those venders are far more focused on other aspects of those hardware products, like energy usage.


- Ned Scott - 2011-10-02 15:11

Sorry that I'm replying to these comments backwards..

magao Wrote:Ned - you've commented that the Eden soft-freeze means that 10-bit will not be included in Eden. Given the fact that people are being affected by this now, and the upstream work has been done, what is the reasoning?

Just as a quick disclaimer, I'm not a programmer. My username might say "TeamXBMC" under it, but I'm only a support member. I help out on the forums and the XBMC Wiki, and sometimes with testing.

Bringing XBMC up to date with FFmpeg, which is where our Hi10 support would come from (and also brings a bunch of other great features) is a big task.

And let me be clear about this, Hi10 is a great feature. I welcome its inclusion in XBMC.

The Devs want to support Hi10 and all the other things this ffmpeg update would bring. They also want to support a ton of other things too, but it's crunch time for Eden and we are now in a feature freeze. Work still continues on all of these things, but they just won't be a part of the stable Eden release that most of the public uses.

Quote:I would have thought that "10-bit encode support" would be a major selling point for Eden. Yes - it's only for people who have machines who can handle it. I personally built an HTPC that was capable of decoding H.264 high profile back in the day when XBMC didn't support hardware decoding of that. I'm more than willing to upgrade that very machine (if needed) to be able to play back 10-bit. If XBMC doesn't integrate 10-bit though then I don't have that option at all.

From a technical standpoint, XBMC's playback abilities are not the best when you compare it to other software players. The ffmpeg component of DVDPlayer (the part of XBMC that plays back video) is quite dated, but because the demand for certain codecs/profiles has stabilized so much it probably hasn't been very noticeable.

I bring stay this because XBMC's real selling point is its rich features and 10-foot interface is second to none. Which doesn't mean video playback is bad at all, it just means XBMC isn't the cutting edge of a single raw feature that most people won't notice. (see here as well for how many people this will likely affect.)

You can also configure XBMC to use another video player. It just takes some tinkering, but you can have the XBMC interface and a Hi10 player in one. You do have options, and it will come to XBMC's built-in player, it just takes time when it's not the only feature waiting to be added.

Quote:And it's not as though people are only just now bringing this up. We've been saying for months that most of the fansub groups are going to be moving to 10-bit only. It appears that we weren't believed ... that it would only be a small group of fansubbers changing ... that there would be "choice".

The last week has proved otherwise.

Most of the fansub groups are not going to Hi10 only. I'm looking at tokyotosho's listings now. Don't believe the fear hype that some groups are using to force adoption, mostly out of their own fear that someone else put into them. You'll probably see some of these "Hi10 exclusive" groups suddenly supporting the previous h.264 profiles, too. It's easy for a group to get worked up about a new feature, especially when things haven't really changed in a long time. It's even easier for groups to go through encoders like paper cups.

Quote:BTW, we've been arguing on those forums for months as well that the infrastructure isn't ready except in a few very specific cases. In every case the response has basically been "use the exact same setup as me or STFU".

I am honestly sorry if that is how I made you feel. I'm not opposed to Hi10, I just think this hype around it is way overblown. I like new, better things. I like it when my anime looks its best. However, all Hi10 can do is save HDD space. No source content is in 10bit color depth. The only quality improvements is the quality per megabyte which is what results in those smaller file sizes. Even then some encoders still aren't using Hi10 correctly. When you see some saving only 30MB and some saving 100MB, someone's doing it wrong.

Again, it's not Hi10 that I oppose, it's just this hype. It's silly. It's not even a new profile, and there's a bunch of other h.264 profiles out there that will save even more space that no one even bats an eye at.

The trade off in compatibility is not worth the file size saved, which I'll go into further in my next reply. EDIT: I got my posts mixed up. I ended up blabbering on waay too long in the next reply and didn't even get to the actual technical numbers on Hi10. Give me a bit here and I'll post about that too.


- Ned Scott - 2011-10-02 15:51

alexrose1uk Wrote:I don't disagree that's frustrating, I have pcs that use hardware acceleration myself, but to say its non-standard seems a little unfair; its not part of the bluray spec which is what those devices are targeted at, but hi10 has been part of the h264/avc standard for quite some time, about 7 years if Wikipedia is to be believed, even if its not been implemented into things or widely used until relatively recently. Its not like this profile or standard has come from nowhere. Hell, loads of phones with hardware support don't even always support up to level4.1 or the full gamut of 8bit profiles either so its not like manufacturers and designers have always stuck to the one level of specification in thier decoders either.

You are correct in that I choose my wording there poorly. I'm actually somewhat familiar with these high-end profiles/formats that are mainly used in professional/studio situations, though I am far from being an expert. For example, most people don't know that the Beta Cassette didn't die. It stayed alive in the professional word and even got a digital version that some still use today.

Quote:It just seems like an inevitable part of progress, h265 or whatever it ends up called will also likely break all hardware compatibility, which is the danger of relying on hardware.

Yes and no. It's kind of like megapixels in cameras. For a while there it seemed like there was no end in sight, then camera manufacturers decided to stop pushing for more megapixels and instead focus on higher quality sensors with the existing number of megapixels. The high end line for most consumers now is about 14MP.

You are right that something will eventually come along and replace what we have now with something significantly better. Hi10 really isn't it, and hardware manufacturers aren't going to bother to support it. Most video usage on a computer isn't "pirated", it's from places like Netflix, Hulu, and Youtube. This is why .ogg never caught on, even though anime groups were singing it's praises and saying they were .ogg only. We've been down this road before.

The next format/codec/whatever will come, and we will have to buy new stuff, sure, but it's not even going to be Hi10. There's other formats in the works that we know about today that should beat the pants off of Hi10, but are just not ready to be deployed. Hardware video codec support is not really something that takes these companies by surprise.

Hi10 has been around for 7 years and no one gave a hoot until this season. Why? Because someone was finally able to drum up some hype. Probably because they finally got a consumer player that decided to throw in Hi10 support (not out of demand, though).

People are downloading archive quality rips and are worried about saving some HDD space? (some of the quoted numbers by some groups about how much space is really over blown, too).

That's not to say that we can't use it or enjoy it today. Hi10 is, in fact, a better profile. I really want to emphasize this. We can have our cake and eat it too, but exclusive Hi10 releases is absurd for a group to do. The entire point of fansubbing was to bring anime to viewers who didn't have access. It's not the next logical step for widespread support. We don't throw away our GPUs/computers for one spec bump here or one spec bump there.

Quote:I've argued before on the benefits of hardware acceleration but this is one of the limits that accompanies it (same as how older hdmi systems or the original PS3 can't bitstream hd audio and have to use core/software decode), especially when in this case the hardware is seemingly based on the bluray adopted segments of the standard, and not the entirety.

The PS3's limitation is not because of the hardware acceleration (which does exist in the PS3) or the CPU. It's just been locked away for so long, and even now is completely undocumented for the public. It's kind of like how the hacked ATV2 can support more codecs (in theory) than h.264, but it's all undocumented so it takes a ton of work to figure it out/reverse engineer/program for.

I do understand your point, which is why my original HTPC was built to handle BD 1080/High Profile from the CPU alone. Even that guy can't handle Hi10, though, because it takes more CPU decoding for Hi10 than CPU decoding of h.264 High Profile.

Quote:It's not like there won't be groups (potentially some specifically for the purpose) reencoding these 10bit releases back to 8bit either, so I don't see there being a lack of options in the future.

And thank god for that. I'm certainly not worried, but I do think these groups that are acting like Hi10 is the second coming need a reality check.