Bug Report Stream for 1 second then frame drop and then disconnect

Open Airway

New Member
Re: Stream for 1 second then insane frame drop and then cras

dodgepong said:
Do you think you could post your log? viewtopic.php?f=5&t=97
Code:
Playback device {0.0.0.00000000}.{a7150715-41fd-4eb3-9126-182890cbefe6}
------------------------------------------
Using desktop audio input: Speakers (Turtle Beach PX3 Headset)
------------------------------------------
Using auxilary audio input: Microphone (Turtle Beach PX3 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
    device: Mobiola Video Source,
    device id \\?\root#media#0001#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: RGB24, usingFourCC: false, res: 352x288 - 352x288, frameIntervals: 333667-640000000, fourCC: 00000000
    audio device: (null),
    audio device id (null),

Using directshow input
Using Monitor Capture
Using Monitor Capture
Using text output
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1600
    buffer size: 1600
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-dfw-backup.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 566, number of frames that lagged: 22 (3.89%) (it's okay for some frames to lag)
Total duplicated frames: 15 (2.65%)
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 2, Waited for a total of 8194 bytes
Number of b-frames dropped: 26 (8.6%), Number of p-frames dropped: 26 (8.6%), Total 52 (17%)
=====Stream End: 2013-04-25, 20:45:15=================================================
=====Stream Start: 2013-04-25, 20:48:29===============================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{a7150715-41fd-4eb3-9126-182890cbefe6}
------------------------------------------
Using desktop audio input: Speakers (Turtle Beach PX3 Headset)
------------------------------------------
Using auxilary audio input: Microphone (Turtle Beach PX3 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
    device: Mobiola Video Source,
    device id \\?\root#media#0001#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: RGB24, usingFourCC: false, res: 352x288 - 352x288, frameIntervals: 333667-640000000, fourCC: 00000000
    audio device: (null),
    audio device id (null),

Using directshow input
Using Monitor Capture
Using Monitor Capture
Using text output
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1600
    buffer size: 1600
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-dfw-backup.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 320, number of frames that lagged: 3 (0.94%) (it's okay for some frames to lag)
Total duplicated frames: 33 (10.31%)
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 0, Waited for a total of 0 bytes
Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
=====Stream End: 2013-04-25, 20:48:34=================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 10.864 ms] [avg calls per frame: 1] [children: 94.5%] [unaccounted: 5.46%]
| scene->Preprocess - [28%] [avg time: 3.037 ms] [avg calls per frame: 1]
| video encoding and uploading - [66.6%] [avg time: 7.234 ms] [avg calls per frame: 1] [children: 65.9%] [unaccounted: 0.727%]
| | CopyResource - [43.2%] [avg time: 4.694 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.488%] [avg time: 0.053 ms] [avg calls per frame: 0]
| | call to encoder - [22.1%] [avg time: 2.401 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0644%] [avg time: 0.007 ms] [avg calls per frame: 0]
==============================================================
 

dodgepong

Administrator
Community Helper
Re: Stream for 1 second then insane frame drop and then cras

That is not the full log...make sure you copy the entire contents.

Also, are you sure that is a log from when it was dropping frames? I don't see any frame drop problems in this log.

If there was an actual crash, too, could you paste the crash log and the dump file?
 

Open Airway

New Member
Re: Stream for 1 second then insane frame drop and then cras

dodgepong said:
That is not the full log...make sure you copy the entire contents.

Also, are you sure that is a log from when it was dropping frames? I don't see any frame drop problems in this log.

If there was an actual crash, too, could you paste the crash log and the dump file?
Copied what was in the .txt
It doesn't drop the frames until the very last second which it will go from 0-120 in 1 second and then crash.
By crashing I don't mean the program just disappears, the stream stops, says it's reconnecting, then does it over again.
 

Open Airway

New Member
Re: Stream for 1 second then insane frame drop and then cras

dodgepong said:
That is not the full log...make sure you copy the entire contents.

Also, are you sure that is a log from when it was dropping frames? I don't see any frame drop problems in this log.

If there was an actual crash, too, could you paste the crash log and the dump file?
here's another log

Code:
Open Broadcaster Software v0.50b - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
CPU Speed: 3292MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
monitor 1: pos={1600, 0}, size={1600, 900}
monitor 2: pos={0, 0}, size={1600, 900}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 260
  Video Adapter Dedicated Video Memory: 911605760
  Video Adapter Shared System Memory: 3354996736
------------------------------------------
Adapter 2
  Video Adapter: Intel(R) HD Graphics 3000
  Video Adapter Dedicated Video Memory: 67108864
  Video Adapter Shared System Memory: 1711276032
=====Stream Start: 2013-04-25, 21:13:58===============================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{a7150715-41fd-4eb3-9126-182890cbefe6}
------------------------------------------
Using desktop audio input: Speakers (Turtle Beach PX3 Headset)
------------------------------------------
Using auxilary audio input: Microphone (Turtle Beach PX3 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
    device: Mobiola Video Source,
    device id \\?\root#media#0001#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: RGB24, usingFourCC: false, res: 352x288 - 352x288, frameIntervals: 333667-640000000, fourCC: 00000000
    audio device: (null),
    audio device id (null),

Using directshow input
Using Monitor Capture
Using Monitor Capture
Using text output
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-dfw-backup.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 693, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
Total duplicated frames: 0 (0.00%)
okay, this is strange
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 2, Waited for a total of 8194 bytes
Number of b-frames dropped: 42 (8.6%), Number of p-frames dropped: 42 (8.6%), Total 84 (17%)
=====Stream End: 2013-04-25, 21:14:10=================================================
=====Stream Start: 2013-04-25, 21:15:39===============================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
Playback device {0.0.0.00000000}.{a7150715-41fd-4eb3-9126-182890cbefe6}
------------------------------------------
Using desktop audio input: Speakers (Turtle Beach PX3 Headset)
------------------------------------------
Using auxilary audio input: Microphone (Turtle Beach PX3 Headset)
------------------------------------------
Audio Encoding: AAC
    bitrate: 128
------------------------------------------
    device: Mobiola Video Source,
    device id \\?\root#media#0001#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
    chosen type: RGB24, usingFourCC: false, res: 352x288 - 352x288, frameIntervals: 333667-640000000, fourCC: 00000000
    audio device: (null),
    audio device id (null),

Using directshow input
Using Monitor Capture
Using Monitor Capture
Using text output
Using Monitor Capture
------------------------------------------
Video Encoding: x264
    fps: 60
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    CFR: no
    max bitrate: 1000
    buffer size: 1000
    quality: 10
------------------------------------------
Using RTMP service: Twitch / Justin.tv
  Server selection: rtmp://live-dfw-backup.justin.tv/app
SO_SNDBUF was at 8192
SO_SNDBUF is now 65536
Total frames rendered: 794, number of frames that lagged: 1 (0.13%) (it's okay for some frames to lag)
Total duplicated frames: 0 (0.00%)
RTMPPublisher::SocketLoop: Aborting due to loop exit
librtmp error: WriteN, RTMP send error 10035 (79 bytes)
librtmp error: WriteN, RTMP send error 10038 (42 bytes)
Number of times waited to send: 2, Waited for a total of 8194 bytes
Number of b-frames dropped: 41 (7.4%), Number of p-frames dropped: 42 (7.6%), Total 83 (15%)
=====Stream End: 2013-04-25, 21:15:53=================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 8.198 ms] [avg calls per frame: 1] [children: 95.8%] [unaccounted: 4.24%]
| scene->Preprocess - [19.5%] [avg time: 1.598 ms] [avg calls per frame: 1]
| video encoding and uploading - [76.3%] [avg time: 6.252 ms] [avg calls per frame: 1] [children: 75.7%] [unaccounted: 0.573%]
| | CopyResource - [49.6%] [avg time: 4.068 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.061%] [avg time: 0.005 ms] [avg calls per frame: 0]
| | call to encoder - [25.9%] [avg time: 2.125 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0854%] [avg time: 0.007 ms] [avg calls per frame: 0]
==============================================================
 

mattone

New Member
Are you sure your stream key is correct? You may have accidentally added a space somewhere, or forgot one of the end characters.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I actually don't know what the handshake failing means, I've never really seen that happen before to anyone before.
 

Open Airway

New Member
Jim said:
I actually don't know what the handshake failing means, I've never really seen that happen before to anyone before.
So basically I have to use the shitty alternative (Xsplit) because you guys don't know what the error you coded is?...
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Open Airway said:
Jim said:
I actually don't know what the handshake failing means, I've never really seen that happen before to anyone before.
So basically I have to use the shitty alternative (Xsplit) because you guys don't know what the error you coded is?...

I did not code it most of the RTMP protocol stuff. It's a part of the librtmp library. I don't know why the handshake fails. I don't know everything. It's difficult when you're a developer and a user has a problem that you can't replicate. I would love to be able to just solve all problems with the wave of a wand, but it's not always that easy.

I would kindly ask that before you start throwing statements like this around you realize that I am a human being and that my software and the libraries I use are all subject to human flaws, just like any other thing made by humans on this planet.
 

Open Airway

New Member
Jim said:
Open Airway said:
Jim said:
I actually don't know what the handshake failing means, I've never really seen that happen before to anyone before.
So basically I have to use the shitty alternative (Xsplit) because you guys don't know what the error you coded is?...

I did not code it most of the RTMP protocol stuff. It's a part of the librtmp library. I don't know why the handshake fails. I don't know everything. It's difficult when you're a developer and a user has a problem that you can't replicate. I would love to be able to just solve all problems with the wave of a wand, but it's not always that easy.

I would kindly ask that before you start throwing statements like this around you realize that I am a human being and that my software and the libraries I use are all subject to human flaws, just like any other thing made by humans on this planet.
Yeah but I've searched around and seen many people with this problem and you respond with the same thing "I've never seen this before" how about find out what it is and fix it then..
 

Krazy

Town drunk
Because it's an RTMP issue......

You can try things like creating exceptions in anti virus and firewall software for OBS to make sure they aren't blocking anything, and maybe check your router settings for the same kind of thing, not really sure. Handshake failed is unfortunately not a very specific error.

edit: Something else I've come across in researching is that might be DNS related. You could try using Google's DNS as your DNS. Bit more info on Google's DNS and how to set it up: https://developers.google.com/speed/public-dns/
 

Krazy

Town drunk
Also, does this happen with ALL twitch servers? And did you try the suggestions in my previous post?
 

Open Airway

New Member
Krazy said:
Also, does this happen with ALL twitch servers? And did you try the suggestions in my previous post?
Tried with different servers, also tried using FFSplit and even trying the servers on there. So now I know it's not OBS...
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Open Airway said:
Yeah but I've searched around and seen many people with this problem and you respond with the same thing "I've never seen this before" how about find out what it is and fix it then..

If I did respond this way to this same error to someone else before, I apologize, but it's only because I have a fickle memory.

Anyway, krazy brought up something earlier - perhaps the librtmp code is out of date or something, I'm not sure. ffmpeg uses the same library as well so it wouldn't be surprising if they had the same issue. It's been at least a year since I downloaded this version, so I should probably download the latest version to see if they've updated it at all.

Still, the thing is that it would happen to everybody, so I'm just confused about what's really going on here. I don't have all the information, and can't really easily get all the information, so I can't say anything definitively.
 

Open Airway

New Member
Jim said:
Open Airway said:
Yeah but I've searched around and seen many people with this problem and you respond with the same thing "I've never seen this before" how about find out what it is and fix it then..

If I did respond this way to this same error to someone else before, I apologize, but it's only because I have a fickle memory.

Anyway, krazy brought up something earlier - perhaps the librtmp code is out of date or something, I'm not sure. ffmpeg uses the same library as well so it wouldn't be surprising if they had the same issue. It's been at least a year since I downloaded this version, so I should probably download the latest version to see if they've updated it at all.

Still, the thing is that it would happen to everybody, so I'm just confused about what's really going on here. I don't have all the information, and can't really easily get all the information, so I can't say anything definitively.
Would definitely mean a lot if you guys could look into this issue. It's really frustrating. I've been searching everywhere to try and fix the issue but I'm really not finding anything.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I'll see what I can do, the current librtmp code we use has a lot of custom modifications, but perhaps I can check out their repo and see if I can apply any updates that they may have made.
 
Top