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