2017-01-25 - ffhevc 3.1.8
	* Small improvement: add "Track $i:" to the question for
	  audio channel layout
	  
2017-01-24 - ffhevc 3.1.7
	* Removed one of the OUTPUT variables for batch mode. It is
	  no longer needed
	* Rewrote the audio channel layout code. It is now based on
	  per-codec encoder support
	* Repositioned the audio channel checking code
	  
2017-01-20 - ffhevc 3.1.6
	* Fixed a small issue in the output for batch mode
	
2017-01-18 - ffhevc 3.1.5
	* Check channel amount for the libfdk_aac encoder and warn and
	  exit on 7 channels as it doesn't support it
	* Use range=tv instead of range=mpeg for the color conversion
	  filter
	* Bugfix: return value of variable autocrop wasn't checked
	  when running in batch mode resulting in always cropping
	  the input files
	* Bugfix in the $OUTPUT variable when running in batch mode
	* Removed readlink from the batch mode variables as it's no
	  longer needed
	  
2017-01-15 - ffhevc 3.1.4
	* Support ALAC audio encoding
	* Some small improvements to the audio code
	* A few variable renamings, mostly in the case statements
	
2017-01-13 - ffhevc 3.1.3
	* Support 50 <-> 60/59.940 FPS conversions
	* Use upper-case words for the color primaries/transfers/matrices
	  and pixel formats
	* Support 4.0 audio channel layout in addition to Quad
	
2017-01-12 - ffhevc 3.1.2
	* Added support for pixel format conversion
	* Added support for colorspace conversion
	
2017-01-09 - ffhevc 3.1.1
	* Fix a possible issue when detecting the FPS value that occurs
	  with some files
	* Expand directory path internally instead of exporting the
	  dirname command to the file that gets sourced for encoding
	* Use 'bc' for calculating the detected FPS value
	* Only use fractions internally for FPS values. The user should
	  be presented with the floating point value
	
2017-01-08 - ffhevc 3.1.0
	* Support SMPTE-ST-2084 transfer characteristics
	* Placed the video post-processing filters in their own sub-menu
	* Some small changes to the FPS conversion code
	
2017-01-06 - ffhevc 3.0.9
	* Bugfix: default output directory wasn't made when running
	  in batch mode
	* Display found per-file crop values when running in batch mode
	
2017-01-05 - ffhevc 3.0.8
	* Support per-file auto-cropping when running in batch mode
	* Use internally full paths for input and output
	* Add a test case for output directory to the script that gets
	  sourced for encoding
	
2017-01-04 - ffhevc 3.0.7
	* Use readlink to get the full path to the cover art image. Fixes
	  an issue when running in batch mode
	
2016-12-02 - ffhevc 3.0.6
	* Merged the output code for the batch mode with that for single
	  file input
	* Fixed an issue where remuxing to MP4 may fail in case the user
	  chooses FLAC audio
	* Renamed variable $extracon to $remuxcon and $econ to $rcon
	* Made strict option "global" so I won't have to worry about
	  adding experimental audio codecs support in the future
	* Clean ups to the FPS conversion menu
	  
2016-11-23 - ffhevc 3.0.5
	* Added support for FLAC audio in MP4. Requires a very recent
	  ffmpeg version
	* Added the $strict variable to the remuxing code
	* Use the improved way of gathering info for the audio sample
	  rate detection
	* Added the ability to flag the first internal or external
	  subtitle as default, when using the option for internal and
	  external subtitle copying
	* Added support for LD-AAC audio encoding with libfdk-aac
	* Removed stderr to stdout redirection (2>&1) for some of the
	  ffprobe lines. It is no longer needed
	  
2016-11-20 - ffhevc 3.0.4
	* Moved checks for supported containers into its own function,
	  check_container_func()
	* Improvements to gathering information about the input file.
	  Saves us piping to sed and in some cases piping to awk and tail
	* Removed the NOSOUND option since the user can specify 0 for
	  amount of audio tracks which equals to encoding with the NOSOUND
	  option
	* Placed both subcopy and subcpy variables into a single subparams
	  variable. This also removes the NOSUBS variable
	* Placed the video length detection code into its own function,
	  video_length_func(), as it is used in two places so we can
	  save writing the same stuff twice
	* Instead of skipping bitrate calc for target file size in case
	  we can't detect the video length, ask the user to provide it
	* Removed install script and added a Makefile for installation
	* Added new INSTALL file with install/uninstall instructions
	  
2016-11-18 - ffhevc 3.0.3
	* Use process number instead of .old when renaming existing files
	* Added support for detelecining (IVTC). Bumps up config file
	  version to 33
	* Minor improvements to the cropping code
	
2016-11-16 - ffhevc 3.0.2
	* Added support for 3-pass encoding
	* Added support for setting a default audio codec in the config
	  file. Bumps up config file version to 32
	* Moved setting the video bitrate before the video filters
	* More variables renamings and other small code tweaks
	* Do some checking on duplicate entries when using additional
	  containers and warn and exit
	* Updated the man page
	
2016-11-14 - ffhevc 3.0.1
	* Set default amount of subtitles to 1 instead of exiting when no
	  value is given
	* Allow the user to choose the amount of audio tracks he wants at
	  run time instead of requiring it to be set in the config file.
	  This removes config file var MAX_AUD_TRACKS and bumps up version
	  to 31
	* Renamed array variables audmapval and submapval to audindex and
	  subindex since we're not mapping but specifying the audio/sub
	  index id with these vars
	* Fixed a possible case where audio params weren't cleared in
	  case the nosound option was chosen
	* Removed an if conditional checking for MAX_SUBS which no longer
	  is used
	  
2016-11-13 - ffhevc 3.0.0
	* Added support for batch encoding mode, to be activated with the
	  new -b option. It's used to encode directories with video files
	* Renamed variable $mode to $encmode for clarity
	* Reworked the input/output code
	* Disabled strong-intra-smoothing in the default x265 options
	  in the config file
	* Instead of relying on a config var to set the subtitles amount
	  to support, ask the user each time to provide it. Makes the
	  code less complex and easier to extend in the future. Bumps up
	  config file version to 30
	* Check if the X265PARAMS var is missing from config in case we're
	  not using an x265 preset
	* Updated the man page
	
2016-11-12 - ffhevc 2.9.9
	* Added support for importing external srt/ssa subtitles for the
	  mkv, m2ts, mts and ts containers
	* Moved the subtitle code into its own video_subtitles_func()
	  function
	* Added support for simultaneously copying subtitles from the
	  input file and copying external ones
	* Renamed variable SUBT to SUBNR for clarity
	* Updated the README file and man page
	  
2016-11-10 - ffhevc 2.9.8
	* Check if name of input file matches that of output file and warn
	  and exit. Requires the realpath utility
	* Added support for the m2ts, mts and ts containers
	* Merged the code that checks if an audio codec is supported by a
	  container with that that checks for additional output containers.
	  Removes code duplication and maintainability
	* Update to the audio sample rates. Sync them with ffmpeg -h encoder=<encoder>
	* Restrict TrueHD channels to 2, 5 and 6 as that's what the encoder
	  supports
	* Updated the README file
	
2016-11-09 - ffhevc 2.9.7
	* Renamed config var CON to CONFMT. Updates config file version to 29
	* Reduced some duplication in the audio codec checks for the container
	  formats
	* Reduced some error message duplication when checking if an additional
	  container supports an audio codec
	* Rework to the additional container selection code
	* Added color functions for the additional container conversion
	* Added back support for the MOV container
	
2016-11-08 - ffhevc 2.9.6
	* Added support for encoding to TrueHD audio. Requires a very recent
	  ffmpeg version, preferably latest from git
	* Some small improvements to the additional container output
	* Moved the video_deinterlace_func() function inside the actual
	  deinterlace code
	* Update to the README file
	* Update to the man page
	
2016-11-07 - ffhevc 2.9.5
	* Cosmetics in the code for deinterlacing
	* Instead of skipping FPS conversion if the FPS can't be detected,
	  ask the user to provide it
	* Use single brackets instead of double ones in the nosound
	  setup code
	* Added license snippet at the top of the script
	* Added support for outputting to additional container formats
	* Do some checking on supported audio codecs for the supported
	  containers
	* Check specified container and warn and exit if it's not supported
	* Support setting the FLAC compression level
	* Break out of the if conditionals in the audio code and replace
	  them with two case statements
	* Update to the README file
	
2016-11-06 - ffhevc 2.9.4
	* Bugfix: resampling wasn't working for fdk-aac due to missing
	  value in the case statement
	* Check if output file exists and if so, move it to $file.old
	* Use test directly instead of an if condition to set the audio
	  filters
	* Support bitrate calculations for target file size when doing
	  audio copy
	* Use fdk* in the case statements for easier typing
	* Renamed variable astrm to astream for clarity
	* Use [1-2]p in the case statements for passmodes instead of 1p|2p
	* New function, video_field_parity_func(), to detect and report the
	  interlace field order. Used by motion-compensation deinterlacing
	  and interlaced encoding
	* Detect and display audio sample rate in case resampling is chosen
	* Improvements to the video_fps_func() function. Get the FPS value
	  directly instead of outputting to a file and reading it
	  
2016-11-05 - ffhevc 2.9.3
	* Use a single var, $ofps, to set the output FPS for both deinterlace
	  bobbing and FPS conversion
	* Use new $bob var to indicate that we do bobbing and use that
	  var to disable FPS conversion
	* Renamed $fp var in video_deinterlace_func() to $fpar
	* Print a warning message that FPS conversion gets disabled if
	  the user chooses audio copy
	* Added support for the FDK-AAC audio codec. Requires ffmpeg
	  to be compiled with libfdk-aac support
	* Support FPS conversion with the 'fps' filter
	* Some minor code optimizations
	
2016-11-04 - ffhevc 2.9.2
	* Bugfix: the scale variable was used twice for different things
	  causing an overwrite of the scale filter parameters, which
	  eventually results in ffmpeg complaining and exiting
	* Added support for NTSC <-> NTSC and NTSC <-> PAL frame rate
	  conversions
	* New var in config file, VID_FPS_CONVERT, to enable/disable
	  FPS conversion. Bumps up config file version to 28
	* Moved the FPS detection code into its own function so it can
	  be easily reused
	* Minor cosmetics
	* Updated the README file
	
2016-11-03 - ffhevc 2.9.1
	* Added support for interlace-aware encoding
	* Added support for the spp, uspp and pp7 deblockers
	* Support asking for software scaler during exec time
	* Added new SCALE var to the config file to enable/disable
	  support for software scaling. Bumps up the config file
	  version to 27
	* Do a test write to see if output directory is writable
	  by the script executing user
	* Updated the README file
	
2016-11-02 - ffhevc 2.9.0
	* Added support for motion compensation deinterlacing for both
	  deinterlacing at original FPS and bobbing
	* Use denoise var instead of denoiser for the denoise filters
	  and rotate var instead of transpose for the transpose filter
	* Added support for deblocking with the fspp filter. This bumps
	  up the config file version to 27
	* Update to the README file
	
2016-11-01 - ffhevc 2.8.9
	* Added support for bobbing (deinterlace at double FPS)
	* Cosmetics: add menu header to the Color Primaries option
	
2016-10-11 - ffhevc 2.8.8
	* Fix video rotation for 180°. Don't use transpose=0 and transpose=3
	  as they cancel each others out
	  
2016-10-06 - ffhevc 2.8.7
	* Audio channel layout 6.1(back) -> 6.1 and 7.1(wide-side) -> 7.1
	* Cosmetics: add rotate filter menu banner
	* Support 180° video rotating
	
2016-10-02 - ffhevc 2.8.6
	* Allow volume setting when normalize is used
	* Cosmetics: add header title to the sample rate options
	* Bump up default video bitrate for 1/2-pass mode and
	  AAC/Opus/Vorbis bitrates
	* Simplify atadenoise options
	
2016-09-28 - ffhevc 2.8.5
	* Added support for the atadenoise video filter
	
2016-09-18 - ffhevc 2.8.4
	* Add undefined option to the color primaries and make it default
	* Support asking for crop values if autocrop is disabled
	* Made most audio/video filters optional by allowing to enable
	  or disable a filter in the config file
	* Use menu tables for the audio sample rates
	* Cosmetics
	
2016-09-14 - ffhevc 2.8.3
	* Removed stray, unneeded MPLAYERPARAMS from config file
	* Don't set by default a color prim/matrix in the x264 options
	  in the config file
	* Added support for rotating with the transpose filter
	* Support setting the color primaries/matrix/transfer
	  
2016-09-09 - ffhevc 2.8.2
	* Adaptive channel range and defaults based on audio codec
	* Made metadata comment optional, allow to modify it and
	  place it in the config file
	* Some minor tweaks
	
2016-09-06 - ffhevc 2.8.1
	* Added support for the new vaguedenoiser filter. Requires
	  latest ffmpeg from git
	* Merged the mp3 audio code with the rest
	* Auto-add a metadata comment
	* Updated the README file
	  
2016-09-06 - ffhevc 2.8.0
	* Replaced some simple if conditionals with test cases
	* Don't encode audio during first pass of 2-pass mode
	* Bugfix: fix audio copy
	* Target file size calc does not work with FLAC, PCM or Copy
	  so just skip it
	* Reduced ffmpeg command line options duplication in the
	  encoder_func() function
	
2016-09-05 - ffhevc 2.7.9
	* Improved crop detection
	* Removed dependence on MPlayer
	* Added support for encoding to PCM audio
	* Use ffprobe directly instead of outputting to files
	* Updated the man page and README file
	
2016-09-02 - ffhevc 2.7.8
	* Added support for multipass encoding, to be activated with the
	  new -m option
	* Added support for calculation of video bitrate for target file
	  size when using bitrate-based encoding
	* Replaced some simple if conditionals with test cases
	* Updated the man page and README file
	
2016-09-02 - ffhevc 2.7.7
	* Renamed config variable MAX_AUD_TRKS to MAX_AUD_TRACKS
	* Removed -strict -2 option for AAC audio. It is no longer
	  needed since about mid 2015
	
2016-08-23 - ffhevc 2.7.6
	* Merged the AC3/EAC3 channel check
	* Bumped up EAC3 default bitrate to 768 kbps
	* Use none instead of metadata flag for disposition for
	  subsequent subs/audio tracks
	
2016-08-20 - ffhevc 2.7.5
	* NOSOUND audio option takes precedence so clear any other audio
	  options given
	* Workaround an ffmpeg disposition issue where in some cases it
	  sets the default flag on all subsequent subs/audio tracks
	* Bumped up default AAC bitrate
	* Move the MOOV atom for MP4 files to the beginning of the file,
	  for streaming-friendly files
	* Enforce lower-case for container extension
	* Added install script to the package
	
2016-08-20 - ffhevc 2.7.4
	* Added support for E-AC-3 audio encoding
	* Add title metadata to the video stream
	
2016-08-19 - ffhevc 2.7.3
	* Increased the frames value for the crop detection code
	* Added ogv to list of containers not supporting DTS
	* Cosmetics
	
2016-08-18 - ffhevc 2.7.2
	* Support asking for CRF value if it isn't set in the config file
	* Support custom config files with using the x265 preset/tune profiles
	* Minor code updates
	* Updated the man page
	
2016-08-18 - ffhevc 2.7.1
	* Added an EDITOR variable to the config file so the user can set
	  his preferred editor for the -e option
	* Added -r option to reset the config file to its defaults
	* Cosmetics in the help info code
	* Added man page
	
2016-08-17 - ffhevc 2.7.0
	* Added support for custom preset files (loaded with the new -c option)
	* Added an example custom preset file to the package
	* Added support for editing the config file with the vi text editor,
	  using the new -e option of ffhevc
	* Updated the README file
	
2016-08-16 - ffhevc 2.6.9
	* Switched to using getopts for parsing the options
	* Added support for using x265 tune profiles
	
2016-08-16 - ffhevc 2.6.8
	* Check the value of the astrm variable. This allows to properly
	  remove any audio options in case no audio is detected
	* Only display the audio codecs menu when audio has been detected
	  or the user explicitly sets the track ID
	
2016-08-12 - ffhevc 2.6.7
	* Set the first video/subtitle/audio track as default
	
2016-07-30 - ffhevc 2.6.6
	* Update to the default encoding options
	
2016-07-03 - ffhevc 2.6.5
	* Placed the supported audio codecs in a menu
	* Updated the audio codecs default bitrates
	
2016-07-03 - ffhevc 2.6.4
	* recursion-skip -> rskip to the default encoding options
	
2016-06-30 - ffhevc 2.6.3
	* Added support for the built-in x265 presets
	* Added a -h|--help option
	* Tuning to the default encoding options v2
	* Updated the README file
	
2016-06-29 - ffhevc 2.6.2
	* Tuning to the default encoding options
	
2016-06-15 - ffhevc 2.6.1
	* Added the MOV container to the list of containers that don't
	  support DTS audio
	* Made the audio volume filter optional
	  
2016-06-09 - ffhevc 2.6.0
	* Warn and exit if user provides an unsupported image format
	  for cover art
	* Added support for nosound option to disable audio encoding
	* Updated the README file
	
2016-06-07 - ffhevc 2.5.9
	* Added support for cover art for the MKV container
	
2016-05-30 - ffhevc 2.5.8
	* Support asking for container format if the CON variable is not set
	  in the config file
	* Warn and exit if user chooses MP4/M4V container and DTS audio
	* Some minor code improvements
	
2016-05-27 - ffhevc 2.5.7
	* Don't rm config file upon update. Just move it to .ffhevc.old
	* Add audio bitrate metadata
	
2016-05-21 - ffhevc 2.5.6
	* Add audio channel metadata
	
2016-05-16 - ffhevc 2.5.5
	* Only use side channels for DTS encoder which doesn't support anything else
	
2016-03-29 - ffhevc 2.5.4
	* Support setting the MPlayer options
	* Minor tweaks to the default x265 encoding options
	
2015-12-19 - ffhevc 2.5.3
	* Added support for audio normalization using the Dynamic Audio
	  Normalizer filter
	  
2015-12-18 - ffhevc 2.5.2
	* Add back using dB for the volume filter
	
2015-11-26 - ffhevc 2.5.1
	* Default params performance inprovements. ONLY USE THIS VERSION
	  IF YOU HAVE THE LATEST libx265
	  
2015-11-21 - ffhevc 2.5.0
	* Don't use dB for the volume filter
	
2015-11-03 - ffhevc 2.4.9
	* Made audio resampling optional
	
2015-11-03 - ffhevc 2.4.8
	* Use a single var to set the audio filters, in preparation
	 for possible future extensions
	 
2015-11-02 - ffhevc 2.4.7
	* Use -filter:a:id aresample instead of -ar:a:id
	
2015-10-31 - ffhevc 2.4.6
	* Added support for audio resampling
	
2015-10-04 - ffhevc 2.4.5
	* Removed a test condition in the mp3 code that is not really needed
	* Cosmetics in the audio code
	* Added a counter
	
