Bug Report Twitch stream stop

KingCobra

New Member
Hi.
When i cast more than 4-6 hrs, my stream got stoped(no errors displayed, just reconnect message)
Code:
20:57:56: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10054
20:57:56: Total frames rendered: 814044, number of frames that lagged: 258 (0.03%) (it's okay for some frames to lag)
20:57:56: librtmp error: WriteN, RTMP send error 10054 (79 bytes)
20:57:56: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
20:57:56: Number of times waited to send: 0, Waited for a total of 0 bytes
20:57:56: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
20:57:56: =====Stream End: 2013-08-04,

i cant remember 1st time error... seems like after i start to stream with 45-60 fps, atm i cast with 45 fps, but try to check today on 30 fps on ~5hrs cast
 

Kharay

Member
10054 = Connection Reset By Peer. Implying that it's not OBS that is closing the connection, it's Twitch.
 

Kharay

Member
Could be any number of reasons really. It is very hard to say. However, I do not think the problem is on your end. Have a look at this line of your log:
20:57:56: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
That was a long session (over 800k frames) and you did not drop a single frame. Which means your connection was doing a perfect job that entire time.

Has this problem been happening for a long time or just recently?
 

KingCobra

New Member
Kharay said:
Could be any number of reasons really. It is very hard to say. However, I do not think the problem is on your end. Have a look at this line of your log:
20:57:56: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
That was a long session (over 800k frames) and you did not drop a single frame. Which means your connection was doing a perfect job that entire time.

Has this problem been happening for a long time or just recently?

mb about month... 1st time i think that its just random error... seems like after 0.542 version

try to cast today on .541 version
 

KingCobra

New Member
make some tests, on .541b 3 streams, 5, 6 and 8.5 hrs with no stops
next stream on .542b stoped after 4.5 hrs of streaming
thats before new reqs from twitch


and got new problem with both versions with new twitch reqs:
i cast with 3.5mbit/1080p/45fps/veryfast
with setting CBR and keyint=90 all my streams(test 4 times, 3 on .541b and 1 on .542b) stop around 2.5 hrs mark.

tonight will check with 30 fps

in both problems errors are same
Code:
22:37:20: Using custom x264 settings: "keyint=90"
22:37:20: ------------------------------------------
22:37:20: Video Encoding: x264
22:37:20:     fps: 45
22:37:20:     width: 1920, height: 1080
22:37:20:     preset: veryfast
22:37:20:     CBR: yes
22:37:20:     CFR: no
22:37:20:     max bitrate: 3500
22:37:20: ------------------------------------------
22:37:22: Using RTMP service: Twitch / Justin.tv
22:37:22:   Server selection: rtmp://live-fra.justin.tv/app
22:37:24: SO_SNDBUF was at 8192
22:37:24: SO_SNDBUF is now 65536
01:10:59: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10054
01:10:59: Total frames rendered: 414664, number of frames that lagged: 510 (0.12%) (it's okay for some frames to lag)
01:10:59: librtmp error: WriteN, RTMP send error 10054 (79 bytes)
01:10:59: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
01:10:59: Number of times waited to send: 0, Waited for a total of 0 bytes
01:10:59: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
01:10:59: =====Stream End: 2013-08-15, 01:10:59=================================================
 

KingCobra

New Member
same thing with 30fps, 2.5hr and stream stop

stream lenghts:

1080p/3.5mbits/45fps/CBR/keyint=90
2:31:20
2:31:07

1080p/3.5mbits/30fps/CBR/CFR/keyint=60
2:38:43
2:38:11
2:38:12
 

KingCobra

New Member
turn off CBR, 3+ hr stream fine... waiting for 6hr mark(checking 1st problem)
upd: 6.5 passed, really strangely... 542b without 2s keyframe always was stoped before 6hr
 

KingCobra

New Member
make tests with friend on same settings(1080p/3.5mbits/30fps/CBR/CFR/keyint=60)
his stream also got stops every 2.5 hrs

seems like my 1st problem(stream cant be longer than 6hr fixed by keyint=fps*2)
and 2nd problem in CBR, but that other heathenous app with same settings works fine...
 
Top