Question / Help Dropping TONS of Frames.

Adorey

New Member
Hey, I've been trying to livestream in relatively nice quality for awhile now and decided to try OBS out, though the only problem I 'm having is the completely absurd amount of frames I'm dropping. My computer will run anything, it's fast and has no problems with FPS. It's just I'm dropping 30% of my frames or more. I at least managed to tone it down from 70% on my own, but I need some help on what I can do.

Here's an example of what I'm trying to stream:
http://www.twitch.tv/moolego/b/431146135

Here's the log:
20:56:52: Open Broadcaster Software v0.541b - 32bit (´・ω・`)
20:56:52: -------------------------------
20:56:52: CPU Name: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
20:56:52: CPU Speed: 3410MHz
20:56:52: Physical Memory: 4095MB Total, 4095MB Free
20:56:52: stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
20:56:52: monitor 1: pos={0, 0}, size={1920, 1080}
20:56:52: Windows Version: 6.1 Build 7601 S
20:56:52: Aero is Disabled
20:56:52: -------------------------------
20:56:52: OBS Modules:
20:56:52: Base Address Module
20:56:52: 012C0000 OBS.exe
20:56:52: 6EEF0000 OBSApi.dll
20:56:52: 70340000 DShowPlugin.dll
20:56:52: 734F0000 GraphicsCapture.dll
20:56:52: 706B0000 NoiseGate.dll
20:56:52: 70250000 PSVPlugin.dll
20:56:52: ------------------------------------------
20:56:52: Adapter 1
20:56:52: Video Adapter: AMD Radeon HD 7800 Series
20:56:52: Video Adapter Dedicated Video Memory: 2127765504
20:56:52: Video Adapter Shared System Memory: 2167136256
20:56:52: =====Stream Start: 2013-07-15, 20:56:52===============================================
20:56:52: Multithreaded optimizations: On
20:56:52: Base resolution: 1920x1080
20:56:52: Output resolution: 768x432
20:56:52: ------------------------------------------
20:56:52: Loading up D3D10...
20:56:52: Playback device Default
20:56:52: ------------------------------------------
20:56:52: Using desktop audio input: Speakers (Realtek High Definition Audio)
20:56:52: ------------------------------------------
20:56:52: Using auxilary audio input: Microphone (Realtek High Definition Audio)
20:56:52: ------------------------------------------
20:56:52: Audio Encoding: AAC
20:56:52: bitrate: 128
20:56:52: Using graphics capture
20:56:52: ------------------------------------------
20:56:52: Video Encoding: x264
20:56:52: fps: 30
20:56:52: width: 768, height: 432
20:56:52: preset: veryfast
20:56:52: CBR: no
20:56:52: CFR: no
20:56:52: max bitrate: 3000
20:56:52: buffer size: 3000
20:56:52: quality: 5
20:56:52: ------------------------------------------
20:56:52: SharedTexCapture hooked
20:56:53: Using RTMP service: Twitch / Justin.tv
20:56:53: Server selection: rtmp://live-lax.justin.tv/app
20:56:54: SO_SNDBUF was at 8192
20:56:54: SO_SNDBUF is now 65536
20:57:09: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 131072
20:57:58: RTMPPublisher::BufferedSend: Increasing socket send buffer to ISB 262144
20:59:49: Total frames rendered: 5292, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
20:59:49: RTMPPublisher::SocketLoop: Aborting due to loop exit
20:59:49: librtmp error: WriteN, RTMP send error 10035 (79 bytes)
20:59:49: librtmp error: WriteN, RTMP send error 10038 (42 bytes)
20:59:49: Number of times waited to send: 55, Waited for a total of 178039 bytes
20:59:49: Number of b-frames dropped: 378 (7.3%), Number of p-frames dropped: 1651 (32%), Total 2029 (39%)
20:59:49: =====Stream End: 2013-07-15, 20:59:49=================================================
21:05:53:
21:05:53: Profiler results:
21:05:53:
21:05:53: ==============================================================
21:05:53: frame - [100%] [avg time: 0.712 ms (cpu time: avg 0.551 ms, total 2917.21 ms)] [avg calls per frame: 1] [children: 58.1%] [unaccounted: 41.9%]
21:05:53: | scene->Preprocess - [0.14%] [avg time: 0.001 ms (cpu time: avg 0 ms, total 0 ms)] [avg calls per frame: 1]
21:05:53: | video encoding and uploading - [58%] [avg time: 0.413 ms (cpu time: avg 0.362 ms, total 1918.81 ms)] [avg calls per frame: 1] [children: 52.8%] [unaccounted: 5.2%]
21:05:53: | | CopyResource - [0.983%] [avg time: 0.007 ms (cpu time: avg 0.002 ms, total 15.6 ms)] [avg calls per frame: 0]
21:05:53: | | conversion to 4:2:0 - [0.702%] [avg time: 0.005 ms (cpu time: avg 0.008 ms, total 46.801 ms)] [avg calls per frame: 0]
21:05:53: | | call to encoder - [49.2%] [avg time: 0.35 ms (cpu time: avg 0.324 ms, total 1716.01 ms)] [avg calls per frame: 0]
21:05:53: | | sending stuff out - [1.97%] [avg time: 0.014 ms (cpu time: avg 0.008 ms, total 46.8 ms)] [avg calls per frame: 0]
21:05:53: | Convert444Threads - [9.34e+003%] [avg time: 66.526 ms (cpu time: avg 0.277 ms, total 1466.41 ms)] [avg calls per frame: 1]
21:05:53: ==============================================================
21:05:53:

http://testmy.net/KM9g3qx.png
http://testmy.net/db/KM9g3qx
http://www.speedtest.net/my-result/2839348635

If you guys can help me out, I'd really appreciate it.
 

Gol D. Ace

Member
Ok first dropped frames develop when your Internet connection can't handle the bit-rate you have set or the connection is unstable.

Your speed test's showing an upload of 0,9 mbit. You're trying to stream with 3000 kbps which equals ~3 mbit.
So yeah dropping frames is normal in that case.

Streaming with such an low upload is depending on the games you stream not the best.

Try lowering your bitrate to about 700ish or lower.
 

R1CH

Forum Admin
Developer
Lower your resolution and FPS, you definitely not not have the bitrate for 1080p60.
 

Gol D. Ace

Member
R1CH said:
Lower your resolution and FPS, you definitely not not have the bitrate for 1080p60.

He isn't .

20:56:52: Base resolution: 1920x1080
20:56:52: Output resolution: 768x432

He is also not streaming with 60 FPS. Wrong thread maybe?


Well, that seemed to work to solve the dropping of frames, but I think by turning down the birate it made the quality a bit, fuzzy? I suppose.

http://www.twitch.tv/moolego/b/431165058

You can't really expect first class quality with your bitrate.

High motion game with low bitrate = pixelated

You can try lowering your resolution and see If this helps.
 

Adorey

New Member
If I were to set OBS to simply save the recording as a file and upload it to youtube, would I still have these issues? I'm thinking I'd be okay since it's not actually streaming, just recording.
 

z0rz

Member
Local recording would allow you to increase the quality big time since you won't be as constrained by bitrate, but remember: you still have to eventually upload it if you want people to see it. Higher bitrate = larger file = more time spent uploading.

The math probably doesn't 100% work like this if you aren't using CBR, plus other compression related stuff, but hopefully it's close enough to reality. Your max upload seems to be ~1000kbps, so you could:

1- Stream for 3 hours at 900kbps. By the end of the stream you would have sent a ~1215MB file to Twitch.
2- Record locally for 3 hours at 2700kbps. After the 3 hours, you'll have a ~3645MB file to upload which would take 3x as long to upload (~9 hours).

If you don't mind uploading in the background (maybe do it while you're sleeping), local recording could be a better option. But you lose out on the possibility to interact with your viewers live. Depends on what you value more.
 
Top