January 5th, 2009 - v0.31.06
- Modified the "High Speed Option (BD-25)" setting so 
  that it now includes b-frames in its output.
- Default CRF values for BD-5/9/25 under "Quick Encode"
  mode has changed to 30/25/22 to approximate quality on
  extras.  They can, of course, be overridden using the
  QUICK_CRF=nn hidden command.
- Corrected an error in which the overall status bar was
  not being updated correctly when one-pass ABR mode was
  selected.
- Added additional error checks and reporting following
  a failed encode.
- Corrected an error in which updated MPLS files were
  not being properly copied to the BACKUP\PLAYLIST 
  directory.
- Updated the included version of X264.EXE to the
  latest release (r1376 w/nal-hrd patch).
- Other minor corrections and cosmetic fixes.

December 8th, 2009 - v0.31.05
- Added code to recognize "streams are not syncronized"
  errors from TSMUXER and take action to automatically
  workaround by extracting video/audio streams 
  independently.  This should fix it in most cases.
- Build a workaround routine for movie-only encodes in
  which the TSMUXER output filename during A/V extract
  violates length restrictions and causes "Can't create 
  output file" error.
- Added new hidden option "USE_NAL_HRD=n".  If set to
  "1" (the default) the "--nal-hrd" parameter is used in
  the command line.  This requires an X264 build which
  includes the NAL-HRD patch (as is is the one included
  with BD Rebuilder). Setting to "0" (not normally
  recommended) disables the "--nal-hrd" switch.
- Corrected an error that could cause movie-only backups
  to not extract and remux properly when small enough to
  fit on the target and it consists of multiple parts.
- Updated the included version of X264.EXE to the
  latest release (r1360 w/nal-hrd patch).
- Other minor corrections and cosmetic fixes.

streams are not syncronized
December 4th, 2009 - v0.31.04
- Replaced the included X264.EXE with a different build.
  (0.31.04)
- Corrected an error in which could result in audio sync
  issues.  This was related to the depth of search for
  pulldown in MPEG-2 and VC-1 sources.
- Updated the DirectShow configuration routine to check
  all FFDSHOW settings and execute if any are not set
  correctly.
- Added a new hidden parameter. "FORCE_NOENCODE=1" will
  tell BD Rebuilder to keep the origina video intact, no
  matter what size.  Note that if you have "FORCE_ENCODE"
  set as well, encoding will take precedence.
- Added the "--nal-hrd" option to the X264 command line
  to provide better Blu-ray compatibility (as opposed to
  depending upon TSMUXER).
- Add a new hidden parameter. "WEIGHTP=n" enables or
  disables explicit weighted prediction on p-frames.  This 
  is to counter several reports of "blockiness" on systems 
  that do not properly support it.  Setting "WEIGHTP=1" 
  will enable the feature, the default value is set to "0"
  in order to avoid having to explain the issues. Note, 
  however, that the reported issues are in the players -- 
  not the encoder or feature itself.
- Updated the included version of X264.EXE to the
  latest release (r1354).  Also now use a version that
  includes the "--nal-hrd" patch.
- Corrected an error in which "576p" was not displayed
  properly in the streams list when detected.
- Other minor corrections and cosmetic fixes.

November 17th, 2009 - v0.31.02
- Removed FFMS2.DLL from the installation as a backup
  method when FFDSHOW was not being called.  It seems
  to have caused more problems than it solved.
- Added checks for necessary software installations at
  startup to identify shortfalls and help prevent
  "failed encoding" errors.  Note:  You MUST have
  HAALI, FFDSHOW, and AVISYNTH installed to run BD-RB
  now -- there are too many issues when they are not.
- Added code to configure FFDSHOW as the preferred
  CODECs for DirectShow when not set correctly.  BD-RB
  also generates a file called "FF_RESET.BAT" in the
  BD-RB folder that will reset the original DirectShow
  preferences (in case they need to be restored for some 
  reason).  A special thanks to Atak_Snajpera for his
  helpful insight.
- Updated the included version of X264.EXE to the
  latest release (r1342).
- Other minor corrections and cosmetic fixes.

October 30th, 2009 - v0.31.01
- Corrected an error in which some larger menus were
  not being processed as such, and did not display
  graphic overlays correctly.
- Corrected an error that can result in out-of-sync
  audio and playback problems on some MPEG-2 sources
  that use pulldown flags.
- Created two new hidden options that will allow a
  user to tweak the X264 command line.  The options
  are "TWEAK_PASS_ONE=" AND "TWEAK_PASS_TWO=".  Any
  assigned options will be passed to and override
  setting on the default command line.  Note:  Any
  settings that could contradict BD standards are not
  allowed to pass through to the command line.
- Added hidden option "KEEP_MBTREE".  Normally BD-RB
  removes the .stats.mbtree file after successful
  encode.  This will keep the (rather large) file so
  additional passes might be done (manually).
- Corrected an error in the updating of the STN_table()
  related to type of stream_entry().  This could be a
  cause of issues on certain titles with PiP.
- Fixed an error in the calculation of the new sync 
  start PTS of some SubPlayItems.
- Corrected a glitch in BATCH mode so that Alternate 
  Playlists are recorded and used during batch.
- Updated the included version of X264.EXE to the
  latest release (r1310).
- Other minor corrections and cosmetic fixes.

October 11th, 2009 - v0.30.04
- Corrected an error in which the SubPlayItem OUT
  value was not being updated properly in the SubPath
  table of the MPLS.  This could be the root cause of 
  several reported inconsistencies.
- Other minor corrections and cosmetic fixes.

October 10th, 2009 - v0.30.03
- Changed default for "High Speed (BD-25)" setting
  so that it now uses CABAC. This corrects the 
  blockiness experienced in fade-ins and low light 
  scenes.
- Modified settings so the VC-1 video is never set to
  be blanked.  Removed associated code.
- Added FFMS2.DLL to package.  It is automatically
  used for decoding when a failure is detected after
  on attempt to encode.  This should bypass certain
  errors when DirectShow filters are misconfigured, or
  when the Windows 7 registry fix wasn't completed.
- Added a hidden setting "USE_FFMS2=1".  When enabled
  this setting uses FFMS2.DLL as the primary method
  of frame serving.  Note:  As of this release FFMS2 
  does not decode field based sources (those marked
  with a "**" in the stream list). But I'm hoping a
  solution will be found for this soon.
- Removed "--fps" from the X264 command line.  The
  AVS now sets thet bitrate.
- Added a new hidden option "QUICK_USE_QUALITY=1" in
  which, when set, BD-RB will use the currently chosen
  quality level in quick extra encodes rather than the
  default of "--ultrafast" mode.
- Fixed an error in which the source aspect ratio for 
  video resized from SD to HD was not being set 
  properly. 
- Other minor corrections and cosmetic fixes.

September 29th, 2009 - v0.30.02
- Fixed a bug in which the AUDIO_AMPLIFY hidden INI
  setting was not being read properly.
- Corrected an error in which non-strict movie-only
  output to BD-5/9 was being written as "--blu-ray" 
  rather than "--avchd".  Also made "no slices" and 
  "--level 4.0" restrictions to BD-5/9 movie-only 
  encodes even when "strict" is not selected. Reversed 
  the v0.30.01 change -- "strict AVCHD" is no longer 
  the default. I'm afraid that change may cause too 
  much confusion for people who have found the "sweet 
  spot" for their particular player (especially the 
  removed directories).
- Other minor corrections and cosmetic fixes.

September 28th, 2009 - v0.30.01
- Corrected an issue in which the SETUP checkbox for
  "SD to HD (720p)" was not being set properly when
  the SETUP dialog is initialized.
- Updated the maximum bitrate for BD-25 encoding to
  a higher rate to lower the undersizing probability.
- Removed "--slices 4" when HDDVD_COMPLIANT is set.
- Corrected an error in initial CRF calculation on
  very high bitrate encodes.
- Corrected the CRF sample size calculation for those
  instances where framerate is doubling (e.g. 29.97fps
  is not allowed -- and is converted to 59.94fps when
  720p resizing is selected).
- AVCHD output restrictions have been removed for all
  BD-25 output.  BD-25 movie-only now uses the TSMUXER
  "--blu-ray" option.
- Added new restrictions that are enforced when "Strict 
  AVCHD for BD-5/9 Movie-Only" is selected.  These new
  restrictions are intended to make AVCHD work on more
  players by becoming more compliant with the multiple
  AVCHD standards being created by camcorders. Now when
  this option is set all AVCHD output is limited to
  to Level 4.0, "--slices" are not included, the bitrate 
  is set to a 17.5Mbs maximum, and audio is always
  converted to Dolby Digital (DD is the only supported
  audio codec in AVCHD).
- Added a new hidden parameter for those who wish to
  ignore the AVCHD requirement for DOLBY DIGITAL audio.
  "OVERRIDE_AVCHD_AUDIO_LIMIT=1" will remove the "always
  convert to DD" restriction and audio will be included
  per the choices made in the SETUP dialog.  Using this
  option is not recommended in most cases.
- Strict AVCHD compliance is now the default for BD-5
  or BD-9 movie-only encodes. The "FORCE_BLURAY" hidden 
  option has been removed. The equivalent of that 
  setting can be created by deselecting "Strict AVCHD 
  BD-5/9 Movie-Only".
- Corrected channel mapping when converting from 7.1 to
  5.1 audio for AC3 reencoding.
- Updated X264.EXE in zip distribution package to the 
  latest (r1171) version.
- Other minor corrections and cosmetic fixes.

September 21st, 2009 - v0.29.05
- Corrected an issue in which, while the new audio
  delay routine in v0.29.04 was finding the delays 
  correctly, they weren't being properly applied at 
  remux.  It should work correctly now.
- Corrected an error in BATCH mode that could result
  in "RebuildFiles() 00075 2202" when output folder
  already exists.
- Corrected an error in which small files that are a
  part of a multi-part movie-only encode could cause
  a "Can't open file: ...\VID_XXX.AVS.264"
- Added code to adjust initial value when using CRF
  while resizing to 720p.  Should reduce prediction
  passes.
- Fixed an error in which sometimes (when PiP exists)
  the selection of 720p resizing was not following 
  through in the encode.
- Made changes to ensure that all 720p encodes held to
  BD specs -- especially when converting 29.97 or 25fps
  sources (requires framerate doubling).
- Added "AssumeFPS()" to the AVS file when appropriate
  to make frame timing more exact.
- Corrected an error in which resizing would not occur
  when destination space would not require encoding.
- Added a new setting to the SETUP dialog that will
  convert standard definition (SD) sources (480/576) 
  to 720p.  This mode is useful for SAPs that always 
  output in wide screen mode giving a "stretched"
  appearance to SD sources.  It may also improve 
  picture quality on some sources.
- Added "--qpmin=0" to all command lines.  This should
  reduce the likelihood of undersizing on high bitrate
  encodes.
- Updated X264.EXE in zip distribution package to the 
  latest (r1159) version.
- Other minor corrections and cosmetic fixes.

September 13th, 2009 - v0.29.04
- Made one more adjustment to prevent "GUI Issue,
  no hWnd returned".  I think this may be gone for
  good now.  It finally became clear as to what was
  causing this to randomly occur.
- Fixed an error in which progressive output could
  under some circumstances be created at an illegal
  (29.97fps, 25fps) framerate.
- Changed the default processing for interlaced
  sources.  All sources that are interlaced now are
  kept interlaced in the output.  This means the
  "KEEP_INTERLACING" INI setting has been removed
  (as unnecessary)
- Added a "DEINTERLACING=" hidden option, see the
  description in HIDDENOPTS.TXT for details.
- Changed the type of AVISYNTH preprocessing used to 
  ensure comb-free deinterlacing.  Interlaced sources 
  should be more crisp, and free of jagged edges now.
- Corrected a "Selected source is not BD format" error 
  that could happen on very small sources.
- Added a "quick search" function to identify sources
  that are Bottom Field First (BFF) interlaced.
- Added code to scan all M2TS files and find audio
  streams that have delayed PTS times (for correction).
- Other minor corrections and cosmetic fixes.

September 8th, 2009 - v0.29.03
- Made another adjustment to attempt to prevent the
  dreaded "GUI Issue, no hWnd returned" error.

September 7th, 2009 - v0.29.02
- Made changes to the code for collecting the hWnd
  of X264 and updating progress.  It appears that
  X264 can have more than one top level hWnd that
  is associated with its process id, causing BD-RB
  to sometimes look for status in the wrong place.
- Corrected an issue in which stopping an encode in
  ABR mode, and then resuming in 2 pass could cause
  BD-RB to fail (no .STATS file).
- Updated the Movie-Only playlist selection dialog
  so it accurately displays chapters (rather than
  marks).  Also corrected the chapter output to the
  .META file in the same way.  This should prevent
  meta files with too many chapters.
- Updated X264 version to the latest release (r1251)
- Other minor corrections and cosmetic fixes.

September 5th, 2009 - v0.29.01
- Added a new "One-Pass AVR Mode" selection to the
  "Encoder Settings" menu.  This will perform the
  encode at the quality level you've selected but
  will use one-pass ABR encoding.  Generally this
  mode results in lower quality than two pass mode
  with the same quality setting, but it is faster.  
  Aimed primarily for use on BD-25 encodings.
- Added code to CRF estimation routine that reduces
  the probability of oversizing.  CRF prediction is
  never exact, but this should make it less inexact.
- Rewrote routine to find X264 window handle.  This
  fixes the possibility that BD-RB might incorrectly
  report the status of another concurrently running 
  X264 process.  It also should fix the "GUI Issue,
  no hWnd returned" error that seems to randomly 
  occur on certain systems.  Thanks to Groucho2004.
- Changed the X264 command lines for all encoding
  modes to implement the new "--slices" parameter.
  This enables the software to ensure 100% compliance
  with the BD standard -- even on this unique rule
  that has not been enforced on any currently known
  playback system. 
- Implemented a workaround for a bug in TSMUXER in
  which it doesn't properly multiplex multiple MKV
  files into a movie-only M2TS stream.  This should
  fix issues with chapter jumps and FF/RW on certain
  sources.
- Made a change to the Movie-Only selection criteria
  to avoid selecting "low chapter" MPLS files when
  more standard chapter counts are available.  Also
  added an indicator in the Playlist selection dialog
  that shows how many chapters each MPLS contains.
- Added code to ScanDirectory() to prevent crash if
  an illegal filename is encounterd (error 00052).
- Updated X264 version to most recent (r1247) which
  includes speed improvements, new options and small
  bug fixes.
- Other minor corrections and cosmetic fixes.

August 22nd, 2009 - v0.28.04
- Changed the default behavior for handling
  PiP/secondary audio/video.  PROCESS_SECONDARY
  now defaults to "1" (true) and full backups will
  include secondary audio/video.
- Fixed an error related to PiP and extension data
  tables in which some timestamp entries may not have
  been updated.
- Fixed possible "CorrectMPLS()00006 2408" that may
  occur during rebuild.
- Added a specialized hidden setting that is meant
  for special circumstances. "HDDVD_COMPLIANT=1" in
  the "[Options]" area of the INI will force certain
  parameters to be used and will limit bitrate to
  that legal for HD-DVD playback.  Note:  This does
  NOT mean you can playback your output on an HD-DVD
  player.  It only means the stream will be encoded 
  in a way that is compliant for certain post BD-RB
  software packages to use it in creating HD-DVDs.
  If selecting this option with BD-25, it is likely
  you will undersize due to bitrate constraints.
- Added code to better select the movie-only MPLS.
  Now when there are two large MPLSs within 10% of
  each other, the default is the 2nd largest (which
  is generally the non-extended or non-commentary
  version).  You should still check the "Alternate
  Movie-Only Playlist" just to be sure.
- Corrected an error in the CRF prediction routine.
- Updated X264.EXE to the most recent version (r1222)
- Other minor corrections and cosmetic fixes.

August 10th, 2009 - v0.28.03
- Corrected an error introduced in v0.28.01 that
  could result in an incorrect update to the MPLS
  file or more likely "CorrectMPLS() 00063 2408".
- Added code to reduce the number of iterations
  needed to reach CRF in the GetCRF() estimation
  process.  It was affected by the MBTREE algorithm.
- Updated the X264 executable to r1206.
- Other minor corrections and cosmetic fixes.

August 9th, 2009 - v0.28.02
- Updated the one-pass CRF routine to prevent a rare
  but possible "forever loop". 
- Fixed an error introduced in v0.28.01 that could
  cause timing issues on some very small sources.
- Other minor corrections and cosmetic fixes.

August 9th, 2009 - v0.28.01
- Added a Batch processing feature.  This allows you 
  to queue up multiple jobs, especially useful when 
  you decide to let BD-RB run overnight. Right-click 
  in the batch area to see action options.
- Rewrote the MPLS update routines to better handle
  SubPath() updates related to remuxing of secondary 
  audio and video streams. Also fixed the updating
  of pip_metadata() tables. This should correct the
  remaining issues with PiP video processing with
  the exception of DTS audio demuxing/muxing.
- Added a "hidden" option to force encoding (helpful
  when using filters) even when the source would fit
  in the output.  You can set it by adding the line
  "FORCE_ENCODE=1" to the "[Options]" area of the
  config file (INI).
- Updated some encode settings to ensure Blu-ray/4.1
  compliance for the "Highest Quality" mode.
- Upgraded the included X264 executable to r1198. This
  version includes "Macroblock Tree Rate Control". It
  should produce higher quality if you are using the
  "Better, High Quality, or Highest" encoding settings.
  Note: This is really cool -- Dark Shikari rules.
- Corrected an error in which the "Remove WORKFILES"
  option was not being correctly set at dialog startup.
- Other minor corrections and cosmetic fixes.

