Bug Report [Solved] DC'ed while switching scene

Helixia

Member
Hello everyone,

I switched from game while i was streaming and i also switched from scene.
When i switch from scene my kb/sec output went to zero with a red square and i got dc'ed.

Here is the log from the stream night when it was happened.

Log:
Code:
    Open Broadcaster Software v0.51b - 64bit ( ^ω^)
    -------------------------------
    CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
    CPU Speed: 3309MHz
    Physical Memory:  12205MB Total, 9060MB 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={0, 0}, size={1920, 1080}
    Windows Version: 6.1 Build 7601 S
    Aero is Disabled
    ------------------------------------------
    Adapter 1
      Video Adapter: NVIDIA GeForce GTX 550 Ti
      Video Adapter Dedicated Video Memory: 1025179648
      Video Adapter Shared System Memory: 3220779008
    ------------------------------------------
    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-27, 17:34:59===============================================
      Multithreaded optimizations: On
      Base resolution: 1920x1080
      Output resolution: 1536x864
    ------------------------------------------
    Loading up D3D10...
    Playback device Default
    ------------------------------------------
    Using desktop audio input: Realtek HD Audio 2nd output (Realtek High Definition Audio)
    ------------------------------------------
    Using auxilary audio input: Microfoon (Realtek High Definition Audio)
    ------------------------------------------
    Audio Encoding: AAC
        bitrate: 320
    Using text output
    Using text output
    Using text output
    Using text output
    ------------------------------------------
        device: Logitech HD Webcam C310,
        device id \\?\usb#vid_046d&pid_081b&mi_00#7&1a79aabb&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
        chosen type: I420, usingFourCC: false, res: 432x240 - 432x240, frameIntervals: 333333-2000000, fourCC: 'I420'
        audio device: Uitzetten,
        audio device id Disabled,
     
    Using directshow input
    Using graphics capture
    ------------------------------------------
    Video Encoding: x264
        fps: 30
        width: 1536, height: 864
        preset: veryfast
        CBR: yes
        CFR: no
        max bitrate: 3000
    ------------------------------------------
    SharedTexCapture hooked
    Total frames rendered: 106, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
    =====Stream End: 2013-04-27, 17:35:04=================================================
    =====Stream Start: 2013-04-27, 17:35:10===============================================
      Multithreaded optimizations: On
      Base resolution: 1920x1080
      Output resolution: 1536x864
    ------------------------------------------
    Loading up D3D10...
    Playback device Default
    ------------------------------------------
    Using desktop audio input: Realtek HD Audio 2nd output (Realtek High Definition Audio)
    ------------------------------------------
    Using auxilary audio input: Microfoon (Realtek High Definition Audio)
    ------------------------------------------
    Audio Encoding: AAC
        bitrate: 320
    Using text output
    Using text output
    Using text output
    Using text output
    ------------------------------------------
        device: Logitech HD Webcam C310,
        device id \\?\usb#vid_046d&pid_081b&mi_00#7&1a79aabb&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
        chosen type: I420, usingFourCC: false, res: 432x240 - 432x240, frameIntervals: 333333-2000000, fourCC: 'I420'
        audio device: Uitzetten,
        audio device id Disabled,
     
    Using directshow input
    Using graphics capture
    ------------------------------------------
    Video Encoding: x264
        fps: 30
        width: 1536, height: 864
        preset: veryfast
        CBR: yes
        CFR: no
        max bitrate: 3000
    ------------------------------------------
    SharedTexCapture hooked
    Total frames rendered: 237, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
    =====Stream End: 2013-04-27, 17:35:19=================================================
    =====Stream Start: 2013-04-27, 17:35:21===============================================
      Multithreaded optimizations: On
      Base resolution: 1920x1080
      Output resolution: 1536x864
    ------------------------------------------
    Loading up D3D10...
    Playback device Default
    ------------------------------------------
    Using desktop audio input: Realtek HD Audio 2nd output (Realtek High Definition Audio)
    ------------------------------------------
    Using auxilary audio input: Microfoon (Realtek High Definition Audio)
    ------------------------------------------
    Audio Encoding: AAC
        bitrate: 320
    Using text output
    Using text output
    Using text output
    Using text output
    ------------------------------------------
        device: Logitech HD Webcam C310,
        device id \\?\usb#vid_046d&pid_081b&mi_00#7&1a79aabb&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
        chosen type: I420, usingFourCC: false, res: 432x240 - 432x240, frameIntervals: 333333-2000000, fourCC: 'I420'
        audio device: Uitzetten,
        audio device id Disabled,
     
    Using directshow input
    Using graphics capture
    ------------------------------------------
    Video Encoding: x264
        fps: 30
        width: 1536, height: 864
        preset: veryfast
        CBR: yes
        CFR: no
        max bitrate: 3000
    ------------------------------------------
    SharedTexCapture hooked
    Using RTMP service: Twitch / Justin.tv
      Server selection: rtmp://live-ams.justin.tv/app
    SO_SNDBUF was at 8192
    SO_SNDBUF is now 65536
    SharedTexCapture hooked
    SharedTexCapture hooked
    SharedTexCapture hooked
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++
      New Scene
    Using Window Capture
    Using Monitor Capture
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++
      New Scene
    Using text output
    Using text output
    ------------------------------------------
        device: Logitech HD Webcam C310,
        device id \\?\usb#vid_046d&pid_081b&mi_00#7&1a79aabb&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
        chosen type: I420, usingFourCC: false, res: 432x240 - 432x240, frameIntervals: 333333-2000000, fourCC: 'I420'
        audio device: Uitzetten,
        audio device id Disabled,
     
    Using directshow input
    Using graphics capture
    SharedTexCapture hooked
    Using Monitor Capture
    SharedTexCapture hooked
    SharedTexCapture hooked
    SharedTexCapture hooked
    Using bitmap image
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++
      New Scene
    ------------------------------------------
        device: Logitech HD Webcam C310,
        device id \\?\usb#vid_046d&pid_081b&mi_00#7&1a79aabb&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
        chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000, fourCC: 'I420'
        audio device: (null),
        audio device id (null),
     
    Using directshow input
    Using Window Capture
    RTMPPublisher::SocketLoop: Socket error, send() returned -1, GetLastError() 10054
    Total frames rendered: 398377, number of frames that lagged: 30158 (7.57%) (it's okay for some frames to lag)
    okay, this is strange
    librtmp error: WriteN, RTMP send error 10054 (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: 6 (0.0015%), Number of p-frames dropped: 4 (0.001%), Total 10 (0.0025%)
    =====Stream End: 2013-04-27, 21:21:34=================================================
    =====Stream Start: 2013-04-27, 21:21:45===============================================
      Multithreaded optimizations: On
      Base resolution: 1920x1080
      Output resolution: 1536x864
    ------------------------------------------
    Loading up D3D10...
    Playback device Default
    ------------------------------------------
    Using desktop audio input: Realtek HD Audio 2nd output (Realtek High Definition Audio)
    ------------------------------------------
    Using auxilary audio input: Microfoon (Realtek High Definition Audio)
    ------------------------------------------
    Audio Encoding: AAC
        bitrate: 320
    Using text output
    ------------------------------------------
        device: Logitech HD Webcam C310,
        device id \\?\usb#vid_046d&pid_081b&mi_00#7&1a79aabb&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
        chosen type: I420, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 333333-2000000, fourCC: 'I420'
        audio device: (null),
        audio device id (null),
     
    Using directshow input
    Using Monitor Capture
    ------------------------------------------
    Video Encoding: x264
        fps: 30
        width: 1536, height: 864
        preset: veryfast
        CBR: yes
        CFR: no
        max bitrate: 3000
    ------------------------------------------
    Using RTMP service: Twitch / Justin.tv
      Server selection: rtmp://live-ams.justin.tv/app
    SO_SNDBUF was at 8192
    SO_SNDBUF is now 65536
    Using text output
    RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
    Total frames rendered: 146263, number of frames that lagged: 645 (0.44%) (it's okay for some frames to lag)
    RTMPPublisher::SocketLoop: Aborting due to bStopping
    Number of times waited to send: 8, Waited for a total of 32776 bytes
    Number of b-frames dropped: 28 (0.019%), Number of p-frames dropped: 26 (0.018%), Total 54 (0.037%)
    =====Stream End: 2013-04-27, 22:43:08=================================================
     
    Profiler results:     
    ==============================================================
    frame - [100%] [avg time: 12.641 ms] [avg calls per frame: 1] [children: 96.2%] [unaccounted: 3.81%]
    | scene->Preprocess - [75.2%] [avg time: 9.509 ms] [avg calls per frame: 1]
    | video encoding and uploading - [21%] [avg time: 2.651 ms] [avg calls per frame: 1] [children: 19.1%] [unaccounted: 1.88%]
    | | CopyResource - [0.158%] [avg time: 0.02 ms] [avg calls per frame: 0]
    | | conversion to 4:2:0 - [0.554%] [avg time: 0.07 ms] [avg calls per frame: 0]
    | | call to encoder - [18.1%] [avg time: 2.287 ms] [avg calls per frame: 0]
    | | sending stuff out - [0.285%] [avg time: 0.036 ms] [avg calls per frame: 0]
    ==============================================================
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Re: DC'ed while switching scene

If you are using a webcam or any sort of capture device, make sure it's set up as a global source to prevent scene switching lag, which can occasionally cause these issues.
 

Helixia

Member
Re: DC'ed while switching scene

@Jim thank you maybe that is the cause of my issue.
I'll try to set my webcam up as a global scene maybe it will work.
I message back about the result.
 

Helixia

Member
Re: DC'ed while switching scene

Thank you Jim!!
Setting my webcam has solved my issue.

This thread can be closed.
 
Top