Skip to content

Latest commit

 

History

History
91 lines (70 loc) · 2.97 KB

README.adoc

File metadata and controls

91 lines (70 loc) · 2.97 KB

Transcode

About

Transcode is a tool designed for transcoding multiple video files. It builds upon Don Melton’s Video Transcoding and applies this technique to each video file within 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 \
  --aud 1,3,1 \
  --dir [source] \
  --out [destination] \
  --sub 2,1,3

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

License

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