August 5th, 2009 - v0.27.01
- Added the capability to reencode secondary video
  streams. These were previously copied intact, and
  as a result used excessive amounts of space, making
  the overall encode quality drop.
- Corrected an error related to secondary tracks and
  how they are updated in the SPN tables.  This fix
  should correct some of the problems related to 
  playback of video with PiP.  Some PiP issues remain 
  and are being researched.
- Fixed an issue in which on some multiangled sources
  the angles may not be properly included in the list
  of items to be reencoded.  This should fix the issue
  where one angle appears to work and another is blank.
- Modified encode quality settings so that they now use
  the X264 PRESETS.  This makes setting more managable 
  and keeps BD-RB in line with X264 
  development.
- Corrected an error in which the percent completed
  reported during a minimized state could incorrectly
  report 100% overall completion when not true.
- Updated the included X264.EXE in the TOOLS folder
  to the lastest tested version (r1195).
- Implemented new settings for first pass of two pass
  encodes.  Should reduce overall encode times.
- Other minor corrections and cosmetic fixes.

August 3rd, 2009 - v0.26.03
- Recompiled to prevent false positive for "Artemis"
  in McAfee.  Same as v0.26.02.
- Other minor corrections and cosmetic fixes.

August 1st, 2009 - v0.26.01
- Added MKVMERGE.EXE and supporting code within
  BD-RB to support reencoding of field-based sources
  now no sources will be blanked automatically. My
  thanks to apophis906 for pointing me in the right
  direction.
- Corrected a bug in which secondary audio was being
  kept even when "PROCESS_SECONDARY=" is set to "0".
- Made changes to the way in which STN tables are
  updated when "PROCESS_SECONDARY=" is set to "0". 
- Added code to automatically adjust the source path 
  when someone selects BDMV or STREAM directories.  
  Some folks who have gotten accustomed to certain 
  other packages just have a hard time understanding 
  where the source path BD structure actually starts.
- Corrected an issue in which the type and sample
  frequency of removed audio was sometimes not be 
  updated properly in the STN table of the MPLS.
- Made an additional adjustment to CRF estimation to
  make it slightly more accurate.
- Corrected error "00011, PredictandEncode(), 2810"
  that can occur on certain sources.
- Changed the SAR on 720x480 and 720x576 sources. It
  has reported that the new settings solve widescreen
  playback issues.
- Modified the error reporting for "Audio/PGS sizing
  Issue" (when the audio/pgs that is kept makes the
  output too large to fit what is required).  Now it
  only is reported on sources greater than 5 minutes.
  Others continue with fixed CRF.  Note that if you
  have a source that consists of a LOT of < 5 minute
  sections and you are keeping more audio than should
  fit (very unlikely) you may see oversizing.
- Other minor corrections and cosmetic fixes.

July 22nd, 2009 - v0.25.04
- Modified EXE compression to prevent false positive 
  from AV program(s).
- Added code to prevent "forever loop" in one-pass
  prediction under certain unusual circumstances.
- Added a default background image to be used when
  blanking occurs.  You can change if you wish, but
  remember it will be stretched/shrunk to match the
  source resolution.  Look in the new MISC folder.
- Other minor corrections and cosmetic fixes.

July 19th, 2009 - v0.25.02
- Replaced the prediction algorithm for one-pass
  encoding.  It now does prediction passes until it
  finds the correct CRF.  This should be much more
  accurate - but please remember it may take 
  slightly more time and is still experimental.
  Note: On very small sources it can be faster to
  do a first pass than to predict CRF.  When BD-RB's
  analysis indicates this to be the case, a two-pass 
  encode will be done, even when one-pass mode is 
  selected.
- Corrected issues found in update of MPLS STN
  tables for secondary audio and video streams.
- Made changes to secondary audio processing that
  should make DD+ PiP tracks start working. Note:
  you must have "PROCESS_SECONDARY=1" set in INI.
- Updated X264 to r1183, this new version includes
  speed improvements and other fixes/enhancements.
- Made changes to all X264 command lines to make
  BD-RB compatible with new defaults starting in
  X264 r1179.  This means that BD-RB now requires
  X264 version r1179 or higher.
- Added "--ipratio 1.1 --pbratio 1.1" to the 
  encoding command line to lessen "pulsing" on 
  sources that are very highly compressed.
- Added code to recognize and workaround encoding
  issues on very small sources.
- Changed "Quick Encode for Extras" so it is ON by
  default. Most encode will benefit with faster
  completion.
- Other minor corrections and cosmetic fixes.

July 8th, 2009 - v0.25.01
- Implemented a one-pass CRF mode.  This estimates
  the CRF needed for the required size and reencodes
  using a single pass.  Note that this mode is new
  and is experimental -- use for testing only, as it
  is possible you may get over/undersizing.
- Added a feature that automatically extracts and
  uses all original video streams intact when the
  output target is smaller than the selected source.
- Added code to collect and log the TSMUXER error
  message when a MUX has failed for some reason.
- Added support for DD+ secondary audio.  Now PiP
  audio should work (when it is DD+).
- Added code to detect and work-around certain types
  of demuxing errors.
- Added a hidden switch for help during testing of
  the PiP functions.  PROCESS_SECONDARY=1 will
  enable the PiP processing.  If it is set to 0 (the
  default value) the secondary video will be ignored.
- Corrected an issue with update of the MPLS when
  secondary video tracks are used.
- Added a "HIGH-SPEED" option to the "SETTINGS/ENCODER
  SETTINGS" menu.  It is visible/recommended for BD-25
  encoding only.  The quality on BD-5/9 will suffer
  greatly if this option is used (via hidden setting).  
  When used with one-pass CRF mode on BD-25 it can 
  result in a very fast yet excellent quality backup 
  of most discs.
- Added AVISYNTH code to limit audio channels to six
  (DD 5.1) when reencoding to AC3.  This should stop 
  reencoding failures on 7.1 sources.
- Regressed the version of AFTEN in order to prevent
  hangs on some AVS sources.
- Updated NICAUDIO.DLL to r2.03 
- Other minor corrections and cosmetic fixes.

