• 1
  • 28
  • 29
  • 30(current)
  • 31
  • 32
  • 48
Solved 10-bit h264 (Hi10) Support?
(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.
Reply
(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.
Reply
I've been able to create a build with this, very quick test, seems to work...
Reply
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.
Reply
Thank you very much. Will test this during the next few days.
Reply
Thanks for this build, matey, I will have a go at it...
Reply
Thanks for the build.

Maybe you can answer my question here ?
Reply
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
Reply
@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.
Reply
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!
Reply
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
Reply
Not yet.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
Does the Apple TV 2 play 10bit with the latest nightly build?
Reply
(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.
Reply
Okay just wanted to make sure I think a Intel Core i3 2100 will do the job.
Reply
  • 1
  • 28
  • 29
  • 30(current)
  • 31
  • 32
  • 48

Logout Mark Read Team Forum Stats Members Help
10-bit h264 (Hi10) Support?7