petrkotek / chromecastize

Bash script to convert video files into Google Chromecast supported format.
MIT License
178 stars 34 forks source link
bash chromecast converter video

chromecastize

Simple bash script to convert video files into Google Chromecast supported format.

Script identifies video and audio format of given file (using mediainfo) and converts it if necessary (using ffmpeg).

Filename of output video file is <original_filename>.mkv and original video file gets renamed to <original_filename>.bak.

Requirements

Install requirements by running e.g. apt-get install ffmpeg mediainfo (Debian) or brew install ffmpeg mediainfo (MacOS with Homebrew).

Usage

./chromecastize.sh [--mp4 | --mkv | --stereo | --delete-on-success | --force-vencode | --force-aencode | --config=/path/to/config] <videofile1> [videofile2 ...]

Examples:

Options:

Changing default options

Authors