ffmpeg -i INPUT -acodec libfaac -ac 2 -ar 44100 -ab 128k -s 320x240 -
vcodec libx264 -b 300k -flags +loop -cmp +chroma -partitions
+parti4x4+partp8x8+partb8x8 -me umh -subq 5 -trellis 1 -refs 1 -coder
0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -
bt 300k -maxrate 300k -bufsize 300k -rc_eq 'blurCplx^(1-qComp)' -qcomp
0.6 -qmin 15 -qmax 51 -qdiff 4 -level 30 -aspect 320:240
OUTPUT.mp4;AtomicParsley OUTPUT.mp4 --DeepScan --iPod-uuid 1200 --
overWrite --title "THE MOVIE TITLE";
You have to install AtomicParsley to fix the UUIDatom bug in ffmpeg.
It is OK if you download the mp4 file directly through safari, but it
doesn't work when I trying to use a PHP proxy script to read and
stream the same file to safari, stream.php?file=OUTPUT... I don't know
what should I put into the header if I want to stream the mp4 movie to
iPod touch like vTap is doing.