2015-09-19 - ffhevc 2.4.4
	* Added support for encoding to MP3, Vorbis, FLAC and Opus audio
	* Do some sanity checks for AC3/DTS channels
	* Updated the README file
	
2015-09-18 - ffhevc 2.4.3
	* Removed the workaround for DTS audio since we always use
	  "5.1(side)" for 6 channels output
	* Support setting the MAX_AUD_TRKS and MAX_SUBS variables in
	  the config file to "auto". When set to "auto", it will
	  ask for as many as detected audio tracks/subtitles
	  
2015-09-17 - ffhevc 2.4.2
	* Small update to the channel layout mappings
	
2015-09-15 - ffhevc 2.4.1
	* Added support for deinterlacing
	* Updated the README file
	
2015-09-14 - ffhevc 2.4.0
	* Fixed an issue where -vf was added despite not using any filters
	
2015-09-13 - ffhevc 2.3
	* Added support for scaling
	* Updated the README file
	
2015-09-12 - ffhevc 2.2
	* Added audio channel layout mappings
	
2015-09-11 - ffhevc 2.1
	* Update to the default libx265 encoding params
	
2015-09-10 - ffhevc 2.0
	* Tweaks to the audio code
	* Somehow I removed the chapters option. Add it back
	
2015-09-09 - ffhevc 1.9
	* Removed the $ in the index of array variables
	* Use an if conditional instead of case to check for DTS audio
	  and to check which audio codec has been selected
	* Support setting the paths to mplayer/ffmpeg/ffprobe in the
	  config file
	* Support setting the language metadata for subs copy
	* Fixed a small issue in the subtitles code
	
2015-09-08 - ffhevc 1.8
	* Enabled subs copy for other containers than mkv
	* Some tweaks in the audio code
	* Updated the README file
	
2015-09-07 - ffhevc 1.7
	* Bugfix: the specified channels to decode wasn't honored due to missing
	  'a' in the -ac option
	* Added support for encoding to DTS audio
	* Reduced some duplication in the audio code
	* More cosmetics
	* Updated the README file
	  
2015-09-06 - ffhevc 1.6
	* Added support for setting the genre and year metadata
	* Added support for virtually an unlimited amount of subtitles copy
	* Colorized the banner
	* Cosmetics
	* Updated the README file
	
2015-09-06 - ffhevc 1.5
	* Bugfix: dB was missing after the value of the audio volume filter
	* Be a bit more consistant with the audio variables
	* Added support for encoding to AAC audio
	* Use eval instead of seq for the for audio loops as seq is Linux-specific
	* Added an ASCII art banner
	* Export encoding params to a shell script and source it for encoding
	* Place the libx265 params in the config file for easy modifications
	* Made auto-cropping optional. It can be disabled in the config file
	* Made the SUBS var in the config file consistant with the ones that
	  accept "y" or "n" as value
	* Added support for specifying the audio language metadata
	* Automatically add the title of the content based on provided output name
	* Automatically add the audio codec name metadata
	* Updated the README file
	
2015-09-05 - ffhevc 1.4
	* Implemented support for virtually an unlimited audio track encodings
	* Ask for AC-3 bitrate instead of setting it in the config file
	* Updated the README file
	
2015-09-05 - ffhevc 1.3
	* Added support for copying a single subtitle. Note that this is only
	  supported when output container is set to MKV
	* Changed var OUTPUT in the config file to OUTDIR. Also changed internal
	  var OUT to OUTPUT
	* Updated the README file
	
2015-09-04 - ffhevc 1.2
	* Added a -v option to print the version
	* Check for paths when user provides the output name
	* Added a README file
	
2015-09-04 - ffhevc 1.1
	* keyint should be 240 and not 24
	* Simplify chapters and metadata copy options in the config file
	* Added force-cfr=1 to the libx265 params to force constant frame rates
	* Put config file location into a single var
	
2015-09-03 - ffhevc 1.0
	* Initial public release

