please help me someone, this has taken 12 hours straight of my life and getting very frustrating, i installed ffmpeg to this pc, then RTMP + NGINX bundle, added this line to the end
server {
listen 1935;
chunk_size 4096;
application restream {
live on;
meta copy;
exec ffmpeg -re -i rtmp://192.168.1.3/restream/$name -vcodec libx264 -preset veryfast -x264opts nal- hrd=cbr:force-cfr=1:keyint=60 -b:v 3000k -maxrate 3000k - bufsize 3000k -s 1280x720 - sws_flags spline -r 30 -acodec copy -f flv rtmp://localhost/live1/${name};
}
application live1 {
live on;
record off;
push rtmp://live-syd.twitch.tv/app/live_xxxxxxxxxxxxxxxxxxxxxxxtwitchkey;
}
}
}
i can only connect to the nginx server with rtmp://192.168.1.3/live anything else will just error, and once connected and streaming at 25000 to nginx my second pc does nothing.... fans don't even spool up as if to tell me its encoding, and nothing showing up on my twitch just says channel offline, pls help, and yes i replaced the twitch key with my own
server {
listen 1935;
chunk_size 4096;
application restream {
live on;
meta copy;
exec ffmpeg -re -i rtmp://192.168.1.3/restream/$name -vcodec libx264 -preset veryfast -x264opts nal- hrd=cbr:force-cfr=1:keyint=60 -b:v 3000k -maxrate 3000k - bufsize 3000k -s 1280x720 - sws_flags spline -r 30 -acodec copy -f flv rtmp://localhost/live1/${name};
}
application live1 {
live on;
record off;
push rtmp://live-syd.twitch.tv/app/live_xxxxxxxxxxxxxxxxxxxxxxxtwitchkey;
}
}
}
i can only connect to the nginx server with rtmp://192.168.1.3/live anything else will just error, and once connected and streaming at 25000 to nginx my second pc does nothing.... fans don't even spool up as if to tell me its encoding, and nothing showing up on my twitch just says channel offline, pls help, and yes i replaced the twitch key with my own