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)



- jpsdr - 2011-11-23 10:49

@maruchan : Problem with this file is totaly unrelated, and now with new fixes recently made in nighty builds :
- cache/fonts is always cleaned-up before each file play. So any file copied in it will be deleted when a file is played.
- Arial is correctly used even if not embemded in the mkv file.
These problems have been solved during the process of solving the ticket i've opened where i've provided a link in my previous post.

@bambi73 : Only this file among the around 7 files i used for testing correct behavior of subtitles failed. This file is very interesting for testing subtitles behavior. Unfortunately, cutting mkv always result in a total mess, and to be realy usefull, sample files are to be provided untouched, so no cut or rebuild.
The correct result, XBMCSetup-20111117-0e174c0-master and XBMCSetup-20111122-89fe561-master both produce is :
[Image: Test-1_A.png]

The result from your build is :
[Image: Test-2_A.png]


- sereny - 2011-11-23 11:29

@jpsdr: Is that the 10bit or 8bit version of the file? If 10 bit, does it run smoothly on your PC? I'm having a few issues with it - that is, about 50% framedrops, while my quadcore still has lots of headroom left.

My problems might not be related to this specific build or 10bit though, as I also get massive framedrops (around 50% again) on very high bitrate (> 50mbit) 8bit files, I'll test more later today. With DXVA2 decoding everything is perfectly smooth though (on 8bit).


- jpsdr - 2011-11-23 13:02

This file is 8bits. Nevertheless, DXVA2 works only on 8 bits. I haven't checked dropout with bamby73 version, but as i remember play is smooth. I have an i7@870 under Windows XP SP3 (so no DXVA2) but i7@870 is powerfull enough for 1080p + subtitles with lot of features.


- sereny - 2011-11-23 19:49

@bambi73: Do you use ffmpeg-mt in your build, or can you enable multithreading-flags somehow? It would appear that this is the cause of my dropped frames in very high bitrate videos.


- bambi73 - 2011-11-23 21:24

FFmpeg-mt branch was merged into FFmpeg trunk at the Spring and as far as I understand it it should work "out of the box" (without necessity to change any code). I handled only interface changes between FFmpeg and XBMC and corrected small problems with Hi10P playback. I changed nothing in how XBMC uses FFmpeg library, so there is chance that it's not optimal for FFmpeg-mt now. It'll be task for main developers for migration to evaluate current code and do necessary changes (if any), not for me. I have not enough knowledge for such task Smile

Fyi, FFmpeg guys released new tag with a lot of corrections 2 days ago, so I'll try to assemble and compile it again and we will see if something improve. It all what I can do now with all problems.


- sereny - 2011-11-23 21:41

Thanks for your insights.
Also, don't feel pressured into doing things you don't have time to do Smile, however, I'll gladly help with testing.


- CrystalP - 2011-11-25 05:57

bambi73, yes I was asking you to publish the code for GPL compliance.


- Death-Axe - 2011-11-27 20:47

As I recall, anime release groups have adopted new ways of encoding months before people could play them many times in the past.

No idea why they do this, you would think that if they go to the trouble to make things available for you to watch, that they would use a format people can play. Or is it done for the reason that they only want select groups of people to watch their releases? like some elitist nonsense?

So to get this right: dxva2 can't be used with these hi10 files? so ontop of lack of software player support, my htpc (asrock 330bd) won't be able to play these back at all?

Are these groups only allowing heir stuff to be played on high power machines then? it really does sound like elitist bollocks to me.

I take it you need the same £1000+ machine to re encode these too?


- alexrose1uk - 2011-11-27 20:53

You don't NEED a high power machine to run them at all, just something that wasn't dated 4+ years ago. I tested a 720p 10bit file on an X2 3800+, one of the oldest and slowest dual core chips on the market *released 2005* and it worked fine. The other week I bought a £70 CPU/Mobo/Cooler kit new from a large sales chain (so that should tell you something about how dated the parts were) as a quick upgrade present for a family member, this also handles 10bit 1080p absolutely fine; the vast majority of anything anywhere near modern should be able to play 10bit ok.

Your Asrock will struggle, simple because its coupled with a CPU that was never, ever aimed at any semi-demanding work at all, it was simply designed to be a low power, netbook/portable chip. Atom's aren't very good at decoding standard 8bit h264 video either, it's just a case they were lucky enough hardware came along they could bolt on to do the job.

It's not like 8bit has gone away either, there's usually someone doing a release or a reencode.


- Death-Axe - 2011-11-27 23:18

I haven't had any troubles at all with 8 bit playback on my machine. Have yet to test 10 bit due to lack of software support.