sneaky4oe
Member
No, I was using their own server.
Got a clear one and installed nginx as shown in the tutorial.
For some reason, encoding never starts even with "_static" after exec.
Can't start it manually in shell as well, using that push link as a source. It can push source stream to twitch though, if don't use transcoding - that's already something. Now just need to understand why my ffmpeg stucks.
RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
rtmp://***.***.***.***/transcode/1234: Unknown error occurred
That's what I get if connect manually
UPD: found a way -
ffmpeg -i rtmp://localhost/transcode/1234 -vcodec libx264 -preset faster -x264opts nal-hrd=cbr:force-cfr=1:keyint=60 -b:v 1600k -maxrate 2200k -bufsize 3600k -s 960x540 -sws_flags lanczos -acodec copy -f flv rtmp://live-fra.twitch.tv/app/***
Messed up the string.
Got a clear one and installed nginx as shown in the tutorial.

For some reason, encoding never starts even with "_static" after exec.
Can't start it manually in shell as well, using that push link as a source. It can push source stream to twitch though, if don't use transcoding - that's already something. Now just need to understand why my ffmpeg stucks.
RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
rtmp://***.***.***.***/transcode/1234: Unknown error occurred
That's what I get if connect manually
UPD: found a way -
ffmpeg -i rtmp://localhost/transcode/1234 -vcodec libx264 -preset faster -x264opts nal-hrd=cbr:force-cfr=1:keyint=60 -b:v 1600k -maxrate 2200k -bufsize 3600k -s 960x540 -sws_flags lanczos -acodec copy -f flv rtmp://live-fra.twitch.tv/app/***
Messed up the string.
Last edited: