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.
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 transcodeSee Video Transcoding’s requirements for external dependencies.
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.transcode \
--aud 1,3,1 \
--dir [source] \
--out [destination] \
--sub 2,1,3This 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.
transcode is copyright David Rabkin and available under a
Zero-Clause BSD license.