Created
December 2, 2011 12:43
-
-
Save rriemann/1423109 to your computer and use it in GitHub Desktop.
Encode Videos for Samsung Galaxy S I9000 with Google Android 2.2 (Froyo) using ffmpeg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i input.mp4 -y -vcodec libx264 -s 800x480 -acodec aac -strict experimental -ab 96k -ac 2 -b 500K -threads 4 -flags +loop -cmp +chroma -partitions 0 -me_method epzs -subq 1 -trellis 0 -refs 1 -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -maxrate 10M -bufsize 10M -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 output.mp4 | |
# input may be everything supported by ffmpeg (*.flv, *.webm, *.mkv, ...) | |
# "-b 500k" controls bitrate. Lower/Raise to change the video quality |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment