Created
August 26, 2010 20:52
-
-
Save mtigas/552224 to your computer and use it in GitHub Desktop.
This file contains 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
# My excessive ffmpeg conversion preset for high quality H264 files. | |
# | |
# Generally follows the "max" preset, with some values completely cracked | |
# out (me_range=32 *is* excessive). Leaves refs at 4 (since iPhone/iPad | |
# does not support higher values) and 8x8 DCT is disabled so that we | |
# end up with a file that is in the H264 Main profile. | |
# | |
# Save this as ~/.ffmpeg/libx264-max2.ffpreset | |
# | |
# Example use. (CRF determines filesize: lower CRF->higher quality and larger file. 22-24 results in ~1.5 to 2.0 Mbps.) | |
# ffmpeg -i SOME_FILE.avi -f mp4 -threads 0 -vcodec libx264 -vpre max2 -level 31 -crf 22 -acodec libfaac -ab 160kb -ac 2 -y SOME_FILE.m4v | |
coder=1 | |
flags=+loop | |
cmp=+chroma | |
partitions=+parti8x8+parti4x4+partp8x8+partb8x8 | |
me_method=tesa | |
subq=10 | |
me_range=64 | |
g=250 | |
keyint_min=25 | |
sc_threshold=40 | |
i_qfactor=0.71 | |
b_strategy=2 | |
qcomp=0.6 | |
qmin=10 | |
qmax=51 | |
qdiff=4 | |
bf=16 | |
refs=4 | |
directpred=3 | |
trellis=2 | |
flags2=+wpred+mixed_refs-dct8x8-fastpskip | |
wpredp=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment