Skip to content

Releases: nwronski/batch-transcode-video

Release v2.0.0

27 Oct 21:42
Compare
Choose a tag to compare

Added

  • Disable crop detection with --nocrop option (Refs #15, Refs #5)
    • Skip crop detection entirely (i.e., do not run detect-crop) and do not pass a --crop value to transcode-video.

Changed

  • BREAKING CHANGE: the --force option has been renamed to --crop to be consistent with new --nocrop option

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 --diff flag), so files from previous runs were marked as errored and then removed.
  • Reset font color changes after running batch-transcode-video --help

Release v1.3.0

20 Feb 07:38
Compare
Choose a tag to compare

Added

  • Added --keep flag to prevent files from being deleted from the output directory. The --keep (alias: -k) causes batch-transcode-video to 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 --diff option, will not reprocess the failed input files, unless the corresponding output files are manually deleted.

Release v1.2.0

02 Dec 20:44
Compare
Choose a tag to compare

Added

  • Added message about installing the video_transcoding gem if a TranscodeError contains ENOENT in the error message.

Fixed

  • Do not commit generated files to source control (bin/, lib/). If installing this from the GitHub repo, run npm run build to build.
  • Upgrade package.json dependencies.
  • Include original error message in error output for a TranscodeError.

Release v1.1.0

19 Jan 06:48
Compare
Choose a tag to compare

Added

  • --force now 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
  • Added --version and -v flags 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_transcoding gem 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

26 Nov 04:47
Compare
Choose a tag to compare

Fixed

  • Summary calculations after SIGINT (ctrl + c) signal were incorrect.
  • BatchTranscodeVideo reported isRunning as true after a SIGINT.

Release v1.0.4

10 Nov 03:06
Compare
Choose a tag to compare

Fixed

  • Do not show counts of 0 in fileStatusLine().
  • Do not show bitrate in summary output unless write was successful.

Release v1.0.3

09 Nov 06:47
Compare
Choose a tag to compare

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 --force flag. If crop detection returns conflicting crop values then just use the least extreme crop value and continue transcoding.

Release v1.0.2

08 Nov 20:36
Compare
Choose a tag to compare

Fixed

  • Fixed query-handbrake-log file 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

08 Nov 08:31
Compare
Choose a tag to compare

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-crop returns multiple crop values for a video.

Fixed

  • Fixed false positive errors in OS X environment.

Release v1.0.0

08 Nov 06:12
Compare
Choose a tag to compare

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.js or index-cli.js for the command line version.
  • 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 --quiet and --debug flags to new ES2015 version of CLI.
    • --debug mode disables progress indicator and then streams child process to master stdout.
    • --quiet mode now prevents any logging to stdout and will only exit 0 on success or 1 on error

Changed

  • Entire repo rewritten to use ES2015
  • Added grunt and grunt watch tasks 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 VideoFile class 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.