Skip to content

Instantly share code, notes, and snippets.

@simcop2387
Forked from brookemckim/hls
Created November 15, 2011 14:46
Show Gist options
  • Save simcop2387/1367239 to your computer and use it in GitHub Desktop.
Save simcop2387/1367239 to your computer and use it in GitHub Desktop.
Roku Recommended FFMPEG h264 Preset
ffmpeg -i <inputFile> -f mpegts -acodec libfaac -vcodec libx264 \ -vpre roku -crf 15 -threads 0 ~/OneTransportStreamFile3200.ts
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
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