Skip to content

Instantly share code, notes, and snippets.

Created February 4, 2017 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a20d30cad02683cc00a049da83cd48f8 to your computer and use it in GitHub Desktop.
Save anonymous/a20d30cad02683cc00a049da83cd48f8 to your computer and use it in GitHub Desktop.
"ffmpeg -y -f image2pipe -vcodec ppm -framerate 30 -i pipe:0 "
"-v quiet -threads 1 "
"-c:v libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv444p "
"-x264opts crf=20:vbv-maxrate=3000:vbv-bufsize=100:intra-refresh=1:slice-max-size=999999999:keyint=100:ref=1 "
"-an -pass 1 -coder 0 -bf 0 -wpredp 0 -profile:v high444 "
"-qp 26 -r 30 "
"-f h264 /tmp/wtf.h264"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment