Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg
- @echo off
- :ffmpeg_start
- ffmpeg -re -i rtmp://localhost:1935/transcode/$name -vcodec libx264 -preset faster -x264opts nal-hrd=cbr:force-cfr=1:keyint=60 -r 60 -b:v 2000k -maxrate 3500k -bufsize 3500k -threads 12 -s hd720 -sws_flags spline -acodec copy -f flv rtmp://localhost:1935/live/${name};
- goto ffmpeg_start
- nginx
- rtmp {
- server {
- listen 1935;
- chunk_size 4000;
- application transcode {
- live on;
- record off;
- }
- application live {
- live on;
- record off;
- push rtmp://live-syd.twitch.tv/app/live_63013472_jI0uFJ1AbarR6pHSmfRHKOYBdly8T1;
- }
- }
- thats EVERYTHING in my nginx config but now NGINX won't launch, will try add this to the end of a new nginx config and try to connect via obs and 720p as stream key
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement