Last active
August 29, 2015 14:09
-
-
Save drillbits/99b2ddefdd2c9aaf4d51 to your computer and use it in GitHub Desktop.
encode ts
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
ffmpeg -y -i in.ts \ | |
-f mp4 -vcodec libx264 \ | |
-fpre libx264.ffpreset \ | |
-cmp chroma -r 30000/1001 \ | |
-aspect 16:9 -s 1440x1080 \ | |
-bufsize 20000k \ | |
-maxrate 25000k -vsync 1 \ | |
-acodec libfaac -ac 2 \ | |
-ar 48000 -ab 128k \ | |
-map 0:0 -map 0:1 out.mp4 |
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
level=41 | |
crf=25 | |
coder=1 | |
flags=+loop | |
#cmp=+chroma | |
partitions=+parti8x8+parti4x4+partp8x8+partb8x8 | |
me_method=umh | |
subq=7 | |
me_range=16 | |
g=250 | |
keyint_min=25 | |
sc_threshold=40 | |
i_qfactor=0.71 | |
b_strategy=1 | |
#qcomp=0.6 | |
qmin=10 | |
#qmax=51 | |
rc_eq='blurCplx^(1-qComp)' | |
#qdiff=4 | |
bf=16 | |
bidir_refine=1 | |
refs=6 | |
deblock=0:0 | |
#deblockalpha=0 | |
#deblockbeta=0 | |
#directpred=3 | |
#trellis=1 | |
#flags2=+bpyramid+wpred+mixed_refs+dct8x8+fastpskip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment