Need help with chromecastize?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

petrkotek
150 Stars 33 Forks MIT License 98 Commits 8 Opened issues

Description

Bash script to convert video files into Google Chromecast supported format.

Services available

!
?

Need anything else?

Contributors list

# 81,179
PHP
Rust
Django
Symfony
20 commits
# 543,982
Java
Shell
Bash
chromec...
5 commits
# 381,080
logging...
C
cpp11
Shell
3 commits
# 444,770
Arduino
Bash
chromec...
JavaScr...
2 commits
# 635,884
Shell
Bash
chromec...
2 commits
# 691,981
Shell
Bash
chromec...
1 commit
# 313,657
Shell
tcl
Lua
extensi...
1 commit
# 332,331
JavaScr...
HTML
Shell
soap-cl...
1 commit
# 58,145
vala
phantom...
undo
idl
1 commit
# 479,310
intelli...
jetbrai...
elm
Bash
1 commit

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

.mkv
and original video file gets renamed to
.bak
.

Requirements

  • mediainfo
  • ffmpeg

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]  [videofile2 ...]

Examples:

  • ./chromecastize.sh /Volumes/MyNAS
    - converts all videos on your NAS (assuming that it's mounted to
    /Volumes/MyNAS
    )
  • ./chromecastize.sh Holiday.avi Wedding.avi
    - converts specified video files

Options:

  • --mp4
    forces conversion to MPEG-4 container
  • --mkv
    forces conversion to Matroska container
  • --stereo
    forces conversion from multichannel audio to 2 channel stereo
  • --delete-on-success
    deletes the original file on success instead of renaming it to
    .bak
  • --force-vencode
    forces re-encoding of the video, if the codec is supported but the profile level is too high
  • --force-aencode
    forces re-encoding of the audio
  • --config=/path/to/config
    specify where to store configuration. When omitted the default folder
    ~/.chromecastize
    is used.

Changing default options

  • Copy the example
    config.sh
    file to your config folder (default location:
    ~/.chromecastize
    ).
  • Uncomment the options which you wish to change by removing the leading
    #
    symbol.

Authors

  • Petr Kotek (did the script save you some time? donations appreciated: www.petrkotek.com)

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.