How-To: Encode Videos for iPhone or iPod on any Unix using ffmpeg

It works at least with Ubuntu Intrepid’s and Debian Lenny’s versions of ffmpeg and should work with MacPort’s version too. I’m pretty sure the BSD’s also have a working one. You will also need x264libs and lame.

So, here comes my cmd:

$ ffmpeg -i infile.avi -f mp4 -title your.dot.seperated.title -vcodec libx264
-level 21 -s 480x270 -r 24000/1001 -b 768k -bt 768k -bufsize 2000k -maxrate 768k
-g 250 -coder 0 -threads auto -acodec libfaac -ac 2 -ab 128k outfile.mp4

This will cost you about 270MB of space for a 45min show.

Have fun watching movies on your iPhone/iPod Touch on your way to work or home or whereever. ;)

Tags: , , , , , ,


4 Comments Leave yours

  1. liz #

    Nice howto, but you should also mention Videora (www.videora.com). It’s available for Mac and PC.

    And now go and upload the other howtos.

  2. dan #

    Yeah n1ce how2 from me 2.
    Now that you published this one get a blackberry and write one for that too!

  3. matze #

    Thanks.

  4. c1sc08t€r #

    yeah, great. that works for me on freebsd-current!

Leave a Reply





Christian KildauHi, my name is Chris. I am a wannabe photog, traveler & geek that is again a student and lives in Hesse, Germany. more about me...

PayPal - The safer, easier way to pay online!
Please consider supporting me


enjoyyourcamera.com


Advertise here Advertise here Advertise here Advertise here
Nikon-Blogger-Linkring :: powered by KLUGERD Photo Blogs Blogs - Blog Catalog Blog Directory Photoblogs.org - The Photoblogging Resource blogarama - the blog directory