From ccda54ac7beeb0ed4dff1e6040a20e213ed83e29 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Sun, 4 Dec 2016 16:13:41 -0800 Subject: [PATCH] Add h264ify script --- home/bin/h264ify | 70 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100755 home/bin/h264ify diff --git a/home/bin/h264ify b/home/bin/h264ify new file mode 100755 index 0000000..2f1368b --- /dev/null +++ b/home/bin/h264ify @@ -0,0 +1,70 @@ +#!/usr/bin/env python3 + +"""h264ify - Upgrade my videos to h.264/AAC for Chromecast. + +With Google Chrome, you can Chromecast any movie file from your PC by dragging +the movie into a Chrome window, and then cast the tab to your Chromecast. + +However this only works if the video is encoded with H.264 for video and +AAC for audio. Other video files will instead "download" in Chrome instead of +play inside the tab. + +This script takes input video file names (without a `.mp4` extension), and +encodes them into a file of the same name but with a `.mp4` extension. + +Usage: h264ify