![]() |
|
[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) |
RE: 10-bit h264 (Hi10) Support? - Shine - 2012-04-01 18:54 Here you go: This is from elupus' ffmpeg_0.10.2 branch: https://github.com/elupus/xbmc/tree/ffmpeg_0.10.2 All credits go to elupus, I have nothing to do with the code, I just compiled it. Revision 3201695872: Multithreading works, but the comments in the pull request suggest that DXVA is broken in this rev. Download here: http://www.mediafire.com/?raap74gkx6k4lk8 Revision a0fc63df94: Multithreading broken for me, but apparently DXVA is fixed in this rev. Download here: http://www.mediafire.com/?rxc3jfye0klotmd RE: 10-bit h264 (Hi10) Support? - sereny - 2012-04-01 19:04 Great, thank you very much! Will check it out. RE: 10-bit h264 (Hi10) Support? - lad1337 - 2012-04-01 20:47 (2012-04-01 14:06)enolive Wrote: mkvinfo displays the used h264 profile in its output, for example (in Shakugan no Shana from SS-Eclipse): thanks so much for your script and the info after some work i came up with my own script that checks if a file is 10-bit and transcodes it here: https://gist.github.com/2277551 but it uses HandBrakeCli since the x264 did not work for me (2012-03-30 23:36)magao Wrote: Constant frameratei also tried to add your settings as a "profile" for the script to use the script you will need HandBrakeCLI which can be found here http://handbrake.fr/downloads2.php you can just run it by: transcode10to8.sh -i some_anime.mkv and it will create a file some_anime[8-bit].mkv for more info use transcode10to8.sh -h RE: 10-bit h264 (Hi10) Support? - magao - 2012-04-02 00:28 (2012-04-01 14:06)enolive Wrote: mkvinfo displays the used h264 profile in its output, for example (in Shakugan no Shana from SS-Eclipse): Coincidentally, that's the same show/release that prompted my comment above about vorbis audio not being passed through by Handbrake. And now it's over :( BTW I enjoyed Shakugan no Shana F, but it's such a pity that the great character interaction in the first 3 series took a back seat (read: almost excluded entirely) in the final series. RE: 10-bit h264 (Hi10) Support? - jpsdr - 2012-04-02 22:48 The a0fc63df94 is the following : changed: Only allow slice based parallel decoding. What i'm affraid : If "slice" refer to the same "slice" parameter you have in the x264 parameter encode, this purely disable multithreading because mkv files are not encoded with slices. You have slices only when you encode in level 4.1 for blu-ray targer, because authoring software requiered h264 level 4.1 video to have 4 slices. Otherwise, as having slice will (very slighty) reduce encoding quality, you'll never see encode with slice except specialy when you encode for blu-ray authoring. So, having mt only on slice is purely useless, as frames have no (or only 1) slice, and if it has to stay like this, we're screwed !! ![]() Wich means mt will have benefit only for frame parallel decoding. Now, if "slice" refer to totaly something else, what i've said is not relevant. RE: 10-bit h264 (Hi10) Support? - Shine - 2012-04-03 00:13 @jpsdr: It's exactly what you said I suppose. Although I doubt it's permanent - sounds like just a temporary stability fix. Since the Vorbis/WMA bug annoyed me and it has since been fixed (cfb1bd2269), I prepared another build. It also includes the seek fix (c0a367a4ec) - although I didn't experience crashes while seeking, but who knows. I reverted a0fc63df94 for this build, so multithreading works! Here it is: http://www.mediafire.com/?p08gpzy8p8ipxvz Again, I'm just the messenger, all credit goes to elupus. Note: This build does also include a patch by me that will force DXVA renderer (not decoding!) for any HD content, ie. 720p and above. Why? Because (1) while I prefer the better PS scalers especially for SD content, my Intel G45 is too slow to use them on HD content without occasional stutter and (2) XBMC apparently sends every video through the resizer, even if there is nothing to resize, which again leads to occasional stutter on HD content with PS scalers. So this patch pretty much fixes my remaining frame drop issues. Turn off by changing the "forcedxvarenderer" advanced setting to "false" - though this will, in addition, disable the feature that forces DXVA renderer when DXVA decoding is being used - I was too lazy to introduce a new advanced setting for this quick&dirty patch, so I (ab)used an existing one. DIFF included for GPL compliance. RE: 10-bit h264 (Hi10) Support? - jpsdr - 2012-04-03 01:00 (2012-04-03 00:13)Shine Wrote: Turn off by changing the "forcedxvarenderer" advanced setting to "false" If i add Code: <advancedsettings>Otherwise, many thanks for this build. RE: 10-bit h264 (Hi10) Support? - Shine - 2012-04-03 01:09 Code: <advancedsettings>Just noticed that it's apparently an undocumented advanced setting - not in the wiki at least... anyway, see above for example. RE: 10-bit h264 (Hi10) Support? - jpsdr - 2012-04-03 21:49 Finaly... after a lots of troubles with my PC (apparently, there is one windows update from Win7 wich make you unable to install nvidia drivers anymore...) i've been able to make some tests. - Subtitles : I have several files i use to check if there is regressions. I've seen nothing. - Decoding of 10bits. I have a high bitrate 1080p 10bits file wich used to stutter with a lot of drop frames with bambi73 version, and play perfectly fine under MPC-HC. This file with play perfectly fine, without any drop frames with the last Shine build. This is reaaalyyyy !!!!
RE: 10-bit h264 (Hi10) Support? - radx - 2012-04-03 22:22 I use a rather simple and cpu weak HTPC system to watch my movies. Do you guys think i'll be able to watch 10bit encoded files on my system in a future release of xbmc without a hardware upgrade? I've got a AsRock 330HT system. It's a nvidia ION gpu with an atom 1.6 dual core cpu. All in all I can run pretty much all stuff on it as long as I've got GPU Hardware acceleration. From what I gather Hardware acceleration does not seem to be possible on the 10 bit encoded files? Am i out of luck or do I need to invest into more bulky hardware? Tried running 10 bit encoded 1080P stuff through latest version of VLC 2.0.1 and all I got was a black screen with no video but i did get sound. When i closed VLC the vlc.exe process remained active and had to be forced closed. in MPC it worked but it was horribly slow. No gpu acceleration it would seem as CPU load was very very high. |