TheDarkRider
New Member
Hey,
So I had used OBS for a while to stream a few games a while ago(about 45 days or so) and it seemed to be working fine, but now it seems to be having issues. My AFK(Overlay) Scene is run fine at 30FPS, but my ingame is shown by OBS to be at around 18FPS ( I have it set to 30). I am wondering what the problem could be. I am attaching the log file here. I am using it to stream StarCraft 2.
I used the log analyzer and it tell me about 30% of my frames were late. Wondering what is happening there.
So I had used OBS for a while to stream a few games a while ago(about 45 days or so) and it seemed to be working fine, but now it seems to be having issues. My AFK(Overlay) Scene is run fine at 30FPS, but my ingame is shown by OBS to be at around 18FPS ( I have it set to 30). I am wondering what the problem could be. I am attaching the log file here. I am using it to stream StarCraft 2.
I used the log analyzer and it tell me about 30% of my frames were late. Wondering what is happening there.
Code:
20:30:44: =====Stream End: 2014-02-13, 20:30:44=================================================
20:30:45: =====Stream Start: 2014-02-13, 20:30:45===============================================
20:30:45: Multithreaded optimizations: On
20:30:45: Base resolution: 1920x1080
20:30:45: Output resolution: 852x480
20:30:45: ------------------------------------------
20:30:45: Loading up D3D10 on NVIDIA GeForce 9800 GT (Adapter 1)...
20:30:45: D3D10CreateDeviceAndSwapChain1: Failed on NVIDIA GeForce 9800 GT: 0x80004002. Trying compatibility mode
20:30:45: ------------------------------------------
20:30:45: Audio Format: 48000hz
20:30:45: Playback device Default
20:30:45: ------------------------------------------
20:30:45: Using desktop audio input: Speakers (Corsair Vengeance 1500 Headset)
20:30:45: Using 7.1 surround speaker setup
20:30:45: ------------------------------------------
20:30:45: Using auxilary audio input: Microphone (Corsair Vengeance 1500 Headset)
20:30:45: ------------------------------------------
20:30:45: Audio Encoding: AAC
20:30:45: bitrate: 96
20:30:45: Using graphics capture
20:30:45: ------------------------------------------
20:30:45: device: \\?\usb#vid_046d&pid_080f&mi_00#6&35a171c3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
20:30:45: device id \\?\usb#vid_046d&pid_080f&mi_00#6&35a171c3&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
20:30:45: chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000
20:30:45: use buffering: false - 0, fourCC: 'YUY2'
20:30:45: audio device: Disable,
20:30:45: audio device id Disabled,
20:30:45:
20:30:45: Using directshow input
20:30:45: Using bitmap image
20:30:45: Scene buffering time set to 400
20:30:45: ------------------------------------------
20:30:45: Video Encoding: x264
20:30:45: fps: 30
20:30:45: width: 852, height: 480
20:30:45: preset: faster
20:30:45: profile: high
20:30:45: keyint: 60
20:30:45: CBR: yes
20:30:45: CFR: yes
20:30:45: max bitrate: 500
20:30:45: buffer size: 500
20:30:45: ------------------------------------------
20:30:45: SharedTexCapture hooked
20:30:47: Using RTMP service: Twitch / Justin.tv
20:30:47: Server selection: rtmp://live-sin-backup.justin.tv/app
20:30:47: Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
20:30:48: Completed handshake with rtmp://live-sin-backup.justin.tv/app in 570 ms.
20:30:49: SO_SNDBUF was at 8192
20:30:49: SO_SNDBUF is now 65536
20:30:53: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 0 / 131072)
20:31:04: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:31:04: New Scene
20:31:04: Using bitmap image
20:31:56: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
20:31:56: New Scene
20:31:56: Using bitmap image
20:32:01: Total frames encoded: 2263, total frames duplicated: 577 (25.50%)
20:32:01: Total frames rendered: 1720, number of late frames: 501 (29.13%) (it's okay for some frames to be late)
20:32:01: RTMPPublisher::SocketLoop: Graceful loop exit
20:32:02: Average send payload: 2247 bytes, average send interval: 29 ms
20:32:02: Number of times waited to send: 0, Waited for a total of 0 bytes
20:32:02: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
20:32:02: Number of bytes sent: 5354120
20:32:02:
20:32:02: Profiler time results:
20:32:02:
20:32:02: ==============================================================
20:32:02: video thread frame - [100%] [avg time: 28.712 ms] [children: 97.5%] [unaccounted: 2.47%]
20:32:02: | scene->Preprocess - [1.93%] [avg time: 0.554 ms]
20:32:02: | GPU download and conversion - [95.6%] [avg time: 27.45 ms] [children: 96.4%] [unaccounted: -0.763%]
20:32:02: | | flush - [0.261%] [avg time: 0.075 ms]
20:32:02: | | CopyResource - [96%] [avg time: 27.571 ms]
20:32:02: | | conversion to 4:2:0 - [0.0801%] [avg time: 0.023 ms]
20:32:02: Convert444Threads - [100%] [avg time: 0.314 ms] [children: 97.1%] [unaccounted: 2.87%]
20:32:02: | Convert444toNV12 - [97.1%] [avg time: 0.305 ms]
20:32:02: encoder thread frame - [100%] [avg time: 0.745 ms]
20:32:02: ==============================================================
20:32:02:
20:32:02:
20:32:02: Profiler CPU results:
20:32:02:
20:32:02: ==============================================================
20:32:02: video thread frame - [cpu time: avg 2.893 ms, total 4976.43 ms] [avg calls per frame: 1]
20:32:02: | scene->Preprocess - [cpu time: avg 0.526 ms, total 904.805 ms] [avg calls per frame: 1]
20:32:02: | GPU download and conversion - [cpu time: avg 1.995 ms, total 3432.02 ms] [avg calls per frame: 1]
20:32:02: | | flush - [cpu time: avg 0.036 ms, total 62.4 ms] [avg calls per frame: 1]
20:32:02: | | CopyResource - [cpu time: avg 1.967 ms, total 3354.02 ms] [avg calls per frame: 1]
20:32:02: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
20:32:02: Convert444Threads - [cpu time: avg 0.233 ms, total 795.604 ms] [avg calls per frame: 2]
20:32:02: | Convert444toNV12 - [cpu time: avg 0.233 ms, total 795.604 ms] [avg calls per frame: 2]
20:32:02: encoder thread frame - [cpu time: avg 0.076 ms, total 171.601 ms] [avg calls per frame: 1]
20:32:02: ==============================================================
20:32:02:
20:32:02: =====Stream End: 2014-02-13, 20:32:02=================================================