Changes between Version 18 and Version 19 of FFmpeg


Ignore:
Timestamp:
Feb 5, 2013, 8:12:13 AM (12 years ago)
Author:
Rick van der Zwet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FFmpeg

    v18 v19  
    3838}}}
    3939Make sure to set --enable-pic at your ./configure phase.
     40
     41
     42Encoding for Android 2.3: https://help.ubuntu.com/community/AndroidVideoEncoding:
     43ffmpeg -i source-video.avi -s 480x320 -vcodec mpeg4 -acodec aac -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 3:2 output-video.mp4
     44
     45Or heavy lifting:
     46ffmpeg -i source-video.avi -s 432x320 -b 384k -vcodec h264 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -subq 7 -trellis 1 -refs 5 -bf 0 -flags2 +mixed_refs -coder 0 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -qmin 10 -qmax 51 -qdiff 4 -acodec aac output-video.mp4
     47
     48Encoding for iPhone and iPad: http://stackoverflow.com/questions/12281774/generate-m3u8-file-with-extended-m3u-directives-by-ffmpeg:
     49ffmpeg -i sourcefile.mp4 -vcodec libx264 -acodec libvo_aacenc -b:v 128k -flags -global_header -map 0:0 -map 0:1 -f segment -segment_time 4 -segment_list_size 0 -segment_list testlist.m3u8 -segment_format mpegts stream%05d.ts