Skip to content

Instantly share code, notes, and snippets.

@mkayala
mkayala / ConvertToMP4_KindleFire.sh
Created February 3, 2013 21:49
Script to convert video to mp4 in a way that is playable on the Kindle Fire. Prereqs: Compile the latest ffmpeg and x264 encoder. On Ubuntu, this worked well: https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
#!/bin/bash
## Convert input files $name.* into $name.mp4, suitable for playing
## in Kindle Fire.
usage="$0 file1 [file2 ...]"
if [ -z "$1" ]
then
echo $usage