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)

Tuesday, December 13, 2011

Win 7 boot after image restore or partition re-size

Revised: April 22, 2012
A problem occurs when restore a bootable partition image to another location and then boot from that location.  The partition which was the boot partition when the image was made will retain the C: drive designation, and the new boot partition will assign itself another letter.  This is a “schizophrenic” system – who knows where new software would install, etc.

The classic fix for this problem is to unplug the original drive before the first boot of the “new” partition.  A more elegant regedit procedure follows, including other routine steps required:

-                  Restore image to new partition
-                  The new partition will have the same name as the original.  Rename it to my standard “DriveID Partition#”
-                  Verify that it is set as active partition
-                  Assuming the new partition now is x:, “bcdboot x:\windows /s x:” (check: bcdedit /store x:\boot\bcd). This is not necessary if are also restoring the 100MB System partition and marking it as active
-                 Regedit
-             Click Hkey_Local_Machine
-             Click File / Load Hive
-             X:\Windows\System32\Config\System (i.e. registry to modify)  (live registry is HKLM\System\Mounted Devices)
-             “Give the baby a name” like XXX
-              Open the key HKLM/XXX/Mounted Devices
-              Fix any problem, or just delete them all (can’t delete (default))
   -   Remove C: from source partition
   -   Add C: to target (or will happen during first boot?)
-              Click XXX
-              Click File / Unload Hive
-                     Restart, edit BIOS to boot from new partition

The "normal" way to use Acronis is to image the current boot partition, but I've always had a gut feeling that it may somehow be better to image my primary (SSD) Windows installation while booted from elsewhere. I will probably continue to do both as long as I continue to multi-boot.


If the restore is due to a disk boot failure but files are still accessible, consider copying the following:
  -  Bookmarks
  -  Desktop
  -  Taskbar (pinned)
  -  Start menu (all locations, incl pinned)


I should remind myself here to be more diligent about test restores.  My SSD stopped booting 4/4/2012, but restores of recent backups revealed many orphaned files and would not boot. I.e. the file system was damaged in a way that it would still boot, but not image properly. The most recent backup I had that would restore and boot was from 2/25/2012, and even that had chkdsk errors for unindexed files.


Related to this, I should also remind myself not to rely on a "testing" partition for very long, as it becomes more difficult to transfer back to the active (SSD) installation.


Separately, not resulting from a restore, I had non-boot and "This Copy of Windows Is Not Genuine" issues after using EaseUS to re-size one of my Win7 partitions. Following the above procedures fixed. (I assume the problems resulted from the partition GUID changing)

Saturday, May 7, 2011

SURT needed before IE 9 and Win7 SP1 installation

Revised May 13, 2012

IE 9 install

As usual with any major change, I first installed IE9 to a HDD partition which is a working test clone of my SSD.  The install was without any problem, and IE9 looks good enough to deserve a place on the SSD.

Multiple attempts to install to my SSD failed.  I tried the various fixes recommended in
http://support.microsoft.com/kb/2409098  How to solve Internet Explorer 9 installation problems
It was not until  "Method 5: Temporarily disable antispyware and antivirus software"
that I was successful.  I had not thought that AVG would need to be disabled, since the install to the HDD partition went fine with AVG running.


What I now understand:
- The HDD partition was not up to date with Windows updates, I simply chose the IE9 update.
- With AVG disabled on the SDD, IE9 install first ran (the following is a copied line(!) from View update history):
System Update Readiness Tool for Windows 7 for x64-based Systems (KB947821) [February 2011]
Installation date: ‎5/‎6/‎2011 5:19 PM,    Installation status: Successful,    Update type: Important
This tool is being offered because an inconsistency was found in the Windows servicing store which may prevent the successful installation of future updates, service packs, and software. This tool checks your computer for such inconsistencies and tries to resolve issues if found.
More information: http://support.microsoft.com/kb/947821


After the above update completed, I was then able to choose and successfully run the IE9 update.


It is unclear how, only when AVG was disabled, the IE9 install "knew" to download and run the System Update Readiness Tool.  I can only guess as to why this was not needed on the test install. (Difference in installed updates?, difference in SSD installation?)


For further info about the System Update Readiness Tool see:
http://support.microsoft.com/kb/947821


Win 7 SP1 install

 I delayed immediately installing SP1 due to various blogs at the time it first came out.  Since then, I have several times attempted to install it, but the installations failed with an obscure error code (800F080D).  I tried clean boot and UAC change, which did not help.  Looking further, I ran the System Update Readiness Tool as provided by Hotfix KB947821.  SP1 then installed successfully from my normal boot configuration.

Takeaway:  if I have update problems, try the SURT

This post now becomes primarily about the SURT

As a note of interest, Windows Update View update history has changed the format of View Details since my IE 9 installation notes above.

Tuesday, March 15, 2011

John Deere 2040 water pump rebuild

Seal kit instructions are incomplete to say the least.  Must make four different presses.

1) Press bearing/shaft assembly into pump housing.  Using appropriate socket on outer race, press from the front until bearing is flush with front of housing.  Impeller end of shaft will be almost to plane of back surface of housing.

2) Press pulley onto front of shaft.  Support impeller end of shaft while pressing.  Press until front of pulley is .5" behind end of shaft. (I pressed it on a little more than this and the pulley rubbed on the housing, causing me to have to use a puller to move the pulley forward.)

3) Press seal assembly onto impeller end of shaft using supplied tool, which presses the rotating end of seal onto shaft and then simultaneously the stationary part of seal into the housing.  The instructions say the tool "sets the preload on seal faces",  however see next step.

4) Press impeller onto shaft.  Press until back of blades are flush with back of pump housing.  At this point the back end of the shaft will be approximately .1" recessed in the impeller.  It is not possible to see if the front face of the impeller contacts the seal assembly, perhaps pressing it slightly further forward and increasing the spring load.  To determine this, I should have measured the length of shaft behind the seal after step 3, and the length of the impeller.


When removing/installing the radiator, it makes things much easier if unbolt the thermostat housing from the engine.  This allows the plastic shroud to be moved to the rear to clear the radiator as it is raised/lowered.  Not having a replacement gasket, I used grey RTV when replacing the thermostat housing.