DEV Community

Eduardo Issao Ito
Eduardo Issao Ito

Posted on • Edited on

Installing video_transcoding on Linux

video_transcoding is a set of tools to transcode, inspect and convert videos from command line: https://github.com/donmelton/video_transcoding

Installation on Linux Mint 19:

sudo apt install ruby ffmpeg handbrake-cli mkvtoolnix mp4v2-utils
sudo gem install video_transcoding

Installation on Ubuntu 20.04:
Download:
https://packages.ubuntu.com/bionic/libmp4v2-2
https://packages.ubuntu.com/bionic/mp4v2-utils

sudo dpkg -i libmp4v2-2_2.0.0~dfsg0-6_amd64.deb
sudo dpkg -i mp4v2-utils_2.0.0~dfsg0-6_amd64.deb

sudo apt install ruby ffmpeg handbrake-cli mkvtoolnix
sudo gem install video_transcoding

Usage example:

transcode-video --mp4 --quick --target small --ac3-bitrate 384 -o output.mp4 input.mp4

Top comments (0)