July 2nd, 2009 - v0.24.02
- Corrected an error related to PiP processing in 
  which an error "CorrectEPData() 00006 2008" could
  occur due to incorrect indexing into the EPDATA
  table.
- Fixed a bug introduced in v0.24.01 in which full
  backups would have an illegal PID inserted into the
  MPLS file.  This could cause failed playback (blank
  screen with only sound or hang).
- Corrected an issue in which on some BDs that are
  multipart movie-only BD-RB would incorrectly extract 
  a single component and cause a muxing error.
- Other minor corrections and cosmetic fixes.

June 30th, 2009 - v0.24.01
- Added code to increase output size prediction 
  accuracy.  A WARNING to those using custom sizes 
  in order to make "adjusted" output, -- you will 
  likely oversize/undersize.  The actual size of the 
  output should now be closer to that specified in 
  the selected target parameter. A special thanks to 
  lithiumus for his help in the sizing adjustments.
- Changed the default values for AC3.  Reencoding will
  now be done at 640Kbs for 5.1 (rather than 448Kbs) 
  and 224Kbs for 2.0 (rather than 192Kbs).  Also the
  setup dialog option has changed to enable 448Kbs as 
  a secondary option (previously 640Kbs).
- Fixed an inconsistency in the percentage reporting
  to the status bar when in minimized mode.
- Added a LOG entry when BD-RB can't find the X264
  window handle.  This is just to clearly identify if
  the 50% complete problem is a result of a failed
  attempt to retrieve the handle.
- Corrected a bug that could under certain conditions
  prevent playback of streams that had secondary video
  on the original disc.
- Added code to prevent failed encode on very small
  sources due to ridiculously low specified bitrate.
- Added and ETA field to the status display of the GUI
  that shows an estimate the time needed to complete
  the current encoding pass.
- Added a partial implementation of PiP rebuilds.  The 
  video should now be included on full backups.  Audio
  support is still in development.
- Changed the name of the INF file.  Previously the
  job status information (INF) was saved to a file
  called "BDREBUILDER.INF" in the destination folder.
  Now, to keep the information for debugging, etc. I
  have named it according to the source.
- Added an option to the SETUP dialog for automatic
  removal of the WORKFILES directory after rebuild.
  Warning:  Selecting this option removes all files
  required to perform another REBUILD in the event you
  decided to "tweak" the source slightly.  Use with
  caution.
- Added a "Shutdown after REBUILD" option under the
  FILE menu.  This will shutdown your computer at job
  completion (only if BD-RB has successfully completed 
  all its encode and rebuild steps). A warning/abort
  dialog gives the opportunity to abort the shutdown.
- Updated X264.EXE to a newer release (r1173).
- Other minor corrections and cosmetic fixes.

June 20th, 2009 - v0.23.02
- Corrected an error in which a file may incorrectly
  be flagged as no reencode and cause oversizing.
- Updated X264.EXE to newer version (r1169)
- Other minor corrections and cosmetic fixes.

June 18th, 2009 - v0.23.01
- Added the --fps parameter to the X264 command line
  to circumvent possible inconsistencies in source
  frame serving.
- Added code to detect pulldown in VC-1 sources and 
  perform special handling (e.g. auto removal).
- Changed the method of updating the progress bar
  back to that in v0.21.01.  It seems the O/S isn't
  consistent returning window handles.
- Corrected an error in which field deinterlacing
  could fail when the output of the source codec was
  not YUY2 or YV12.
- Corrected an issue related to sources with pulldown
  that could result in audio synch errors.
- Changed the default value of the FIX_CLPI hidden INI
  setting.  The CLPI errors were fixed in TSMUXER and
  this is typically no longer needed.  If you are using
  an older version of TSMUXER rather than the one that
  is shipped with BD-RB, however, please add FIX_CLPI=1
  to the "Options" area of your config (INI) file.
- Fixed some overall progress reporting errors when 
  resuming a movie-only encode.
- Added code to identify troublesome (field based)
  VC-1 interlaced files.  In BD-25 backups they are (if
  not the main-feature) automatically copied intact to
  prevent CODEC failures during encoding with X264.
  NOTE: Setting the RESIZE option will disable this
  feature.
- Added two flags to the streams list following the fps
  indicator.  "*" means the source is PULLDOWN.  "**"
  (BD5/9 only) means the source is FIELD BASED interlaced 
  VC-1 and will be BLANKED during reencoding.  Audio 
  will playback correctly, but with a blank screen. This 
  is required in order to prevent CODEC failures on these 
  sources. If you see a lot of "**" flags, you may want
  to consider movie-only mode.
- Added a hidden option called "DISABLE_VC1_FIX=1" this
  will disable the the two changes above (intact copy and
  blanking) -- just in case a CODEC is discovered that
  properly handles these streams.  Flags will still be
  displayed.
- Added code to detect when a video source does not
  require encoding to meet target size goals, and keep it 
  intact.  Please note that the decision contains more 
  than meets the eye.  For example, if an M2TS is a part 
  of more than one MPLS and a component portion of the 
  other cannot be kept intact -- it may not qualify and 
  requires encoding.
- Other minor corrections and cosmetic fixes.

June 7th, 2009 - v0.22.02
- Corrected an error in which the CERTIFICATE folder
  was not being properly removed (when it exists) from
  movie-only encodes.
- Added code to use alternate means to obtain window
  handle (for status bar update) when PID cannot be
  obtained.  This should prevent the confusing "50%
  completed" display that incorrectly gives the 
  impression of an encoding freeze.
- Added a hidden option that will force movie-only
  encodes into BLU-RAY format. This is enabled by
  adding "FORCE_BLURAY=1" to the OPTIONS area of the
  config file (BDREBUILDER.INI).
- Change the default for PRIORITY to IDLE rather than
  NORMAL.  This is typically the better setting.
- Other minor corrections and cosmetic fixes.

May 31th, 2009 - v0.22.01
- All movie-only modes now use the "--AVCHD" flag in
  TSMUXER.  This should result in better compatibility
  across more players.
- When "Stricter AVCHD Compliance for Movie-Only" is
  selected, BD-RB will check for and remove AUXDATA, 
  BDJO, JAR, META, and CERTIFICATE directories if they
  exist. This should result in better compatibility
  across more players.
- When building Full Backups, BD-RB will now check for
  and add BDMV, AUXDATA, BDJO, JAR, and META folders
  if they don't exist.  This should result in better 
  compatibility across more players.
- BD-RB now uses the MKV intermediate file format as
  the default for rebuilds.  If for some reason you 
  wish to force the use of .264 files as the default 
  (as in prior BD-RB releases) add this switch to
  the config (.INI) file:  "MKV_INTERMEDIATE=0"
- Modified the window handle capture routine so it
  wouldn't incorrectly grab the wrong handle when
  other instances of X264 are running.
- Fixed an error in which trailing short "blank video"
  could cause "Error 00009 DoEncoding..."
- Fixed an condition that could cause needless warning
  "Audio and/or PGS size too large." when a short
  trailing blank video is included in an MPLS.
- Corrected an error in which certain error conditions
  in DoEncoding() could result in a BD-RB hang.
- Fixed a condition in which an error might occur on
  certain types of non-directly attached drives that
  is related to timing of renamed files.
- Added a "KEEP_INTERLACING=1" hidden option.  This
  setting should be considered experimental.  This
  setting is not recommended for most encodes, but is
  included for certain specific scenarios.  The setting 
  tells BD-RB to forego deinterlacing.
- Added date stamp to error log entries.
- Updated X264 to version r1163
- Other minor corrections and cosmetic fixes.

May 25th, 2009 - v0.21.01
- Added code to take advantage of PGS (sub) resizing 
  now included in TSMUXER for 1280x720 resizing.
- Fixed an error in which PGS (sub) adjustments were
  not being made when doing movie-only reencoding.
- Corrected an error in which LPCM files were not
  being retained correctly when selecting "Keep HD
  Audio for BD25".  It still needs some testing, but 
  should work correctly now.
- Corrected a problem in which multi-part LPCM files
  were not being reintegrated properly into Movie-Only
  encodes to BD-25.
- Removed BDREBUILDER.INI from installation .ZIP.  It
  prevents accidental overwriting when updating.
- Updated X264 to latest version (r1153)
- Updated TSMUXER to latest release (v1.10.6). Note:
  This version and later REQUIRES TSMUXER v1.10.6 or
  higher due to use of new features. 
- Other minor corrections and cosmetic fixes.

May 5th, 2009 - v0.20.09
- Fixed a bug in which a "STOP" statement (meant for
  testing) was left enabled in v0.20.08 and could be 
  encountered randomly.
- Corrected an error in which a value larger than
  2000 for MIN_M2TS_SIZE could cause a failure in 
  attempting to copy files.
- Other minor corrections and cosmetic fixes.

May 4th, 2009 - v0.20.08
- Corrected source of "DoEncoding() 76 4" error.
- Corrected an error in which some files were being
  incorrectly reencoded even though they were smaller
  than the MIN_MT2S_SIZE parameter (BD-25 only). Note
  that there may still be (and should be) times when
  files smaller than MIN_M2TS_SIZE are encoded (when
  included in an MPLS than also has a larger M2TS).
- Changed processing so that now selecting "Stricter
  AVCHD Compliance..." in the SETUP menu now sets the
  "--avchd" flag for TSMUXER.
- Updated TSMUXER.EXE to the latest release (v1.10.1).
- Improved error handling and identification system.
- Other minor corrections and cosmetic fixes.

April 30th, 2009 - v0.20.07
- Corrected an error introduced in v0.20.06 that made
  movie-only mode selection result in "Source selected 
  is not BD format".
- Other minor corrections and cosmetic fixes.

April 29th, 2009 - v0.20.06
- Made changes to MPLS processing code to correct for
  mismatch errors when MPLS/CLPI PID orders are not
  ordered the same.
- Rewrote several sections that perform audio encoding
  and integrated new routines for processing.
- Corrected an error in which under certain conditions
  some small parts of a multi-part playlist might not
  be reencoded -- and result in a video type mismatch.
- Updated X264.EXE to the latest release (r1145)
- Updated TSMUXER.EXE to the latest release (v1.9.9)
- Other minor corrections and cosmetic fixes.

March 31st, 2009 - v0.20.05
- Changed the processing so that audio encoding is
  not done when intact audio selections are made.
  This should correct errors caused by attempts to
  use nicaudio/aften against HD sources.
- Other minor corrections and cosmetic fixes.

March 29th, 2009 - v0.20.04
- Corrected an error in which timing adjustments on
  certain files may not have the PTS updated 
  correctly on LPCM streams.
- Added an option to SETUP to keep HD audio streams
  intact (for BD25 encoding only).
- Extended the timeout of the beta.  Since I haven't
  had a lot of spare time lately, I want to make 
  sure the program doesn't timeout for anyone between 
  version releases.  The timeout is NOT meant to limit 
  use but instead to keep me from having to readdress
  the same bugs over-and-over.
- Made several changes to accommodate naming
  convention in newer versions of TSMUXER.
- Updated X264 to version r1130.  Includes several
  speed improvements.
- Fixed an error related to pass reporting on certain
  types of encodes.
- Reduced the default target size for BD-25.  The new
  setting of 24450 was too large for BD-RB (which has
  a limit of 23098).
- Added setting of the CUSTOM_TARGET_SIZE as an option
  in the SETUP dialog.
- Other minor corrections and cosmetic fixes.

March 7th, 2009 - v0.20.03
- Corrected an error in which the determined total
  source size can be distorted.  This can result
  in undersizing.
- Updated the SETUP dialog follow-on action so the
  stream display, settings and tables are updated 
  following a save.  In previous versions the INI 
  data wasn't being reset based on saved settings. 
  This may be the cause of many of the "Failed to 
  rebuild BD file(s)" error caused by a mismatch 
  between different phases of BD-RB.
- Added code that saves audio/sub configuration at
  demux and resets it accordingly at remux.
- Changed default MIN_M2TS_SIZE to default to 100MB
  for BD-25 encodes to save time.  You can change
  the the value with MIN_M2TS_SIZE=nnnn.  This has
  no effect on BD-5 and BD-9 encodes.  It will also
  not affect M2TS files that are a part of the main
  MPLS>
- INI Editor now reloads INI when saved (you no
  longer have to exit/reenter for changes to take
  effect).
- Added a Custom Target Size option to the
  SETTINGS/OPTIONS menu.  You can set the value by
  adding CUSTOM_TARGET_SIZE=nnnn to the "[Options]"
  area of the config (INI) file.
- Updated X264.EXE to the latest release (r1123).
- Other minor corrections and cosmetic fixes.

February 28th, 2009 - v0.20.02
- Made additional change to the CLPI "fix" code
  to provide greater compatibility across more
  players.
- Regressed the version of TSMUXER included to
  the same one released with v0.19.6.  Apparently
  the new one introduces issues.
- Other minor corrections and cosmetic fixes.

February 28th, 2009 - v0.20.01
- Added additional code to help prevent removal
  of subpictures from streams detected as menus.
- Adjusted the constant for M2TS multiplexing
  overhead.  Output size should be closer to that
  specified now (prior versions resulted in some
  undersizing). 
- Added code to prevent certain possibilities of
  errors in CorrectMPLS().
- Added code to more definitively recognize menu
  items for special processing.
- Updated code to prevent "Quick" encoding of
  video segments that are a component of a multi-
  part feature.
- Made changes to the method for correcting tables
  in the TSMUXER CLPI files.  Panasonic players
  are hopefully now be able to work without setting 
  the "FIX_CLPI=0" flag.
- Updated the status of encode so it more accurately
  resumes (especially in movie-only -- note: make
  sure you've selected that same PlayList).
- Updated nicaudio.dll to v2.02.  Don't remember 
  why I was keeping the old version in the zip file
  distribution.  But I've been using this one for a
  while now.
- Updated X264.EXE to the latest release (r1115).
- Updated TSMUXER.EXE to v1.8.18(b).
- Other minor corrections and cosmetic fixes.

February 21st, 2009 - v0.19.06
- Corrected a bug in v0.19.05 that caused failure
  in CreateBDFiles() when using MOVIE-ONLY mode.
- Other minor corrections and cosmetic fixes.

February 21st, 2009 - v0.19.05
- Corrected a error in which selecting MKV as the
  intermediate file could result in problems for
  movie-only encodes (missing "track=" in META).
- Made slight adjustments to some sizing settings.
- Corrected the "selected" check when choosing
  BD-25 output.
- Enabled MIN_M2TS_SIZE=nnn as a "hidden" option.
  When set (for a non-MOVIE only encode) and the 
  output size is BD-25, any M2TS files that is
  smaller than this value (in MB) is copied intact 
  to the output.  Useful for retaining certain
  files that can't be reencoded (like VC-1 extras
  with hybrid progressive and interlaced streams) 
  when doing full disc backups.
- Corrected an error in sizing calculations that
  could result in significant undersizing.  This
  is especially pronounced on BD-25 encodes.
- Resolved an issue in which CLPI tables were not
  being correctly fixed when running movie-only
  mode.
- One of the second pass settings incorrectly had
  --b-adapt selected.  Removed.
- Made improvements to processing for BD-25.  Now
  small menu files are automatically excluded from
  reprocessing.
- Other minor corrections and cosmetic fixes.

February 18th, 2009 - v0.19.04
- Corrected a bug that could lead to errors in the
  ExtractAudio() and RunTSMuxer() subroutines.
- Other minor corrections and cosmetic fixes.

February 17th, 2009 - v0.19.02
- Corrected a bug in which the wrong video type
  could be inserted in the MPLS under very rare
  circumstances.
- Added code to adjust subtitles accordingly when
  the RESIZE 1080p to 720p option is selected.
- Updated the included release of X264.EXE to
  release r1114 - which corrects the uncommon
  but reported "crash" that could occur on some
  computers.
- Corrected a condition in RunTSMuxer() that may
  cause a runtime error.
- Fixed possible causes of runtime errors in the
  audio extraction module.
- Other minor corrections and cosmetic fixes.

February 15th, 2009 - v0.19.01
- Corrected an error in which audio track of menu
  items may not have been updated properly.  This
  could cause menus to not play audio (especially
  for LPCM).
- Enabled PGS (subtitle) removal and wrote code to
  handle removal and updating of MPLS files.
  Note:  If a file is determined to likely be a menu
  (small with certain characteristics) subtitles will
  not be removed by default (in the streams display).
  You can manually remove them -- but only at the
  risk of creating possible menu problems.
- Added an option to the SETUP dialog for resizing
  1920x1080 sources to 1280x720.  This should make
  BD-5 backups of many sources more viable.
  Note:  If a file is determined to likely be a menu
  (small with certain characteristics) is will not
  be resized.
- Corrected an error in which simple stereo AC3 can 
  under certain conditions default to 448Kbs or 
  640Kbs (massive overkill).  The rate will now be 
  correctly set 192Kbs.
- Other minor corrections and cosmetic fixes.

February 14th, 2009 - v0.18.10 (internal release)
- Bug fixes.
- Other minor corrections and cosmetic fixes.

February 13th, 2009 - v0.18.9
- Changed the method for determining fps/framecounts
  and other file info so that AVISYNTH returns are
  used only as a backup. Small speed improvement.
- Made changes that lower the likelihood that video
  encodes will end in unspecific "failure".
- Enhanced error detection to more clearly identify
  specific error locations.
- Updated X264 version to r1112.  Seems to fix errors
  that some received on r1109 -- but not repeatable
  on reference machine in testing.
- Added code to automatically back into X264 r1082
  after two failed attempts to encode.
- Other minor corrections and cosmetic fixes.

February 10th, 2009 - v0.18.8
- Corrected an error in which a stream with no audio
  to extract could cause an error.
