Created
January 31, 2014 14:26
-
-
Save bezerker/8732995 to your computer and use it in GitHub Desktop.
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
rtmp { | |
server { | |
listen 1935; | |
chunk_size 8192; | |
application transcode { | |
live on; | |
record off; | |
exec /usr/bin/ffmpeg -re -i rtmp://localhost:1935/transcode/$name -vcodec libx264 -preset faster -x264opts nal-hrd=cbr:force-cfr=1:keyint=60 -r 30 -b:v 3000k -maxrate 3000k -bufsize 3000k -s hd720 -sws_flags spline -acodec copy -f flv rtmp://localhost:1935/live/${name}; | |
} | |
application live { | |
live on; | |
record off; | |
push rtmp://live-iad.twitch.tv/app/live_21276361_sdfsdfasrwr2342342322; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment