Skip to content

Instantly share code, notes, and snippets.

@mad
Created January 11, 2012 22:28
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mad/1597159 to your computer and use it in GitHub Desktop.
Save mad/1597159 to your computer and use it in GitHub Desktop.
mts (avchd) to flv
/usr/bin/ffmpeg -i "~/Videos/00002.MTS" -vcodec flv -f flv -r 25 -s 800x450 -aspect 16:9 \
-b 2000k -g 160 -cmp 2 -subcmp 2 -mbd 2 -flags +aic+cbp+mv0+mv4 \
-trellis 2 -acodec libmp3lame -ac 2 -ar 44100 -ab 256k \
"~/Videos/00002.flv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment