Question / Help Nginx rtmp ffmpeg issue.

SecretlyFat

New Member
So I'm not sure if this is the right place to post this but here goes:

I've followed this guide: https://obsproject.com/forum/threads/guide-two-pc-configuration-without-capturecard.6757/
and now I'm having an issue. Everything has been set up, and now I'm trying to stream to twitch using ffmpeg, and my config is pretty much as the "example" in the guide mentioned above, just a few minor adjustments. My issue is that it tries to stream at 200,000+ bitrate according to twitch's "inspector". I'm pretty sure that is just... wrong. ò_Ô
This ends up with a laggy stream and laggy internet, as one should expect.
Any idea what's wrong?
 

SecretlyFat

New Member
exec ffmpeg -re -i rtmp://localhost:1935/trans/$name -vcodec libx264 -preset veryfast -x264opts nal-hrd=cbr:force-cfr=1:keyint=60 -r 30 -b:v 2000k -maxrate 2000k -bufsize 2000k -threads 4 -s hd720 -sws_flags spline -acodec copy -f flv rtmp://localhost:1935/live/${name};
 

SecretlyFat

New Member
So, I've been trying again and I get video but for a few seconds and then it freezes, rince and repeat. Ohh, and it also says 446,000kb/s on my twitch dashboard....
 
Top