Skip to content

New Parameters and Other Minor Enhancements

Compare
Choose a tag to compare
@patrickenfuego patrickenfuego released this 26 Sep 22:41
· 229 commits to main since this release

This release comes with a few new parameters as well as some quality of life enhancements for the script as a whole.


What's New

-TuDepth

An array that brings support for transform unit-related parameters. The first value represents intra depth, and the second value inter depth. (i.e. @(tu-intra-depth, tu-inter-depth))

-LimitTu

Exit condition for TU depth recursion, generally used with the -TuDepth parameter.

New Tuning Options for Two-Pass Encoding via the -FirstPassType Parameter

I've added 3 options for tuning the first pass of a two-pass encode. They are:

  • Default/d - Mirror options in the first and second pass. This is the slowest option, and also the script default
  • Custom/c - My own custom options that are meant to blend the speed of Fast with the quality of Default.
  • Fast/f - This is essentially the equivalent of the no-slow-firstpass argument in x265. As the name suggests, this is meant to speed things up during the first pass only

See README for full details on what arguments are affected.

-Verbose

This is technically a default parameter from the CmdletBinding() attribute of the script, but it is now cascaded down throughout the script module functions for some extra logging information. This is useful for verifying that parameter input is being parsed correctly (or if you just like more info!).

Crop Progress Bar

Sometimes, cropping can take a while (especially for 4K UHD sources with NAL data), so I've added a progress bar that updates as the parallel jobs finish. Neat!

Other Enhancements or Bug Fixes

  • Cropping durations have been reduced slightly for timestamps past the 01:50:00 mark on a sliding scale. This will reduce the amount of time it takes to crop really long sources
  • Windows default path has been updated to a more flexible value (thanks @ImportTaste)
  • Fixed bug with the Get-Content <Log_Path> display line once encoding starts. If a source had a single quote in the title, it broke the string interpolation. This has been fixed

Upcoming

  • Tonemapping! Still working on it.
  • Dolby Vision support