Skip to content

Instantly share code, notes, and snippets.

@jersobh
Created October 4, 2017 18:05
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 jersobh/02764c265e90743127ad21e5f1b15d41 to your computer and use it in GitHub Desktop.
Save jersobh/02764c265e90743127ad21e5f1b15d41 to your computer and use it in GitHub Desktop.
'-vcodec','libvpx','-i','-',
'-c:v', 'libx264', '-preset', 'veryfast', '-tune', 'zerolatency',
'-c:a', 'libmp3lame',
'-b:a', '128k',
'-ac', '2',
'-async', '1',
'-bufsize', '4000',
'-threads', '0',
'-f', 'tee',
'-map', '0',
'[f=flv:onfail=ignore]rtmp://live-api-a.facebook.com:80/rtmp/'+config_facebook+'|[f=flv:onfail=ignore]rtmp://a.rtmp.youtube.com/live2/'config_youtube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment