Question / Help My stream drops fps a lot!

zer0minator

New Member
My stream is lagging alot! But on my pc im not lagging at all!
My download and upload speed is like on 32 mbps
LOG:
Code:
18:06:05: =====Stream Start: 2014-11-13, 18:06:05===============================================
18:06:05:   Multithreaded optimizations: On
18:06:05:   Base resolution: 1920x1080
18:06:05:   Output resolution: 1280x720
18:06:05: ------------------------------------------
18:06:05: Loading up D3D10 on NVIDIA GeForce GTX 660 (Adapter 1)...
18:06:05: ------------------------------------------
18:06:05: Audio Format: 48000 Hz
18:06:05: ------------------------------------------
18:06:05: Audio Channels: 2 Ch
18:06:05: Playback device {0.0.0.00000000}.{dca9384d-430a-46d9-b1b8-5f66c7c67e3f}
18:06:05: ------------------------------------------
18:06:05: Using desktop audio input: Høyttalere (Realtek High Definition Audio)
18:06:05: Global Audio time adjust: 0
18:06:05: ------------------------------------------
18:06:05: Using auxilary audio input: Mikrofon (Yeti Stereo Microphone)
18:06:05: Mic time offset: 0
18:06:05: ------------------------------------------
18:06:05: Audio Encoding: AAC
18:06:05:     bitrate: 128
18:06:05: Using graphics capture
18:06:05: Trying to hook process: javaw.exe
18:06:05: Scene buffering time set to 400
18:06:05: ------------------------------------------
18:06:05: Video Encoding: x264
18:06:05:     fps: 60
18:06:05:     width: 1280, height: 720
18:06:05:     preset: medium
18:06:05:     profile: main
18:06:05:     keyint: 120
18:06:05:     CBR: yes
18:06:05:     CFR: yes
18:06:05:     max bitrate: 1300
18:06:05:     buffer size: 1300
18:06:05: ------------------------------------------
18:06:05: SharedTexCapture hooked
18:06:06: Using RTMP service: Twitch
18:06:06:   Server selection: rtmp://live-ams.twitch.tv/app
18:06:06:   Interface: Realtek PCIe GBE Family Controller (ethernet, 100 mbps)
18:06:07: Completed handshake with rtmp://live-ams.twitch.tv/app in 891 ms.
18:06:08: SO_SNDBUF was at 8192
18:06:08: SO_SNDBUF is now 65536
Warning -- DShowPlugin: Invalid audio device: name '(null)', path '(null)'
18:06:18: DShowPlugin: No audio pin, result = 80004005
18:06:18: ------------------------------------------
18:06:18:     device: Logitech HD Webcam C310,
18:06:18:     device id \\?\usb#vid_046d&pid_081b&mi_00#6&3392f2c1&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
18:06:18:     chosen type: I420, usingFourCC: false, res: 176x144 - 176x144, frameIntervals: 333333-2000000
18:06:18:     use buffering: false - 0, fourCC: 'I420'
18:06:18:     audio device: (null),
18:06:18:     audio device id (null),
18:06:18:     audio time offset 0,
18:06:18:
18:06:18: Using directshow input
18:07:33: Total frames encoded: 5234, total frames duplicated: 803 (15.34%)
18:07:33: Number of frames skipped due to encoder lag: 620 (11.85%)
18:07:33: Total frames rendered: 4569, number of late frames: 39 (0.85%) (it's okay for some frames to be late)
18:07:33: ~RTMPPublisher: Packet flush completed in 91 ms
18:07:33: ~RTMPPublisher: Send thread terminated in 0 ms
18:07:33: RTMPPublisher::SocketLoop: Graceful loop exit
18:07:33: ~RTMPPublisher: Socket thread terminated in 0 ms
18:07:33:
18:07:33: Profiler time results:
18:07:33:
18:07:33: ==============================================================
18:07:33: video thread frame - [100%] [avg time: 1.443 ms] [children: 25.4%] [unaccounted: 74.6%]
18:07:33: | scene->Preprocess - [1.39%] [avg time: 0.02 ms]
18:07:33: | GPU download and conversion - [24%] [avg time: 0.346 ms] [children: 14.1%] [unaccounted: 9.91%]
18:07:33: | | flush - [9.36%] [avg time: 0.135 ms]
18:07:33: | | CopyResource - [4.5%] [avg time: 0.065 ms]
18:07:33: | | conversion to 4:2:0 - [0.208%] [avg time: 0.003 ms]
18:07:33: Convert444Threads - [100%] [avg time: 0.471 ms] [children: 98.7%] [unaccounted: 1.27%]
18:07:33: | Convert444toNV12 - [98.7%] [avg time: 0.465 ms]
18:07:33: encoder thread frame - [100%] [avg time: 4.448 ms] [children: 0.36%] [unaccounted: 99.6%]
18:07:33: | sending stuff out - [0.36%] [avg time: 0.016 ms]
18:07:33: ==============================================================
18:07:33:
18:07:33:
18:07:33: Profiler CPU results:
18:07:33:
18:07:33: ==============================================================
18:07:33: video thread frame - [cpu time: avg 0.262 ms, total 1201.21 ms] [avg calls per frame: 1]
18:07:33: | scene->Preprocess - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:07:33: | GPU download and conversion - [cpu time: avg 0.061 ms, total 280.802 ms] [avg calls per frame: 1]
18:07:33: | | flush - [cpu time: avg 0.047 ms, total 218.401 ms] [avg calls per frame: 1]
18:07:33: | | CopyResource - [cpu time: avg 0.006 ms, total 31.2 ms] [avg calls per frame: 1]
18:07:33: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
18:07:33: Convert444Threads - [cpu time: avg 0.443 ms, total 4024.83 ms] [avg calls per frame: 2]
18:07:33: | Convert444toNV12 - [cpu time: avg 0.438 ms, total 3978.03 ms] [avg calls per frame: 2]
18:07:33: encoder thread frame - [cpu time: avg 0.536 ms, total 2808.02 ms] [avg calls per frame: 1]
18:07:33: | sending stuff out - [cpu time: avg 0.005 ms, total 31.2 ms] [avg calls per frame: 1]
18:07:33: ==============================================================
18:07:33:
18:07:33: =====Stream End: 2014-11-13, 18:07:33=================================================
18:07:43: ~RTMPPublisher: Final socket shutdown completed in 10198 ms
18:07:43: Average send payload: 3495 bytes, average send interval: 20 ms
18:07:43: Number of times waited to send: 0, Waited for a total of 0 bytes
18:07:43: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
18:07:43: Number of bytes sent: 14670608
18:09:11: Terminating 0x14e8
18:09:11: Terminating 0x2354
18:09:11: Terminating 0x2230
18:09:11: Terminating 0x223c
18:09:11: Terminating 0x22d0
18:09:11: Terminating 0x19c8
18:09:11: Terminating 0x1fe8
18:09:11: Terminating 0x2288
18:09:11: Terminating 0x1d34
18:09:11: Terminating 0x1e7c
18:09:11: Terminating 0x8b4


Last game capture log:
2014-11-13, 17:52:32: we're booting up:
17:52:32: CaptureThread: attached to process javaw.exe
17:52:32: D3D9 Present
17:52:32: GL Present
17:52:32: DirectDraw Present
17:52:32: (half life scientist) everything..  seems to be in order
17:52:32: SwapBuffers(2415990374) Called
17:52:32: NV Capture available
17:52:32: FBO available
17:52:32: setting up gl data
17:52:32: share device: 986788156
17:52:32: share texture: 1354267384
17:52:32: share device handle: 4164501454
17:52:32: share texture handle: 2208425050
17:52:32: DoGLGPUHook: success
17:52:32: wglSwapBuffers(2415990374) Called
17:52:41: stop requested, terminating gl capture
17:52:41: ---------------------- Cleared OpenGL Capture ----------------------
17:52:41: wglSwapBuffers(2415990374) Called
17:52:41: setting up gl data
17:52:41: SwapBuffers(2415990374) Called
17:54:06: share device: 986788156
17:54:06: share texture: 1354267384
17:54:06: share device handle: 4164501454
17:54:06: share texture handle: 2208425050
17:54:06: DoGLGPUHook: success
17:58:03: stop requested, terminating gl capture
17:58:03: ---------------------- Cleared OpenGL Capture ----------------------
17:58:03: wglSwapBuffers(2415990374) Called
17:58:03: setting up gl data
17:58:03: SwapBuffers(2415990374) Called
18:01:01: share device: 986788156
18:01:01: share texture: 1186744440
18:01:01: share device handle: 4164501454
18:01:01: share texture handle: 2257506930
18:01:01: DoGLGPUHook: success
18:01:34: stop requested, terminating gl capture
18:01:34: ---------------------- Cleared OpenGL Capture ----------------------
18:01:34: wglSwapBuffers(2415990374) Called
18:01:34: setting up gl data
18:01:34: SwapBuffers(2415990374) Called
18:01:36: share device: 986788156
18:01:36: share texture: 1186744440
18:01:36: share device handle: 4164501454
18:01:36: share texture handle: 2257506930
18:01:36: DoGLGPUHook: success
18:04:09: stop requested, terminating gl capture
18:04:09: ---------------------- Cleared OpenGL Capture ----------------------
18:04:09: wglSwapBuffers(2415990374) Called
18:04:09: setting up gl data
18:04:09: SwapBuffers(2415990374) Called
18:04:21: share device: 986788156
18:04:21: share texture: 1186744440
18:04:21: share device handle: 4164497710
18:04:21: share texture handle: 2257506930
18:04:21: DoGLGPUHook: success
18:05:36: stop requested, terminating gl capture
18:05:36: ---------------------- Cleared OpenGL Capture ----------------------
18:05:36: wglSwapBuffers(2415990374) Called
18:05:36: setting up gl data
18:05:36: SwapBuffers(2415990374) Called
18:06:05: share device: 986788156
18:06:05: share texture: 1186744440
18:06:05: share device handle: 4164501454
18:06:05: share texture handle: 2257506930
18:06:05: DoGLGPUHook: success
18:07:33: stop requested, terminating gl capture
18:07:33: ---------------------- Cleared OpenGL Capture ----------------------
18:07:33: wglSwapBuffers(2415990374) Called
18:07:33: setting up gl data
18:07:33: SwapBuffers(2415990374) Called
 
Last edited by a moderator:

H4ndy

Forum Moderator
Please attach a complete log file, this one is missing your computer information and includes no dropped frames. Also your CPU is probably to slow to encode 720p60 since you get massive amounts of skipped frames.
 

zer0minator

New Member
Download this file here
I got a nice pc with no lag but when i stream it lags on the stream! :(
 

Attachments

  • 2014-11-13-1710-23.log
    60.7 KB · Views: 19

H4ndy

Forum Moderator
First:
Your CPU *cannot* handle the CPU-preset "medium", set it back to "veryfast" under Settings > Advanced and you should be fine with.

Second:
Your settings are not Twitch-compatible, you should see a lot of warnings in the settings dialog, enable CBR and CFR.
Also set scene buffering back to 700.

If you only want to record locally, use the following guide:
https://obsproject.com/forum/resources/how-to-make-high-quality-local-recordings.16/

If you don't know what all this means, check out the overview guide:
http://obsproject.com/forum/threads/official-overview-guide.402/
 
Top