Im trying to stream with ffmpeg to twitch.tv. Basically it works, but in time, my internet connection get knock-outed. I mean, if I run an infinite ping, I stop getting replies. Or I just cant browse on the internet.
Basically I used it like this:
ffmpeg -f dshow -i video="screen-capture-recorder" -vcodec libx264 -r 25 -pix_fmt yuv420p -preset ultrafast -f flv "rtmp://live.twitch.tv/app/live_****************"
it works for minutes.
But when I modify the command:
ffmpeg -rtbufsize 1500M -f dshow -i video="screen-capture-recorder" -vcodec libx264 -r 25 -pix_fmt yuv420p -preset ultrafast -f flv "rtmp://live.twitch.tv/app/live*******************"
it just wont send anything and floods my connection (I mean, connection breaks)
Of course, it sends me tons of "real-time buffer [screen-capture-recorder] [video input] too full or near too full (100% of size: 1500000000 [rtbufsize parameter])! frame dropped!
" messages.
Cant it be set to adapt to my internet bandwidth, or at least dont kill my connection?