Releases: nwronski/batch-transcode-video
Releases · nwronski/batch-transcode-video
Release v2.0.0
Added
- Disable crop detection with
--nocropoption (Refs #15, Refs #5)- Skip crop detection entirely (i.e., do not run
detect-crop) and do not pass a--cropvalue totranscode-video.
- Skip crop detection entirely (i.e., do not run
Changed
- BREAKING CHANGE: the
--forceoption has been renamed to--cropto be consistent with new--nocropoption
Fixed
- Be forgiving when checking transcoding result (Refs #17, Refs #14, Refs #10)
- Do not treat it as an error if we cannot get bitrate from finished transcoding job.
- Only look for the text
Encoding done!in the output to confirm success.
- Do not delete dest files from previous runs (Refs #17, Refs #11)
- The issue here was that a "file already exists" error led to the destination file being deleted (when not using the
--diffflag), so files from previous runs were marked as errored and then removed.
- The issue here was that a "file already exists" error led to the destination file being deleted (when not using the
- Reset font color changes after running
batch-transcode-video --help
Release v1.3.0
Added
- Added
--keepflag to prevent files from being deleted from the output directory. The--keep(alias:-k) causesbatch-transcode-videoto never delete any output files, no matter what happens, even if the encoding task fails for the corresponding input file. If you use this option, input files that fail to encode correctly, or finish encoding, will not be deleted from the output folder. Subsequent runs, with or without using the--diffoption, will not reprocess the failed input files, unless the corresponding output files are manually deleted.
Release v1.2.0
Added
- Added message about installing the video_transcoding gem if a
TranscodeErrorcontainsENOENTin the error message.
Fixed
- Do not commit generated files to source control (
bin/,lib/). If installing this from the GitHub repo, runnpm run buildto build. - Upgrade
package.jsondependencies. - Include original error message in error output for a
TranscodeError.
Release v1.1.0
Added
--forcenow accepts the following argument values:- a crop value to use for all videos, such as
"0:0:0:0" - any other value for when to use the least extreme crop, e.g.:
1
- a crop value to use for all videos, such as
- Added
--versionand-vflags to CLI.
Changed
- Drop child_process spawn for cross-spawn-async. This change should get things working consistently on Windows. Before, batch operations would fail unexpectedly and have to be restarted several times to fully complete.
- Do not install
video_transcodinggem by default. Do not force install of gem every time module is installed. - Delete output files that cannot be confirmed. If an output file does not complete and generate a valid log file that can be verified then delete the partial or errored file.
Release v1.0.5
Fixed
- Summary calculations after
SIGINT(ctrl+c) signal were incorrect. BatchTranscodeVideoreportedisRunningastrueafter aSIGINT.
Release v1.0.4
Fixed
- Do not show counts of 0 in
fileStatusLine(). - Do not show bitrate in summary output unless write was successful.
Release v1.0.3
Added
- New metrics added to CLI mode summary output:
- Show average bitrate for successful writes.
- Show total and average running time.
- Show speed in MB/s.
- New
--forceflag. If crop detection returns conflicting crop values then just use the least extreme crop value and continue transcoding.
Release v1.0.2
Fixed
- Fixed
query-handbrake-logfile path bug in Windows. - Fixed empty summary bar display bug that caused no summary bar to appear when there were no video files found for the arguments given.
Release v1.0.1
Added
- Take an educated guess at the current percentage and remaining time before there is any data from the child process that can be used to estimate progress.
Changed
- Generate an error when the
detect-cropreturns multiple crop values for a video.
Fixed
- Fixed false positive errors in OS X environment.
Release v1.0.0
Added
- You can now use the module:
- From the CLI as
batch-transcode-video(default global option). - Require the ES5 compatible
dist/files (default local option). - Require the raw ES2015 files from the root folder
index.jsorindex-cli.jsfor the command line version.
- From the CLI as
- Fancy new CLI:
- Added progress bars to output.
- Added summary that is displayed on exiting the process.
- Add colored summary bar to summary output.
- Estimate remaining time and current percent completion for each file and the entire batch operation even when no data is available from the child process.
- Added back
--quietand--debugflags to new ES2015 version of CLI.--debugmode disables progress indicator and then streams child process to masterstdout.--quietmode now prevents any logging to stdout and will only exit0on success or1on error
Changed
- Entire repo rewritten to use ES2015
- Added
gruntandgrunt watchtasks to build ES2015 source
Fixed
- Do not increment time unless running.
- Save stop time when main class errors out.
- Fix percent and time calculations.
- Lots of cleanup for Progress class.
- Get
VideoFileclass working with Windows again. - Fixed broken help flag in CLI mode.
- Move Windows-specific functions to
util.js. - Fixed false positive errors in Windows environment.
- Fixed glob error message details.