Friday, December 30, 2011

Blu-ray to NAS

Revised June 2, 2012


I've had a lot to learn getting music and video files stored on and playable from my network.
  • After several months I finally realized the players I've been using were not capable of DTS-HD Master Audio or of multi-channel PCM.  I was looking at the WDTV Live Plus forum to see if my WDTV supports 7.1, and I found that it doesn't support DTS-HDMA. I was getting up to 6.1 DTS, but not lossless Master Audio, and no 7.1.  This prompted me to give MPC-HT another try. After quite a bit of setup configuration, I now see DTS-HD Mstr on my receiver 
  • Full Disk / ISO copy assures that will have useable file(s). Also any extras that may someday want to see.  Lacking a good ISO copy, ISTM could copy undamaged chapters from 2 discs and combine into single movie file
  • TSMuxeR works much faster when using unencrypted source (incl mounted .iso) than when using Passkey source
  • Beware if 1st stream file in a playlist has no audio.  TSMuxeR and DVDFab output may have no audio at all!
  • It's entirely possible to bypass ISO creation and TSMuxeR, and feed DVDFab output directly to Handbrake for MKV creation
  • Handbrake will not "passthru" THD or LPCM.  For THD, use mkvmerge to combine HB video with audio track from .m2ts.  For LPCM, let HB encode to "Flac (ffmpeg)" (mkvmerge does not recognize LPCM tracks)
  • LAV Audio Decoder used by MPC-HT does not bitstream (i.e. pass-through) LPCM (from .m2ts file) or FLAC.  The output codec for both is PCM (ISTM there should be zero quality loss)
  • If Sound > Realtek HDMI Output > Configure is set to 7.1, 5.1 PCM output will go to the back rather than the side speakers!  The workaround for this bug is to configure as 5.1 unless 7.1 is needed for a (rare) 7.1 PCM output (3:10 to Yuma is my only example).  This brings up several things of interest (applies to both PCs):
    • With PC Sound configured to 7.1, RX-V867 shows 3/4/0.1 for 5.1 or 7.1 PCM
    • The Realtek 5.1 speaker configuration incorrectly shows the speaker icons in the back, 7.1 shows all properly. The 5.1 speaker configuration test properly outputs to the side speakers
    • Perhaps some future Realtek driver update will properly handle the situation of 7.1 speaker setup with 5.1 PCM source.
    • An alternative to all of this would be to convert any 7.1 LPCM to a format that could be bitstreamed.  However Handbrake has a maximum "6 Channel Discrete" Mixdown option for AC3 (ffmpeg).
  • MPC-HC installation notes (May 21,2012):  I installed MPC-HC on my recent HTPC build, which will become the primary way I watch .mkv movies.  Up until now, I have been using my "main" PC, connected to the receiver with HDMI over Cat5e.  MPC-HC installaton is not "hard" once understood, but can be extremely confusing because most people including myself do not use it as a completely "stand alone" program, and there are many different possible configurations.  The following is what I have done on both PCs.
    • Download and install LAV filters (curent now is LAVFilters-0.50.5.exe)  I choose x64 files only, but for some reason the installation went to the Program Files (x86) directory on the HTPC only (maybe I had specified on the other PC)
    • Download dtsdecoderdll.dll and place it in the LAV Filters\x64 directory.  I had a version of this file as part of the ArcSoft TotalMedia Extreme software that came with my Hauppauge HD-DVR.  That version is probably fine, but I got the later version anyway.
    • Download and install MPC-HC (64bit).  I unchecked "translations" during install.
      • on first run, get message "Please download and install the latest DirectX runtime"
    • Download and run dxwebsetup.exe (latest is v.9.29.1974 4/18/2011)
      • This appears to install a lot of "old" files, but search shows that this is correct and is indeed needed by MPC-HC.  It is interesting that the install only took a few minutes on the HTPC.  I remember a much longer process on the other machine
    • Make the following changes to MPC-HC options:
      • Internal Filters, uncheck: Matroska and MPEG/PS/TS/PVA
      • External Filters, add: LAV Splitter, LAV Splitter Source, LAV Audio Decoder.  Set all of these to "Prefer"
      • Double click LAV Audio Decoder.  Check all Bitstreaming Formats, but NOT "Use DTS-HD Framing for all DTS types"  Update: do not check Dolby Digital (AC3) or Dolby Digital Plus (E-AC3).  If these are checked, will get no audio for these formats.  There may be something I'm not getting right which causes this to need to be done.
    • In Sound > Playback, check HDMI Output Properties (see note above re 7.1 & 5.1 PCM)

No comments:

Post a Comment