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

  Thread Rating:
  • 7 Votes - 4.43 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jpsdr Offline
Fan
Posts: 329
Joined: Oct 2003
Reputation: 0
Post: #436
(2012-04-27 09:03)Roman_V_M Wrote:  But even if DXVA (or other VA technologies for that matter) is enabled you'd still want to have multi-threading for videos that are not accelerated. I don't know, maybe there should be some option, e.g. in advancedsettings.xml to tell a decoder how many threads to use, like it is done in LAVFilters Video.

As maruchan explained in post #433 just a little ahead, implement this may be very difficult.
find quote
jpsdr Offline
Fan
Posts: 329
Joined: Oct 2003
Reputation: 0
Post: #437
(2012-04-26 10:11)spiff Wrote:  we figured it was so simple, we have left it to you.

I've followed the wiki tutorial, download xbmc code, and knowing absolutely nothing, it take me aroud... 10 minutes to figure out 2 possibilities at first time...

Edited : After having seen a little more, i think the following is good, so only one proposition left :

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 was indeed higly complex...Undecided
Nevertheless, i think a dev must confirm.
(This post was last modified: 2012-05-03 08:07 by jpsdr.)
find quote
jpsdr Offline
Fan
Posts: 329
Joined: Oct 2003
Reputation: 0
Post: #438
I've been able to create a build with this, very quick test, seems to work...
find quote
Shine Offline
Member
Posts: 51
Joined: Apr 2012
Reputation: 1
Post: #439
I've created a new build using an approach similar to maruchan's idea.

This new build is based on the current master (2012-04-29, rev. d2ac454556).

In addition, it contains the following changes:
This should be the best of both worlds:
  • software decoding incl. Hi10P playback with full (frame and slice) MT enabled
  • DXVA decoding working and limited to slice threading like in the current nightlies
The playback delay penalty introduced by pre-checking the files is between 0.1 and 0.3 seconds per file, ie. barely noticable.

The build is here: http://www.mediafire.com/?6cx2ndk11q7q4v8

Test&Enjoy.
(This post was last modified: 2012-04-29 14:53 by Shine.)
find quote
sereny Offline
Junior Member
Posts: 23
Joined: Dec 2008
Reputation: 0
Post: #440
Thank you very much. Will test this during the next few days.
find quote
s1l3nc0r Offline
Member
Posts: 52
Joined: Jul 2011
Reputation: 0
Post: #441
Thanks for this build, matey, I will have a go at it...
find quote
jpsdr Offline
Fan
Posts: 329
Joined: Oct 2003
Reputation: 0
Post: #442
Thanks for the build.

Maybe you can answer my question here ?
find quote
maruchan Offline
Senior Member
Posts: 277
Joined: Feb 2009
Reputation: 0
Post: #443
Shine: your latest build works perfectly on my end. There's no perceivable difference in playback start times. You should submit a pull request on the official XBMC git. Smile
find quote
Shine Offline
Member
Posts: 51
Joined: Apr 2012
Reputation: 1
Post: #444
@maruchan: Thanks for your feedback! However, no, this is not pull-request worthy code. If done properly, it should be implemented in the actual playback thread, not before playback starts. It has multiple other shortcomings, too. I posted the patch in the development forum, but I do not expect or want it to find its way into the official tree in its current form.
(This post was last modified: 2012-04-29 21:11 by Shine.)
find quote
cculbertson Offline
Junior Member
Posts: 14
Joined: Mar 2011
Reputation: 0
Post: #445
I'm loving having Hi10P playback in XBMC (20120426-8cc72eb). The only thing I'm missing now is ordered chapters support, but that wasn't nearly as critical as Hi10P. Can't wait to see what else comes through in the nightly builds!
(This post was last modified: 2012-04-30 15:28 by cculbertson.)
find quote
alexrose1uk Offline
Senior Member
Posts: 269
Joined: Aug 2010
Reputation: 1
Post: #446
Oooh, great to see progress is being made on this request Smile
If I get a chance I'll give some of these new builds a try over the next week or two. I'm largely happy with DSPlayer, but as the developmental focus on it has been hit and miss, I'm not against the idea of trying these builds out Smile

Do Shine's latest builds include say the DTSHD/DDTHD bitstream mods from Daniela's builds elsewhere [not sure if those features have been pushed into Nightlies or not!]?

i3-2100 /w Scythe Big Shuriken Cooler, 4GB RAM, GT430 Passive, 40GB SSD boot drive, 2TB 5400RPM internal media drive, 2TB external drive, Nexus 430W PSU, Nexus case fans

Feeding Yamaha RX-V1800, Panasonic 42PZ80 Plasma, Mission 753/Quad speaker surround kit
find quote
Martijn Offline
Team Kodi
Posts: 12,148
Joined: Jul 2011
Reputation: 170
Location: Dawn of time
Post: #447
Not yet.

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Uichan Offline
Junior Member
Posts: 2
Joined: Jan 2012
Reputation: 0
Post: #448
Does the Apple TV 2 play 10bit with the latest nightly build?
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #449
(2012-05-02 16:06)Uichan Wrote:  Does the Apple TV 2 play 10bit with the latest nightly build?

No, and it will never will. There is no hardware decoder that is capable of decoding 10-bit h264 and VideoToolBox under iOS is no exception. As the atv2 does not have the ponies to do software decoded 10-bit h264, no love there either.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
Uichan Offline
Junior Member
Posts: 2
Joined: Jan 2012
Reputation: 0
Post: #450
Okay just wanted to make sure I think a Intel Core i3 2100 will do the job.
find quote
Post Reply