-
-
Save brookemckim/1015107 to your computer and use it in GitHub Desktop.
Roku Recommended FFMPEG h264 Preset
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 -i <inputFile> -f mpegts -acodec libfaac -vcodec libx264 \ -vpre roku -crf 15 -threads 0 ~/OneTransportStreamFile3200.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
coder=1 | |
flags=+loop | |
cmp=+chroma | |
partitions=+parti8x8+parti4x4+partp8x8+partb8x8 | |
me_method=umh | |
subq=8 | |
me_range=16 | |
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=4 | |
refs=4 | |
directpred=3 | |
trellis=1 | |
flags2=+wpred+mixed_refs+dct8x8+fastpskip |
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 -i <InputFile> -acodec libfaac –ab 128 -vcodec libx264 \ -vpre roku -crf 15 -threads 0 ~/outputFile.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also, I had to read manpages to determine that this is necessary for ffpmeg to find the preset: