Skip to content

Instantly share code, notes, and snippets.

@scvalex
Created May 7, 2010 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scvalex/393265 to your computer and use it in GitHub Desktop.
Save scvalex/393265 to your computer and use it in GitHub Desktop.
Convert a movie to iPod mp4
#!/bin/sh
mencoder "$1" -o $1.mp4 -vf scale=480:320,harddup -of lavf -lavfopts format=ipod -alang en -sws 2 -oac faac -faacopts br=128:mpeg=4:object=2:raw -srate 44100 -ovc x264 -x264encopts bitrate=800:nocabac:level_idc=30:bframes=0:global_header:threads=2:subq=5:frameref=6:partitions=all:trellis=1:chroma_me:me=umh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment