Question / Help FPS drop

Mike21Daisu

New Member
My friend drops FPS when he's streaming, the sound doesn't lag, he just drops FPS, he tried to stream in 25 fps/30 fps, he set keyint to 60/ then 30 then 50 then 25, still drops fps, he has 2 GB Ram, but I think he can handle 480p stream, can't he?

And he can't get rid of this error: Advanced Settings: Set keyframe interval of 2 seconds...

I'm confused, it worked for me like this before, now I have that problem as well, I think it came with the update 'cause it was okay earlier.
 

Mike21Daisu

New Member
Log of my friend.

21:13:12: Open Broadcaster Software v0.552b - 32bit (´・ω・`)
21:13:12: -------------------------------
21:13:12: CPU Name: Pentium(R) Dual-Core CPU E6600 @ 3.06GHz
21:13:12: CPU Speed: 3066MHz
21:13:12: Physical Memory: 2046MB Total, 719MB Free
21:13:12: stepping id: 10, model 7, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 2, total cores 2
21:13:12: monitor 1: pos={0, 0}, size={1360, 768}
21:13:12: monitor 2: pos={1360, 0}, size={1024, 768}
21:13:12: Windows Version: 6.1 Build 7601 S
21:13:12: Aero is Disabled
21:13:12: -------------------------------
21:13:12: OBS Modules:
21:13:12: Base Address Module
21:13:12: 01330000 OBS.exe
21:13:12: 5A0F0000 OBSApi.dll
21:13:12: 6ECD0000 DShowPlugin.dll
21:13:12: 6ED30000 GraphicsCapture.dll
21:13:12: 73070000 NoiseGate.dll
21:13:12: 6EBD0000 PSVPlugin.dll
21:13:12: ------------------------------------------
21:13:12: Adapter 1
21:13:12: Video Adapter: ATI Radeon HD 4300/4500 Series
21:13:12: Video Adapter Dedicated Video Memory: 1068486656
21:13:12: Video Adapter Shared System Memory: 804515840
21:13:12: =====Stream Start: 2013-08-24, 21:13:12===============================================
21:13:12: Multithreaded optimizations: On
21:13:12: Base resolution: 1360x768
21:13:12: Output resolution: 904x512
21:13:12: ------------------------------------------
21:13:12: Loading up D3D10 on ATI Radeon HD 4300/4500 Series...
21:13:12: Playback device Default
21:13:12: ------------------------------------------
21:13:12: Using desktop audio input: Ηχεία (2- Realtek High Definition Audio)
21:13:12: ------------------------------------------
21:13:12: Using auxilary audio input: Μικρόφωνο (HD Webcam C310)
21:13:12: ------------------------------------------
21:13:12: Audio Encoding: MP3
21:13:12: bitrate: 128
21:13:12: Using custom x264 settings: "keyint=25"
21:13:12: ------------------------------------------
21:13:12: Video Encoding: x264
21:13:12: fps: 25
21:13:12: width: 904, height: 512
21:13:12: preset: ultrafast
21:13:12: CBR: yes
21:13:12: CFR: no
21:13:12: max bitrate: 1200
21:13:12: ------------------------------------------
 

Mike21Daisu

New Member
Btw, this happened to everyone who I know that uses OBS... It could be because of the update... everything was fine few days ago.
 

Kharay

Member
Mike21Daisu said:
I have no idea what to copy there or what to do with it on that website... can you be more specific?
The link I posted in my first reply did include said information. Regardless, just copy the contents of the entire log to your clipboard (CTRL+A -> CTRL+C), go to pastebin.com, click anywhere on the large empty field, Paste (CTRL+V), hit Submit, wait for the page to finish reloading, copy the link (address bar) and copy that link into a message here.
 

Mike21Daisu

New Member
Open Broadcaster Software v0.552b - 32bit (´・ω・`)

01:14:29: -------------------------------

01:14:29: CPU Name: Pentium(R) Dual-Core CPU E6600 @ 3.06GHz

01:14:29: CPU Speed: 3066MHz

01:14:29: Physical Memory: 2046MB Total, 540MB Free

01:14:29: stepping id: 10, model 7, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 2, total cores 2

01:14:29: monitor 1: pos={0, 0}, size={1360, 768}

01:14:29: monitor 2: pos={1360, 0}, size={1024, 768}

01:14:29: Windows Version: 6.1 Build 7601 S

01:14:29: Aero is Disabled

01:14:29: -------------------------------

01:14:29: OBS Modules:

01:14:29: Base Address Module

01:14:29: 01200000 OBS.exe

01:14:29: 59CB0000 OBSApi.dll

01:14:29: 65510000 DShowPlugin.dll

01:14:29: 6B540000 GraphicsCapture.dll

01:14:29: 6B470000 NoiseGate.dll

01:14:29: 648F0000 PSVPlugin.dll

01:14:29: ------------------------------------------

01:14:29: Adapter 1

01:14:29: Video Adapter: ATI Radeon HD 4300/4500 Series

01:14:29: Video Adapter Dedicated Video Memory: 1068486656

01:14:29: Video Adapter Shared System Memory: 804515840

01:14:29: =====Stream Start: 2013-08-25, 01:14:29===============================================

01:14:29: Multithreaded optimizations: On

01:14:29: Base resolution: 1360x768

01:14:29: Output resolution: 904x512

01:14:29: ------------------------------------------

01:14:29: Loading up D3D10 on ATI Radeon HD 4300/4500 Series...

01:14:30: Playback device Default

01:14:30: ------------------------------------------

01:14:30: Using desktop audio input: Ηχεία (2- Realtek High Definition Audio)

01:14:30: ------------------------------------------

01:14:30: Using auxilary audio input: Μικρόφωνο (HD Webcam C310)

01:14:30: ------------------------------------------

01:14:30: Audio Encoding: MP3

01:14:30: bitrate: 128

01:14:30: Using custom x264 settings: "keyint=25"

01:14:30: ------------------------------------------

01:14:30: Video Encoding: x264

01:14:30: fps: 25

01:14:30: width: 904, height: 512

01:14:30: preset: ultrafast

01:14:30: CBR: yes

01:14:30: CFR: no

01:14:30: max bitrate: 1200

01:14:30: ------------------------------------------

01:14:30: MMDeviceAudioSource: Frequency for device 'Ηχεία (2- Realtek High Definition Audio)' is 384000, samples per sec is 48000

01:14:30: MMDeviceAudioSource: Frequency for device 'Μικρόφωνο (HD Webcam C310)' is 192000, samples per sec is 48000

01:14:31: ++++++++++++++++++++++++++++++++++++++++++++++++++++++

01:14:31: New Scene

01:14:31: Using Monitor Capture

01:14:31: Using RTMP service: Twitch / Justin.tv

01:14:31: Server selection: rtmp://live-ams.justin.tv/app

01:14:32: Interface: ᨫ USB ©ç¨£«¦¬ LAN 802.11 (802.11, 174 mbps)

01:14:35: SO_SNDBUF was at 8192

01:14:35: SO_SNDBUF is now 65536

01:21:12: Total frames rendered: 9473, number of late frames: 965 (10.19%) (it's okay for some frames to be late)

01:21:15: RTMPPublisher::SocketLoop: Graceful loop exit

01:21:19: Number of times waited to send: 236, Waited for a total of 837782 bytes

01:21:19: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 6271 (67%), Total 6271 (67%)

01:21:19:

01:21:19: Profiler results:

01:21:19:

01:21:19: ==============================================================

01:21:19: frame - [100%] [avg time: 28.297 ms (cpu time: avg 7.494 ms, total 70996.1 ms)] [avg calls per frame: 1] [children: 100%] [unaccounted: 0.0212%]

01:21:19: | frame preprocessing and rendering - [89%] [avg time: 25.19 ms (cpu time: avg 5.58 ms, total 52868.8 ms)] [avg calls per frame: 1] [children: 87.6%] [unaccounted: 1.37%]

01:21:19: | | scene->Preprocess - [87.6%] [avg time: 24.802 ms (cpu time: avg 5.381 ms, total 50981.1 ms)] [avg calls per frame: 1]

01:21:19: | video encoding and uploading - [11%] [avg time: 3.101 ms (cpu time: avg 1.913 ms, total 18127.3 ms)] [avg calls per frame: 1] [children: 10.3%] [unaccounted: 0.686%]

01:21:19: | | flush - [0.622%] [avg time: 0.176 ms (cpu time: avg 0.149 ms, total 1419.61 ms)] [avg calls per frame: 1]

01:21:19: | | CopyResource - [0.0848%] [avg time: 0.024 ms (cpu time: avg 0.029 ms, total 280.802 ms)] [avg calls per frame: 0]

01:21:19: | | conversion to 4:2:0 - [1.76%] [avg time: 0.498 ms (cpu time: avg 0.006 ms, total 62.401 ms)] [avg calls per frame: 0]

01:21:19: | | call to encoder - [7.12%] [avg time: 2.014 ms (cpu time: avg 1.646 ms, total 15600.1 ms)] [avg calls per frame: 0]

01:21:19: | | sending stuff out - [0.689%] [avg time: 0.195 ms (cpu time: avg 0.065 ms, total 624.006 ms)] [avg calls per frame: 0]

01:21:19: | Convert444Threads - [149%] [avg time: 42.29 ms (cpu time: avg 1.51 ms, total 14305.3 ms)] [avg calls per frame: 0]

01:21:19: ==============================================================

01:21:19:

01:21:19: =====Stream End: 2013-08-25, 01:21:19=================================================
 

Kharay

Member
... I said, post the link... not the whole log. :S

Regardless, that log shows both late frames as well as dropped frames. Late frames hint at the PC having trouble keeping up, dropped frames hint at the connection having trouble keeping up. Also, there is no more need to use keyint. OBS currently has a control to specify the exact keyframe interval without having to use a custom x264 setting.

Having said that -- don't use Monitor Capture, period. It is easily the slowest capture method and even if there are some configurations out there on which it does work, that PC is just too old to show any kind of respectable performance while using Monitor Capture. Just Enable Aero and stick with Window Capture or Game Capture or a combination of both if using multiple sources. That should take care of the late frames.

As far as the dropped frames are concerned -- run a test here, making sure to pick a test server that is near the server you have been streaming to. So an accurate maximum bitrate can be determined, because the dropped frames in that log are just completely out of control.
 

Mike21Daisu

New Member
OBS still displays this error:
WARNING: Your OBS settings are not optimized for use with Twitch/Justin.TV. Please set the following: advanced settings: set a keyframe interval of 2 seconds.

The results are the same.

P.S. it only does this frame drops on Twitch TV, don't know why, but it does only there.
 

Kharay

Member
So, set the keyframe interval to 2 seconds.

Settings -> Advanced -> Keyframe Interval. Set it to 2 and remove any keyint you have specified manually in the Custom x264 Settings.
 
Top