Skip to content

Latest commit

 

History

History
100 lines (79 loc) · 2.78 KB

File metadata and controls

100 lines (79 loc) · 2.78 KB

Transcode

About

Transcode is a command-line tool for transcoding multiple video files. It builds on Lisa Melton’s Video Transcoding and applies the same workflow to each video file in a directory.

Installation

The tool runs on macOS, GNU/Linux, Windows, and other Unix-like systems. It is packaged as a Ruby gem and requires Ruby 3.2 or later. See Installing Ruby if Ruby 3.2+ is not available on your platform.

Install with:

gem install transcode

Updating

Update with:

gem update transcode

Requirements

See Video Transcoding’s requirements for external dependencies.

Usage

transcode [options]
  -a, --act      Perform actual encoding.
  -u, --aud aud  Audio stream numbers.
  -d, --dir dir  Source directory to transcode.
  -m, --mp3      Convert files to MP3.
  -o, --out out  Output directory.
  -s, --sca      Scan files in the directory.
  -t, --sub sub  Subtitle stream numbers.
  -i, --tit tit  Specific title number.
  -v, --version  Show version.
  -w, --wid wid  Width of the table.

Example

transcode \
  --aud 1,3,1 \
  --dir [source] \
  --out [destination] \
  --sub 2,1,3

This command transcodes three files from [source] to [destination] with the selected audio and subtitle streams. Run --sca first to inspect available audio and subtitle streams.

License

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