- Updated muxing command line in an attempt to correct
  "skipping" issues with playback on PS3.
- Corrected an error in which "ConvertToYV12()" can be
  multiply entered in an AVS file.
- Made some corrections related to audio stream
  selection and PIDs used.
- Updated included X264.EXE to r1109.
- Other minor corrections and cosmetic fixes.

January 25th, 2009 - v0.18.7
- Rewrote movie-only audio handling routines to fix
  out-of-sync audio on multipart sources.
- Corrected (another bug) that could cause the wrong 
  MPLS to sometimes be selected as the main-movie in 
  the Streams List.
- "Inconsistency" errors made no sense, as they were
  actually failed encodes.  Removed the error and put
  "failed encode" as should be.
- Added error ID in critical areas for debugging.
- Other minor corrections and cosmetic fixes.

January 23rd, 2009 - v0.18.5/v0.18.6
- Internal test versions

January 21st, 2009 - v0.18.4
- Fixed an error introduced in v0.18.2 that could set
  the framecount on a segment to an incorrect value and
  result in massive undersizing.  
- Corrected a bug that could cause the wrong MPLS to 
  sometimes be selected as the main-movie in the Streams 
  List.
- Corrected "Runtime Error 6" that could occur during
  selection of a source.
- Fixed an error that would cause BD Rebuilder to exit
  with an error when using "FIX_CLPI=0".
- Other minor corrections and cosmetic fixes.

January 20th, 2009 - v0.18.3
- Fixed an error in which empty folder that should be
  removed in AVCHD mode were not being correctly removed.

January 20th, 2009 - v0.18.2
- PLEASE NOTE:  Starting with this version, BD Rebuilder
  REQUIRES AVISYNTH v2.57 or above. If you do not have it 
  installed, please download it from: 
  http://www.jdobbs.net/freeware/Avisynth_257.exe
  and install it.  BD-RB will not work with older
  versions of AVISYNTH.
- Improved command line settings used for QUICK encodes.
- Corrected error in QUICK encoding routine that
  could result in oversizing (particularly on
  series and extra discs).
- Corrected an error that could cause "Runtime Error 6"
  when encoding audio.
- Added code to catch errors during audio reencoding.
- Added a checkbox in SETUP to make AC3 reencodes
  default to 640Kbs rather than 448Kbs.
- Updated quality selection.  There are now four levels
  based on recommendations from Dark Shikari. Now uses
  "ENCODE_QUALITY=" parameter in INI file.
- Added a warning/restriction when source path lengths
  are too long (previously caused oversizing).
- Corrected an error that would cause "Runtime Error 9"
  on certain discs with multiple story paths (angles).
- Completely rewrote the movie-only handling routines to
  correct issues with certain multi-path/angle sources
  that had huge numbers of components and could cause
  BD-RB to crash with out-of-memory errors.
- Added code to correct the "snap" sound in WAV files
  resulting from demuxing via TSMUXER.
- Added chapter calculation to movie-only mode.  Now the
  chapters will match those in the original playlist.
- Added the ability to select from alternate playlists. 
  This is especially useful for series discs and discs
  with more than one version of a film. Note: You can
  select only from playlists of least 15 mins.
- Added traps to catch muxing errors that could result
  in "Runtime Error 76 - path not found".
- Corrected "Runtime Error 424".
- Fixed an error related to audio (especially LPCM) that
  could cause errors in "ReencodeAudio()" routine.
- Fixed several issues in related to reecoding/keeping 
  audio streams that could result in the wrong type code 
  being set in the MPLS file.  This could result in
  silent playback.
- Made calculation changes to help prevent oversizing
  under certain conditions when audio is kept intact.
- Added a SETUP option that makes what appears to be a
  more strictly compliant output (AVCHD) for the movie-
  only option.
- Other minor corrections and cosmetic fixes.

January 16th, 2009 - v0.18.1 (internal release)
- Numerous bug fixes and temp code for internal testing.
- Other minor corrections and cosmetic fixes.

 January 13th, 2009 - v0.17.14 (internal release)
- Numerous bug fixes and temp code for internal testing.
- Other minor corrections and cosmetic fixes.

January 3rd, 2009 - v0.17.13
- Corrected an error in which a source that uses LPCM
  input was crashing with MOVIE-ONLY mode.
- Fixed a "Runtime Error 9" that could occur when a
  source did not have a language code set.
- Added a temporary setting in the config file, example:
  SPECIAL_DEBUG_FILE="C:\PATHTO\DEBUG.TXT"
  This is meant to list all files and sizes found in the
  BD Source path individually in the selected output text
  file so I can debug incorrect sizing that has been
  reported.
- Updated AFTEN to the most recent SVN version.
- Other minor corrections and cosmetic fixes.

December 26th, 2008 - v0.17.12
- Enabled alternate target sizes in the INI file.
- Corrected the ColorBoost option -- in previous
  versions it could cause the AVS to fail.
- Correct an error in which FieldDeinterlace() could
  be inserted out-of-order in the AVS file.
- Updated the version of Aften apparently the previous 
  version released can have issues on
  some computers.
- Added a hidden parmeter "MKV_INTERMEDIATE=1" - this
  sets the intermediate file format to ".MKV" rather
  than ".264".  It is meant to support a certain
  player that gradually goes out-of-sync (for some
  unknown reason).
- Other minor corrections and cosmetic fixes.

December 26th, 2008 - v0.17.11
- Changed the "Quick" algorithm so it would was less
  picky about which extras to encode with CRF.
- Corrected an error in which the wrong MPLS could be
  selected for MOVIE-ONLY mode.
- Other minor corrections and cosmetic fixes.


December 25th, 2008 - v0.17.10
- Added "ConvertToYV12()" to the AVS files, apparently
  some of the needed CODECS don't default as previously
  thought.
- Corrected an error in which the META files would not
  have the framerate set properly when the computer is
  set for certain format types.
- Other minor corrections and cosmetic fixes.

December 24th, 2008 - v0.17.9
- First release for beta testing.
