[FFmpeg-devel] ipod issue

白栋贤 bdx_1981
Thu Dec 18 07:38:36 CET 2008


Hi ,
    I want to encode video which play on iPod with x264. But I find that ffmpeg just support encode video for iPod as mpeg4 format. the command in ffmpeg-faq as following:
          
                3.13 How do I encode videos which play on the iPod? 


            `needed stuff' 
                     -acodec libfaac -vcodec mpeg4 width<=320 height<=240 
            `working stuff' 
                   4mv, title 
             `non-working stuff' 
                   B-frames 
              `example command line' 
                   ffmpeg -i input -acodec libfaac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X output.mp4 
And I find ffmpeg could encode video with libx264 for PSP, the command as following:
                 
ffmpeg -i input -acodec libfaac -ab 128kb -vcodec libx264 -b 1200kb -ar 48000 -mbd 2 -coder 1 -cmp 2 -subcmp 2 -s 368x192 -r 30000/1001 -title X -f psp -flags loop -trellis 2 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 output.mp4 
 
      But the file could not sync by ipod which encode as libx264.   
How can I get the right file for iPod with libx264 codec?
Best regards
John
_________________________________________________________________
????MSN??????????????????
http://mobile.msn.com.cn



More information about the ffmpeg-devel mailing list