Skip to content

Instantly share code, notes, and snippets.

@Motoma
Created February 16, 2011 20:52
Show Gist options
  • Save Motoma/830174 to your computer and use it in GitHub Desktop.
Save Motoma/830174 to your computer and use it in GitHub Desktop.
#!/bin/bash
# video2ipod conversion script
# Christopher Gilbert
# September 26, 2006
#
# Usage:
# video2ipod infile outfile
if [ -z "$2" ]; then
echo $0 "infile outfile"
else
echo "ffmpeg -i `pwd`/$1 -f mp4 -s 320x240 `pwd`/$2"
ffmpeg -i "`pwd`/$1" -f mp4 -s 320x240 "`pwd`/$2"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment