https://github.com/lbovet/chromecastize
https://github.com/lbovet/chromecastize
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lbovet/chromecastize
- Owner: lbovet
- License: mit
- Created: 2021-01-30T18:39:25.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-19T18:18:35.000Z (over 3 years ago)
- Last Synced: 2025-01-17T08:12:07.064Z (3 months ago)
- Language: Shell
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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] [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 containerAuthors
-------
- **Petr Kotek** (did the script save you some time? donations appreciated: www.petrkotek.com)