Hi10P: Difference between revisions

From BakaBT Wiki
Jump to navigation Jump to search
(Added ffdshow section)
(Removed Haali from the guide. With the inclusion of ordered chapters support, along with many other benefits (such as hardware acceleration) in LAV Filters, there is no real benefit in using Haali anymore.)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="width:100%; background:#7fcb91; margin-top:1.2em; border:1px solid #ccc;"
|style="width:56%; color:#000"| <!--
-----------"Under Construction"---------->
{| style="width:99%; border:solid 0px; background:none;"
|style="width:600px; text-align:center; white-space:nowrap; color:#fff;"|
<div style="font-size:162%; border:none; margin:0; padding:.1em; color:#000;">This Page is Under Construction</div>
<div style="font-size:90%; border:none; margin:0; padding:.1em; color:#c06c8d;">'''[http://forums.bakabt.me/index.php?topic=32730.0 Wiki Expansion Project]'''</div>
|}<!--
------------Text---------->
|style="width:1%; font-size:95%;"|
|}
=Hi10P=
=Hi10P=
High 10 Profile (Hi10P), also just known as 10-bit. The newest standard for fansubbed and encoded releases.
High 10 Profile (Hi10P), also known as 10-bit, is the newest standard for fansubbed and encoded releases.




Line 37: Line 23:
=== How '''NOT''' to play back Hi10P content ===
=== How '''NOT''' to play back Hi10P content ===


