Bitrates * Highest: 1500kbps * Very High: 1200kbps * High: 1000kbps * Normal: 800kbps * Low: 512kbps * Lower: 384kbps * Even Lower: 256kbps

Robert Swain's commnad lines

iphone 640x480 (tv out) bit rate has to < 15000

ffmpeg -i INPUT -acodec libfaac -ab 128k -s WIDTHxHEIGHT -vcodec libx264 -vpre slow -vpre ipod640 -b BIT_RATE -bt BIT_RATE -aspect WIDTH:HEIGHT -threads 0 -f ipod OUTPUT.mp4

iphone normal 320x240 bitrate < 768 (use 512)

ffmpeg -i INPUT -acodec libfaac -ab 128k -s WIDTHxHEIGHT -vcodec libx264 -vpre slow -vpre ipod320 -b BIT_RATE -bt BIT_RATE -metdata "title=SOME_TITLE" -threads 0 -f ipod OUTPUT.mp4

Regular Movie (constant rate factor ) add -s size and -aspect

ffmpeg -i INFILE -acodec libfaac -ab 96k -vcodec libx264 -vpre slow -crf 22 -threads 0 OUTPUT.mp4

Flip iOS movies

ffmpeg -i input.mp4 -metadata:s:v rotate="0" -vf "hflip,vflip" -c:v libx264 -crf 23 -acodec copy output.mp4

subtopics: