Transcode

build linters ruby gem version maintainability hits of code license

About

transcode is a tool to transcode multiple video files. It enhances Don Melton's Video Transcoding. It applies Video Trascoding to each video file in a directory.

Installation

The tool is designed to work on macOS, GNU/Linux, Windows, Unix-like OS. It is packaged as a Gem and require Ruby version 2.6 or later. See “Installing Ruby” if you don't have the proper version on your platform.

Use this command to install:

gem install transcode

Updating

Use this command to update the package:

gem update transcode

Requirements

See Video Transcoding's requirements.

Usage

transcode [options]
  -a, --act      Real encoding.
  -s, --sca      Scans files at the directory.
  -m, --mp3      Converts files to mp3.
  -d, --dir dir  Directory to transcode.
  -i, --tit tit  Specific title by number.
  -o, --out out  Directory to output.
  -u, --aud aud  Audio stream numbers.
  -t, --sub sub  Subtitle stream numbers.
  -w, --wid wid  Width of the table.
  -v, --version  Shows version.

Example

transcode -d <source> -o <destination> -u 1,3,1 -t 2,1,3

It converts three files from source with certain audio and subtitle streams. Inspect first with -s option to see audio and subtitle streams.

License

transcode is copyright David Rabkin and available under a Zero-Claus BSD license.