* CoreAVC in CUDA mode, DXVA, LAV CUVID as well as the stable versions of VLC and ffdshow do not support Hi10P at the time of writing, because no graphics cards support 10-bit decoding
* CoreAVC in CUDA mode, DXVA and LAV CUVID, since no graphics cards support 10-bit decoding
* The [http://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20clsid/generic%20builds/ SVN build] of ffdshow-tryouts [http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout?view=revision&revision=3954 now supports Hi10P]
* Note: Using VSFilter (aka DirectVobSub) with Hi10P requires dithering material down to 8-bit first, which can introduce some quantization inaccuracies later on and also uses incorrect levels due to a bug in swscale (when using CCCP/ffdshow or LAV to dither)
* Note: Using VSFilter (aka DirectVobSub) with Hi10P requires dithering material down to 8-bit first, which can introduce some quantization inaccuracies later on and also uses incorrect levels due to a bug in swscale (when using CCCP/ffdshow or LAV to dither)
* However, not using VSFilter means that anamorphic releases which compensate for the stretching (e.g. 704x480 DVD releases) may give broken signs typesetting and stretched-looking subs. Two branches of VSfilter ([http://code.google.com/p/threaded-vsfilter/ threaded-vsfilter] and [http://code.google.com/p/xy-vsfilter/ xy-vsfilter]) will handle these releases correctly, and they also support 10-bit input and output, meaning you don't dither using ffdshow or LAV. These two branches are still in development though , and may exhibit bugs.
* However, not using VSFilter means that anamorphic releases which compensate for the stretching (e.g. 704x480 DVD releases) may give broken signs typesetting and stretched-looking subs. Two branches of VSfilter ([http://code.google.com/p/threaded-vsfilter/ threaded-vsfilter] and [http://code.google.com/p/xy-vsfilter/ xy-vsfilter]) will handle these releases correctly, and they also support 10-bit input and output, meaning you don't dither using ffdshow or LAV. These two branches are still in development though , and may exhibit bugs.
Line 54: Line 39:
=== Step One: Downloading and Installation ===
=== Step One: Downloading and Installation ===


# Download and install the latest version of [http://xhmikosr.1f0.de/index.php?folder=bXBjLWhj MPC-HC] (you want the .exe version for an installer) '''Note: Get the 32-bit version (called x86) ONLY! The 64-bit version is incompatible with madVR and will not function at all.'''
# Download and install the latest version of [http://xhmikosr.1f0.de/mpc-hc/ MPC-HC] (you want the .exe version for an installer) '''Note: Get the 32-bit version (called x86). The 64-bit version is incompatible with madVR. It is however, possible for the 64-bit version to function when the 64-bit LAV filters are installed.'''
# Install the [http://files.1f0.de/lavf/LAVFilters-0.40.exe LAV Filters]. These are necessary for decoding video and audio. You need to select the Splitter as well if you don’t want to use Haali, otherwise you have to install Haali manually. (See image to right)
# Install the [http://xhmikosr.1f0.de/lavfilters/ LAV Filters]. These are necessary for decoding video and audio. You need to select the Splitter as well.
# Obtain and install the latest version of [https://customers.corecodec.com/downloads.php Haali’s Media Splitter]
# '''Note: You can skip this step if your PC isn’t very powerful!''' Download the latest version of [http://madshi.net/madVR.zip madVR] and extract it anywhere you like. Run install.bat inside the folder. DO NOT DELETE THE FOLDER AFTERWARDS, madVR lives inside it and does not copy itself anywhere else. Move it somewhere sensible before installing, for example C:\Program Files\madVR.
# '''Note: You can skip this step if your PC isn’t very powerful!''' Download the latest version of [http://madshi.net/madVR.zip madVR] and extract it anywhere you like. Run install.bat inside the folder. DO NOT DELETE THE FOLDER AFTERWARDS, madVR lives inside it and does not copy itself anywhere else. Move it somewhere sensible before installing, for example C:\Program Files\madVR.
'''Note: Make sure you’re ''logged'' in as an Administrator when running this! Do ''not'' right click and "run as admin", log in as admin and run it ''normally''!'''
'''Note: Make sure you’re ''logged'' in as an Administrator when running this! Do ''not'' right click and "run as admin", log in as admin and run it ''normally''!'''
Line 65: Line 49:
# Under Playback, enable “Auto-load subtitles”: [http://wiki.bakabt.me/images/a/a8/Subtitles.png Image]
# Under Playback, enable “Auto-load subtitles”: [http://wiki.bakabt.me/images/a/a8/Subtitles.png Image]
# Under Subtitles, make sure “Allow animation when buffering” is enabled, and “Maximum texture resolution” is set to “Desktop”: [http://wiki.bakabt.me/images/0/06/Resolution.png Image]
# Under Subtitles, make sure “Allow animation when buffering” is enabled, and “Maximum texture resolution” is set to “Desktop”: [http://wiki.bakabt.me/images/0/06/Resolution.png Image]
# Under Output, choose “madVR” as renderer: '''Note: If you skipped madVR, or you’re experiencing lagging, frame drops or poor performance in general, set this to “EVR Custom Pres.”, “Haali Renderer” or “VMR-9 (renderless)” instead – try them in that order until you find one that works.''' [http://wiki.bakabt.me/images/6/66/Renderer.png Image]
# Under Output, choose “madVR” as renderer: '''Note: If you skipped madVR, or you’re experiencing lagging, frame drops or poor performance in general, set this to “EVR Custom Pres.” or “VMR-9 (renderless)” instead – try them in that order until you find one that works.''' [http://wiki.bakabt.me/images/6/66/Renderer.png Image]
# Make sure the LAV Video is selected as default decoder. If in doubt, go to external filters, choose “Add Filter”, select LAV Video Decoder and switch it to “Prefer”: [http://wiki.bakabt.me/images/9/99/Lavprefer.png Image]
# Make sure the LAV Video is selected as default decoder. If in doubt, go to external filters, choose “Add Filter”, select LAV Video Decoder and switch it to “Prefer”: [http://wiki.bakabt.me/images/9/99/Lavprefer.png Image]
# After making the above changes, restart MPC-HC and play back any file. You should notice the madVR icon in the system tray. Right click this to access the settings: [[File: Madvrsettings.png|center]]
# After making the above changes, restart MPC-HC and play back any file. You should notice the madVR icon in the system tray. Right click this to access the settings: [[File: Madvrsettings.png|center]]

Latest revision as of 22:07, 24 June 2013

Hi10P

High 10 Profile (Hi10P), also known as 10-bit, is the newest standard for fansubbed and encoded releases.


What is Hi10P?

In really basic terms, more data is used to define color which means there is less banding for a smaller file size. It's an H.264 profile which uses 10 bits of information to represent color. It's a huge improvement because there is less file size, which in the long run saves bandwidth.

Advantages

  • Significantly higher compression ratios resulting in vastly decreased file sizes. In return, a huge amount of bandwidth is saved.
  • Far more information is preserved from the original, removing such issues as banding and poor detail in dark scenes.
  • Less things for the encoder to worry about.

Disadvantages

  • Slower decoding and encoding.
  • No support for DXVA or CUDA as of writing.
  • Slight compatibility issues with older devices during playback.

How NOT to play back Hi10P content

  • CoreAVC in CUDA mode, DXVA and LAV CUVID, since no graphics cards support 10-bit decoding
  • Note: Using VSFilter (aka DirectVobSub) with Hi10P requires dithering material down to 8-bit first, which can introduce some quantization inaccuracies later on and also uses incorrect levels due to a bug in swscale (when using CCCP/ffdshow or LAV to dither)
  • However, not using VSFilter means that anamorphic releases which compensate for the stretching (e.g. 704x480 DVD releases) may give broken signs typesetting and stretched-looking subs. Two branches of VSfilter (threaded-vsfilter and xy-vsfilter) will handle these releases correctly, and they also support 10-bit input and output, meaning you don't dither using ffdshow or LAV. These two branches are still in development though , and may exhibit bugs.

Setup guide for MPC-HC + madVR

This method will result in higher image quality and performance than using CCCP (or anything ffdshow-based, really), so if you’re struggling to play back Hi10P anime, or even regular 1080p, consider trying this. MadVR and LAV are updated regularly and uses very new versions of libav for decoding as well as custom edits to make 10-bit decoding even faster, giving it much more speed than the ridiculously outdated ffdshow-tryouts project, and the even more ridiculously outdated CCCP codec pack that is based on it.

As of CCCP version 2011-11-11, CCCP included LAV filters as an alternative to ffdshow-tryouts.

Error creating thumbnail: File missing
Setup - LAV Install

Step Zero: Prerequisites

Uninstall ALL instances of MPC-HC, CCCP, ffdshow, madVR, Haali, K-lite, CoreAVC etc. you might have on your system. This is a clean guide that requires no other prerequisites to function, and ideally should have none installed either.

Step One: Downloading and Installation

  1. Download and install the latest version of MPC-HC (you want the .exe version for an installer) Note: Get the 32-bit version (called x86). The 64-bit version is incompatible with madVR. It is however, possible for the 64-bit version to function when the 64-bit LAV filters are installed.
  2. Install the LAV Filters. These are necessary for decoding video and audio. You need to select the Splitter as well.
  3. Note: You can skip this step if your PC isn’t very powerful! Download the latest version of madVR and extract it anywhere you like. Run install.bat inside the folder. DO NOT DELETE THE FOLDER AFTERWARDS, madVR lives inside it and does not copy itself anywhere else. Move it somewhere sensible before installing, for example C:\Program Files\madVR.

Note: Make sure you’re logged in as an Administrator when running this! Do not right click and "run as admin", log in as admin and run it normally!

Step Two: Configuration

  1. Open up MPC-HC’s options menu. Under “Internal Filters”, disable everything. You can leave some of the ones on the left active, but make sure you’ve disabled all of the ones not selected here: Image
  2. Under Playback, enable “Auto-load subtitles”: Image
  3. Under Subtitles, make sure “Allow animation when buffering” is enabled, and “Maximum texture resolution” is set to “Desktop”: Image
  4. Under Output, choose “madVR” as renderer: Note: If you skipped madVR, or you’re experiencing lagging, frame drops or poor performance in general, set this to “EVR Custom Pres.” or “VMR-9 (renderless)” instead – try them in that order until you find one that works. Image
  5. Make sure the LAV Video is selected as default decoder. If in doubt, go to external filters, choose “Add Filter”, select LAV Video Decoder and switch it to “Prefer”: Image
  6. After making the above changes, restart MPC-HC and play back any file. You should notice the madVR icon in the system tray. Right click this to access the settings:
    Madvrsettings.png
  7. Once inside, disable the “fullscreen exclusive mode” under Rendering -> General Settings. I recommend leaving this off unless you are having playback problems, because it prevents you from taking screenshots and makes the transition to fullscreen very ugly (It also messes up MPC-HC’s interface): Image

Step Three: Confirmation:

1. Play back a Hi10P file and use Ctrl+J to enter the OSD: (If it doesn’t show up or looks completely different, doublecheck output configuration)
Correct Incorrect
Madvrosdcorrect.png
Osdincorrect.png


2. Finally, check the “Filters” list (in the right click menu of MPC-HC during playback) and confirm that LAV Video is being used:
Filtersf.png


(Bonus/Optional) Adding ffdshow

Error creating thumbnail: File missing
Setup - Ffdshow Configuration

Adding ffdshow will allow you to use its audio decoder (for filters + a more customizable mixer), as well as using it for formats other than AVC1 (H.264), VC1 and MPEG-2. Especially for older 480p and worse content (which isn’t likely to be encoded in AVC1), you can use the ffdshow deblocking or debanding filters to attempt to improve image quality this way.

  1. Install the latest ffdshow-tryouts
  2. Open ffdshow’s settings dialog, under “DirectShow control” set the merit to normal: (To get here, just go to Start -> All Programs -> ffdshow -> Video decoder configuration)
  3. Double check Step Three to make sure ffdshow doesn’t touch your H.264 video