Solved Issue - 10-bit h264 (Hi10) Support?

  Thread Rating:
  • 7 Votes - 4.43 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
DJ_Izumi Offline
Fan
Posts: 534
Joined: Jul 2007
Reputation: 4
Post: #511
Yeah, I imagine an i3 would readily trump an E-350, no contest. But really, that's most like desktop hardware which is agreed not to have any real issue decoding 10bit 1080p just using the CPU. It's the little Netbook/Nettop machines that are suffering problems.
find quote
s1l3nc0r Offline
Member
Posts: 52
Joined: Jul 2011
Reputation: 0
Post: #512
@DJ_Izumi: what codecs do you have installed ?
find quote
DJ_Izumi Offline
Fan
Posts: 534
Joined: Jul 2007
Reputation: 4
Post: #513
(2012-06-13 13:06)s1l3nc0r Wrote:  @DJ_Izumi: what codecs do you have installed ?

Why would that matter? XBMC's codecs are all built into XBMC, all codecs installed into the operating system are irrelevent to XBMC.
find quote
DJ_Izumi Offline
Fan
Posts: 534
Joined: Jul 2007
Reputation: 4
Post: #514
Can someone clarify if video decoding for 10bit in V12 Alpha 2 working on multiple cores? Because I'm decoding 1080p 10bit material on v12 Alpha 2 and getting some frame drops when the CPU hits around 33%. Considdering I'm using an A6-3500, tricore at 2,1ghz, that'd suggest I'm hitting the wall with only one core for video...
find quote
jpsdr Offline
Fan
Posts: 329
Joined: Oct 2003
Reputation: 0
Post: #515
Actualy mt is only enable for slice in ffmpeg, wich is a very specific case. All mkv files are not encoded with slices, so no mt actualy on them.
find quote
DJ_Izumi Offline
Fan
Posts: 534
Joined: Jul 2007
Reputation: 4
Post: #516
(2012-06-17 11:55)jpsdr Wrote:  Actualy mt is only enable for slice in ffmpeg, wich is a very specific case. All mkv files are not encoded with slices, so no mt actualy on them.

This'll be fixed, like, later... Right?
find quote
jpsdr Offline
Fan
Posts: 329
Joined: Oct 2003
Reputation: 0
Post: #517
It's what it has been said...
Actualy, i'm using my own build with mt re-enabled.
find quote
Drymex Offline
Junior Member
Posts: 13
Joined: Mar 2011
Reputation: 0
Post: #518
@jpsdr: is there a tutorial on how to build an mt-enabled ffmpeg that works with XBMC?
find quote
blm14 Offline
Senior Member
Posts: 166
Joined: Nov 2009
Reputation: 0
Post: #519
^ seconded. Do want!
find quote
maruchan Offline
Senior Member
Posts: 277
Joined: Feb 2009
Reputation: 0
Post: #520
There are some things that are currently broken in the latest nightlies (notably, saving video calibration settings.) If they get fixed in time for the release cycle coming up, I can put out an updated Windows build that has multithreading enabled. I'm not sure if I'll be able to provide builds for other platforms.
find quote
blugh Offline
Junior Member
Posts: 1
Joined: Jul 2012
Reputation: 0
Post: #521
(Replying to an older post, since this is an even bigger problem today than it was in October...)

(2011-10-01 01:39)Ned Scott Wrote:  
Quote:Note that also none of the available hardware accelerated decoders (VDPAU, DXVA,
CUVID, etc.) support this.

Oh for fuck's sake. This won't last long. They'll either get waves of bitching and eventually buckle, or a ripping group will do a proper encode with those groups' subs included.

This is foolish. The *only* stuff using 10-bit is anime, and today, almost no fansubbed anime is available except in 10-bit. There are no "waves of bitching"; anime is a tiny niche for hardware manufacturers. Clueless fansubbers have collectively screwed everyone not running on an expensive, noisy, full-blown PC, and there's no solution in sight, beyond killing quality by transcoding everything.
find quote
EMK0 Offline
Senior Member
Posts: 209
Joined: Oct 2008
Reputation: 0
Post: #522
(2012-07-04 06:08)blugh Wrote:  (Replying to an older post, since this is an even bigger problem today than it was in October...)

(2011-10-01 01:39)Ned Scott Wrote:  
Quote:Note that also none of the available hardware accelerated decoders (VDPAU, DXVA,
CUVID, etc.) support this.

Oh for fuck's sake. This won't last long. They'll either get waves of bitching and eventually buckle, or a ripping group will do a proper encode with those groups' subs included.

This is foolish. The *only* stuff using 10-bit is anime, and today, almost no fansubbed anime is available except in 10-bit. There are no "waves of bitching"; anime is a tiny niche for hardware manufacturers. Clueless fansubbers have collectively screwed everyone not running on an expensive, noisy, full-blown PC, and there's no solution in sight, beyond killing quality by transcoding everything.

that's bull I haven't run into any anime that is 10bit only and I watch alot
find quote
jpsdr Offline
Fan
Posts: 329
Joined: Oct 2003
Reputation: 0
Post: #523
Some fansub teams are doing only 10bit for HD release (720p & +), while others are doing both. If you're targeting a specific team because you know they used to have a good quality (spelling and translation), if this team do only 10bits...
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 21,970
Joined: Jan 2011
Reputation: 293
Location: Arizona, USA
Post: #524
(2012-07-04 06:08)blugh Wrote:  (Replying to an older post, since this is an even bigger problem today than it was in October...)

(2011-10-01 01:39)Ned Scott Wrote:  Oh for fuck's sake. This won't last long. They'll either get waves of bitching and eventually buckle, or a ripping group will do a proper encode with those groups' subs included.

This is foolish. The *only* stuff using 10-bit is anime, and today, almost no fansubbed anime is available except in 10-bit. There are no "waves of bitching"; anime is a tiny niche for hardware manufacturers. Clueless fansubbers have collectively screwed everyone not running on an expensive, noisy, full-blown PC, and there's no solution in sight, beyond killing quality by transcoding everything.

Oh, there are waves of bitching, but they're just not as big as I thought they would be. I see them all the time in torrent comments, fansub websites, and here on the XBMC forums. What's calmed a lot of people down is that there are "8-bit" copies of just about everything out there. Most of these aren't re-encodes from the Hi10P releases, but made from raws, timed up with pre-existing subs.

The other element is the growing number of simulcasts. Either people are watching the actual simulcasts from the official/licensed websites, or they're using groups that rip from them (such as Horrible Subs, which only does "8-bit" releases).

Several groups continue to provide High Profile (8-bit) releases directly, and some don't release Hi10P versions at all.

Quote:anime is a tiny niche for hardware manufacturers.

Yeah, I know, I've pointed this out several times in this thread and on other websites. Perhaps you've misunderstood me, but I meant the bitching would be directed at fansub groups, not hardware manufacturers.

But yes, a lot of fansub groups out there are clueless and expect us all to run noisy, desktop grade HTPCs. While it might mean waiting a bit longer than what some speed-sub groups do, there are still good quality "8-bit" versions of just about everything on air today.

Hopefully in a few years, when h.265 has taken over, and hardware decoders for that are common/affordable, things will stabilize for a few more years like it did for a while with h.264 High Profile.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
jpsdr Offline
Fan
Posts: 329
Joined: Oct 2003
Reputation: 0
Post: #525
(2012-07-02 19:37)Drymex Wrote:  @jpsdr: is there a tutorial on how to build an mt-enabled ffmpeg that works with XBMC?

There is a toturial on how to build XBMC, in the developpement forum (toturial is on Wiki).
After, i modify the DVDVideoCodecFFmpeg.cpp file with :
Code:
/* Only allow slice threading, since frame threading is more
   * sensitive to changes in frame sizes, and it causes crashes
   * during HW accell */
  bool disable_mt_frame=true;
#ifdef HAS_DX
  disable_mt_frame=g_guiSettings.GetBool("videoplayer.usedxva2");
#endif
  if (disable_mt_frame) m_pCodecContext->thread_type = FF_THREAD_SLICE;
  else m_pCodecContext->thread_type = FF_THREAD_FRAME;
This is the "safest" and easy and quick way i've found, as the biggest problem is to not enable MT with DXVA.
There is apparently others issues than DXVA with MT, but i've not encounter them until now. This is at least working fine for me.
Disable DXVA2 to have MT with the modification i've posted, and no need of course if you're under XP, because DXVA2 is not supported.
find quote
Post Reply