Releases: BrianDMG/conv2mp4
v2.2
v3.5-BETA
- New functionality including an interactive configuration utility that tests user input to ensure variables are valid
- Variables now stored in configuration file so the user never has to directly edit any script
- Configuration file can still be edited manually
v2.1
-
New feature - Added switch to allow the user to decide whether new session logs overwrite old session logs or are appended to old session logs (issue #5).
-
Fixed issue #6 - Fixed an error where the correct file size for new files generated after a Handbrake encode was not being properly reported, causing Handbrake encoded files to be deleted regardless of success or failure.
v2.0
- Added test to ensure user-defined paths are valid, with friendly
output. - Added check for file sizes to allow for representing sizes as KB, MB,
or GB - Implemented error handling that should prevent data loss due to source
files being deleted when a user cancels the script mid-encode. - Improved exception handling to allow the script to fail gracefully
v1.4
- Script now retains all audio and subtitle channels with both ffmpeg and Handbrake
- Handbrake failover settings tweaked - now finishes in a sane amount of time with little noticeable quality loss
- Script now double checks whether the source file was deleted, and if not tries to delete it again
- Added .ts files to the default list of filetype extensions
v1.3
v1.2
Release v1.2
- Grouped all user-defined variables at the beginning of the script for ease of use
- Fixed timestamp refresh issue in log
- Added size difference (in MB) between the old file and the newly converted file in log
- Added functionality to fail over to Handbrake encoding when an ffmpeg conversion fails
- Added user instructions in comments
v1.1
This Powershell script will recursively search through a defined file path and convert all MKV, AVI, FLV, and MPEG files to MP4 using ffmpeg (and converts audio channels to AAC). It then refreshes a Plex library, and upon conversion success deletes the source (original) file. The purpose of this script is to reduce the number of transcodes performed by a Plex server.
This release introduced greater portability and ease-of-use by moving most user-defined variables to the beginning of the script.