Bug Report Update messed up a lot

Lex1020

New Member
So I stream quite often and love OBS. Normally I stream with the max bitrate set to 2500 and custom buffer set to 5000 and never have any problems. I have good looking streams and keep a fairly constant around 2500kb/s when streaming. After the update today, and not changing any settings. My bitrate would jump from 0-3888kb/s and I was constantly dropping frames. I was keeping right at about 12% frame loss (prior to update I never lost a single frame), and at one point OBS just stopped streaming. I couldn't upload a log file, so here it is copy and pasted in....


Code:
16:35:48: Open Broadcaster Software v0.542b - 32bit (´・ω・`)
16:35:48: -------------------------------
16:35:48: CPU Name: AMD FX(tm)-8150 Eight-Core Processor
16:35:48: CPU Speed: 3612MHz
16:35:48: Physical Memory:  4095MB Total, 4095MB Free
16:35:48: stepping id: 2, model 1, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 8, total cores 4
16:35:48: monitor 1: pos={0, 0}, size={1920, 1080}
16:35:48: Windows Version: 6.1 Build 7601 S
16:35:48: Aero is Enabled
16:35:48: -------------------------------
16:35:48: OBS Modules:
16:35:48: Base Address     Module
16:35:48: 01000000         OBS.exe
16:35:48: 60FD0000         OBSApi.dll
16:35:48: 60D90000         DShowPlugin.dll
16:35:48: 61460000         GraphicsCapture.dll
16:35:48: 60D70000         NoiseGate.dll
16:35:48: 60D50000         PSVPlugin.dll
16:35:48: ------------------------------------------
16:35:48: Adapter 1
16:35:48:   Video Adapter: NVIDIA GeForce GTX 660 Ti
16:35:48:   Video Adapter Dedicated Video Memory: 2086993920
16:35:48:   Video Adapter Shared System Memory: 2147807232
16:35:48: =====Stream Start: 2013-07-22, 16:35:48===============================================
16:35:48:   Multithreaded optimizations: Off
16:35:48:   Base resolution: 1920x1080
16:35:48:   Output resolution: 1280x720
16:35:48: ------------------------------------------
16:35:48: Loading up D3D10...
16:35:48: Playback device {0.0.0.00000000}.{00d5f558-ecd3-4f47-b970-988b9df6fc9e}
16:35:48: ------------------------------------------
16:35:48: Using desktop audio input: Headset Earphone (ASTRO Wireless Transmitter )
16:35:48: ------------------------------------------
16:35:48: Using auxilary audio input: Headset Microphone (ASTRO Wireless Transmitter )
16:35:48: ------------------------------------------
16:35:48: Audio Encoding: AAC
16:35:48:     bitrate: 320
16:35:48: ------------------------------------------
16:35:48:     device: Logitech HD Webcam C270,
16:35:48:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&3aa1a46&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
16:35:48:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
16:35:48:     audio device: Disable,
16:35:48:     audio device id Disabled,
16:35:48: 
16:35:48: Using directshow input
16:35:50: ------------------------------------------
16:35:50: Video Encoding: x264
16:35:50:     fps: 60
16:35:50:     width: 1280, height: 720
16:35:50:     preset: veryfast
16:35:50:     CBR: no
16:35:50:     CFR: no
16:35:50:     max bitrate: 2500
16:35:50:     buffer size: 5000
16:35:50:     quality: 10
16:35:50: ------------------------------------------
16:35:52: Using RTMP service: Twitch / Justin.tv
16:35:52:   Server selection: rtmp://live-lax.justin.tv/app
16:35:53: SO_SNDBUF was at 8192
16:35:53: SO_SNDBUF is now 65536
16:36:17: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:36:17:   New Scene
16:36:17: ------------------------------------------
16:36:17:     device: Logitech HD Webcam C270,
16:36:17:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&3aa1a46&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
16:36:17:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
16:36:17:     audio device: Disable,
16:36:17:     audio device id Disabled,
16:36:17: 
16:36:17: Using directshow input
16:36:17: Using graphics capture
16:36:17: Using graphics capture
16:36:17: Using graphics capture
16:36:17: Using graphics capture
16:36:17: Using graphics capture
16:36:17: Using graphics capture
16:36:17: Using graphics capture
16:36:17: Using graphics capture
16:36:17: Using Window Capture
16:36:17: Using graphics capture
16:36:30: SharedTexCapture hooked
16:36:57: Capture window 0x000200F4 invalid or changing, terminating capture
16:36:58: GraphicsCaptureSource::NewCapture:  eliminating old capture
16:36:58: SharedTexCapture hooked
16:40:46: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:40:46:   New Scene
16:40:46: ------------------------------------------
16:40:46:     device: Logitech HD Webcam C270,
16:40:46:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&3aa1a46&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
16:40:46:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
16:40:46:     audio device: Disable,
16:40:46:     audio device id Disabled,
16:40:46: 
16:40:46: Using directshow input
16:40:50: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
16:40:50:   New Scene
16:40:50: ------------------------------------------
16:40:50:     device: Logitech HD Webcam C270,
16:40:50:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&3aa1a46&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
16:40:50:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
16:40:50:     audio device: Disable,
16:40:50:     audio device id Disabled,
16:40:50: 
16:40:50: Using directshow input
16:40:50: Using graphics capture
16:40:50: Using graphics capture
16:40:50: Using graphics capture
16:40:50: Using graphics capture
16:40:50: Using graphics capture
16:40:50: Using graphics capture
16:40:50: Using graphics capture
16:40:50: Using graphics capture
16:40:50: Using Window Capture
16:40:50: Using graphics capture
16:40:52: SharedTexCapture hooked
16:43:59: Using graphics capture
16:43:59: SharedTexCapture hooked
17:39:53: RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10053
17:39:53: Total frames rendered: 230057, number of frames that lagged: 316 (0.14%) (it's okay for some frames to lag)
17:39:53: okay, this is strange
17:39:53: librtmp error: WriteN, RTMP send error 10053 (79 bytes)
17:39:53: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
17:39:53: Number of times waited to send: 928, Waited for a total of 3193505 bytes
17:39:53: Number of b-frames dropped: 8600 (3.7%), Number of p-frames dropped: 20435 (8.9%), Total 29035 (13%)
17:39:53: =====Stream End: 2013-07-22, 17:39:53=================================================
17:40:03: =====Stream Start: 2013-07-22, 17:40:03===============================================
17:40:03:   Multithreaded optimizations: Off
17:40:03:   Base resolution: 1920x1080
17:40:03:   Output resolution: 1280x720
17:40:03: ------------------------------------------
17:40:03: Loading up D3D10...
17:40:03: Playback device {0.0.0.00000000}.{00d5f558-ecd3-4f47-b970-988b9df6fc9e}
17:40:03: ------------------------------------------
17:40:03: Using desktop audio input: Headset Earphone (ASTRO Wireless Transmitter )
17:40:03: ------------------------------------------
17:40:03: Using auxilary audio input: Headset Microphone (ASTRO Wireless Transmitter )
17:40:03: ------------------------------------------
17:40:03: Audio Encoding: AAC
17:40:03:     bitrate: 320
17:40:03: ------------------------------------------
17:40:03:     device: Logitech HD Webcam C270,
17:40:03:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&3aa1a46&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:40:03:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
17:40:03:     audio device: Disable,
17:40:03:     audio device id Disabled,
17:40:03: 
17:40:03: Using directshow input
17:40:03: Using graphics capture
17:40:04: ------------------------------------------
17:40:04: Video Encoding: x264
17:40:04:     fps: 60
17:40:04:     width: 1280, height: 720
17:40:04:     preset: veryfast
17:40:04:     CBR: no
17:40:04:     CFR: no
17:40:04:     max bitrate: 2500
17:40:04:     buffer size: 5000
17:40:04:     quality: 10
17:40:04: ------------------------------------------
17:40:04: SharedTexCapture hooked
17:40:05: Using RTMP service: Twitch / Justin.tv
17:40:05:   Server selection: rtmp://live-lax.justin.tv/app
17:40:06: SO_SNDBUF was at 8192
17:40:06: SO_SNDBUF is now 65536
17:43:30: Total frames rendered: 12319, number of frames that lagged: 32 (0.26%) (it's okay for some frames to lag)
17:43:30: RTMPPublisher::SocketLoop: Aborting due to bStopping
17:43:30: Number of times waited to send: 83, Waited for a total of 295576 bytes
17:43:30: Number of b-frames dropped: 1538 (13%), Number of p-frames dropped: 3099 (26%), Total 4637 (38%)
17:43:30: =====Stream End: 2013-07-22, 17:43:30=================================================
17:53:13: 
17:53:13: Profiler results:
17:53:13: 
17:53:13: ==============================================================
17:53:13: frame - [100%] [avg time: 6.991 ms (cpu time: avg 6.111 ms, total 1.4812e+006 ms)] [avg calls per frame: 1] [children: 99.8%] [unaccounted: 0.2%]
17:53:13: | frame preprocessing and rendering - [27.3%] [avg time: 1.91 ms (cpu time: avg 1.52 ms, total 368506 ms)] [avg calls per frame: 1] [children: 12.1%] [unaccounted: 15.2%]
17:53:13: | | scene->Preprocess - [12.1%] [avg time: 0.847 ms (cpu time: avg 0.657 ms, total 159355 ms)] [avg calls per frame: 1]
17:53:13: | video encoding and uploading - [72.5%] [avg time: 5.067 ms (cpu time: avg 4.584 ms, total 1.11123e+006 ms)] [avg calls per frame: 1] [children: 69.4%] [unaccounted: 3.05%]
17:53:13: | | flush - [3.6%] [avg time: 0.252 ms (cpu time: avg 0.042 ms, total 10342.9 ms)] [avg calls per frame: 1]
17:53:13: | | CopyResource - [0.0572%] [avg time: 0.004 ms (cpu time: avg 0.003 ms, total 936.004 ms)] [avg calls per frame: 0]
17:53:13: | | conversion to 4:2:0 - [34.6%] [avg time: 2.419 ms (cpu time: avg 2.37 ms, total 574599 ms)] [avg calls per frame: 0]
17:53:13: | | call to encoder - [30.7%] [avg time: 2.147 ms (cpu time: avg 2.091 ms, total 507003 ms)] [avg calls per frame: 0]
17:53:13: | | sending stuff out - [0.458%] [avg time: 0.032 ms (cpu time: avg 0.032 ms, total 7862.45 ms)] [avg calls per frame: 0]
17:53:13: ==============================================================
17:53:13:
 

Kharay

Member
I would say you answered your own question really; custom buffer size. Personally, I'm an advocate of simply moving it from the Encoding screen to Advanced since I've seen one too many streams end up messed over a misconfiguration there.

Try streaming at CBR 2500 (without a custom buffer size) and see if the stream stabilizes again. CBR is the preferred way of going about it anyhow. It's a lot easier for the Twitch infrastructure to load balance CBR streams than it is to load balance VBR streams.
 

Lex1020

New Member
Kharay said:
I would say you answered your own question really; custom buffer size. Personally, I'm an advocate of simply moving it from the Encoding screen to Advanced since I've seen one too many streams end up messed over a misconfiguration there.

Try streaming at CBR 2500 (without a custom buffer size) and see if the stream stabilizes again. CBR is the preferred way of going about it anyhow. It's a lot easier for the Twitch infrastructure to load balance CBR streams than it is to load balance VBR streams.


Not that I'm arguing with you, and I will definitely try your suggestion, but it's only after this Update that that has been a problem. Prior to this update it always worked perfectly fine.
 

R1CH

Forum Admin
Developer
Network conditions are never the same from one minute to the next on the Internet. Dropped frames are the result of network issues, nothing in the network code was changed in the update to cause this. Try changing Twitch servers as they could be overloaded too, they have a lot of issues lately. Most likely if you revert to the previous version you will notice the same problem.
 

Lex1020

New Member
R1CH said:
Network conditions are never the same from one minute to the next on the Internet. Dropped frames are the result of network issues, nothing in the network code was changed in the update to cause this. Try changing Twitch servers as they could be overloaded too, they have a lot of issues lately. Most likely if you revert to the previous version you will notice the same problem.


Just tried to use OBS again on a different serve and still had the same problems. I followed the recommended settings on this site and read over the help sections to set the settings. It dropped less frames (about 5%) but it still dropped frames when before this update it never dropped frames, my internet is 50+ download and 45+ upload.
 

Attachments

  • 2013-07-27-1058-25.log
    4.8 KB · Views: 45

Lex1020

New Member
R1CH said:
Network conditions are never the same from one minute to the next on the Internet. Dropped frames are the result of network issues, nothing in the network code was changed in the update to cause this. Try changing Twitch servers as they could be overloaded too, they have a lot of issues lately. Most likely if you revert to the previous version you will notice the same problem.


Now I can't stream pretty much at all. It just drops a ton of frames. Less than 2 minutes of play and I've dropped 28% of the frames.
 

Attachments

  • 2013-07-27-1415-26.log
    5 KB · Views: 49

Lex1020

New Member
R1CH said:
You may wish to contact your ISP if you are having persistent network issues.


It's not network issues. It's only steaming to twitch using OBS. Like I said my download is 50+ Mbps with 45+ Mbps upload speeds.
 

R1CH

Forum Admin
Developer
Dropped frames are caused by the inability to upload at the bitrate specified, so either you have network issues or you have some 3rd party software interfering, a bad router, or similar. Try a 33mb upload test at http://testmy.net/upload to verify your upload is working as intended.
 

vaesauce

Member
Why not just revert to the previous OBS and test to see if it's really the latest OBS that is causing the issue?

That way we will know if it's really an OBS issue or just something on your end or Twitch.tv o_O ?
 

Kharay

Member
+1 to that suggestion. It is the quickest way to confirm whether or not it's OBS -- which I am still highly doubtful of.
 
Top