Skip to content

Instantly share code, notes, and snippets.

@ibaaj
Last active July 26, 2016 01:10
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 ibaaj/b5366c9de572ea2f1c2cab81028a171a to your computer and use it in GitHub Desktop.
Save ibaaj/b5366c9de572ea2f1c2cab81028a171a to your computer and use it in GitHub Desktop.
iphoneVid
iphoneVid() { ffmpeg -i $1 -c:v libx264 -profile:v Main -level 3.1 -movflags +faststart -pix_fmt yuv420p -refs 11 $2;
}
lowIphoneVid() {
ffmpeg -i $1 -s qvga -b 384k -vcodec libx264 -r 23.976 -acodec libfaac -ac 2 -ar 44100 -ab 64k -crf 22 -deinterlace $2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment