Question / Help Question about fps settings.

Hi,

perhaps a stupid question but how does the program handle the FPS of different sources?

The reason i ask is because i have set 1920*1080@60 fps in the settings to stream a game.
and it keeps hanging on 30 fps in the statusbar.

Somtimes i notice that the webcam source is "hanging" (frozen image) and at those moments the FPS count will go to the 60 FPS. And when the webcam is normal again the fps also drops back to 30.

It seem like obs automaticly selects the lowest fps of the sourses that is available (or set) and uses that as the max setting for the total broadcast.

Or is this just happening on my installation?
 

Kharay

Member
Two things:
  • Could you post a log?
  • Don't stream in 1080p@60 FPS. It is quite heavy on your resources and bandwidth. You're better off streaming either in 720p@60 FPS or 1080p@30 FPS.
 
Code:
21:06:45: Open Broadcaster Software v0.542b - 64bit ( ^ω^)
21:06:45: -------------------------------
21:06:45: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
21:06:45: CPU Speed: 3332MHz
21:06:45: Physical Memory:  8159MB Total, 4234MB Free
21:06:45: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
21:06:45: monitor 1: pos={0, 0}, size={1920, 1080}
21:06:45: monitor 2: pos={-1280, 33}, size={1280, 1024}
21:06:45: Windows Version: 6.1 Build 7601 S
21:06:45: Aero is Enabled
21:06:45: -------------------------------
21:06:45: OBS Modules:
21:06:45: Base Address     Module
21:06:45: 000000003F510000 OBS.exe
21:06:45: 00000000E6730000 OBSApi.dll
21:06:45: 00000000F34B0000 DShowPlugin.dll
21:06:45: 00000000F3460000 GraphicsCapture.dll
21:06:45: 00000000EF730000 NoiseGate.dll
21:06:45: 00000000ECF50000 PSVPlugin.dll
21:06:45: 00000000ECF30000 scenesw.dll
21:06:45: ------------------------------------------
21:06:45: Adapter 1
21:06:45:   Video Adapter: NVIDIA GeForce GTX 560 Ti  
21:06:45:   Video Adapter Dedicated Video Memory: 1025966080
21:06:45:   Video Adapter Shared System Memory: 3220779008
21:06:45: =====Stream Start: 2013-07-25, 21:06:45===============================================
21:06:45:   Multithreaded optimizations: On
21:06:45:   Base resolution: 1920x1080
21:06:45:   Output resolution: 1280x720
21:06:45: ------------------------------------------
21:06:45: Loading up D3D10...
21:06:45: Playback device {0.0.0.00000000}.{ec118582-431d-43b3-93a7-50cf9c8a9acb}
21:06:45: ------------------------------------------
21:06:45: Using desktop audio input: Luidsprekers (Realtek High Definition Audio)
21:06:45: Using 5.1 speaker setup
21:06:45: ------------------------------------------
21:06:45: Using auxilary audio input: Microfoon (Realtek High Definition Audio)
21:06:45: ------------------------------------------
21:06:45: Audio Encoding: AAC
21:06:45:     bitrate: 128
21:06:45: Using Monitor Capture
21:06:45: Using text output
21:06:45: Using text output
21:06:45: ------------------------------------------
21:06:45:     device: Logitech QuickCam Pro 9000,
21:06:45:     device id \\?\usb#vid_046d&pid_0990&mi_00#7&322d27b4&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
21:06:45:     chosen type: I420, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000, fourCC: 'I420'
21:06:45:     audio device: Uitzetten,
21:06:45:     audio device id Disabled,
21:06:45: 
21:06:45: Using directshow input
21:06:45: Using bitmap image
21:06:45: ------------------------------------------
21:06:45: Video Encoding: x264
21:06:45:     fps: 60
21:06:45:     width: 1280, height: 720
21:06:45:     preset: veryfast
21:06:45:     CBR: yes
21:06:45:     CFR: no
21:06:45:     max bitrate: 2000
21:06:45: ------------------------------------------
Warning -- TextSource::UpdateTexture: could not open specified file (invalid file name or access violation)
21:06:47: Using RTMP service: Twitch / Justin.tv
21:06:47:   Server selection: rtmp://live-lhr-backup.justin.tv/app
21:06:50: SO_SNDBUF was at 8192
21:06:50: SO_SNDBUF is now 65536
21:07:36: x264: VBV parameters cannot be changed when NAL HRD is in use
21:08:27: Total frames rendered: 3610, number of frames that lagged: 2550 (70.64%) (it's okay for some frames to lag)
21:08:27: RTMPPublisher::SocketLoop: Aborting due to bStopping
21:08:27: Number of times waited to send: 0, Waited for a total of 0 bytes
21:08:27: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
21:08:27: =====Stream End: 2013-07-25, 21:08:27=================================================
21:08:27: 
21:08:27: Profiler results:
21:08:27: 
21:08:27: ==============================================================
21:08:27: frame - [100%] [avg time: 27.737 ms (cpu time: avg 5.181 ms, total 18704.5 ms)] [avg calls per frame: 1] [children: 100%] [unaccounted: 0.0108%]
21:08:27: | frame preprocessing and rendering - [96.1%] [avg time: 26.66 ms (cpu time: avg 4.26 ms, total 15381.7 ms)] [avg calls per frame: 1] [children: 94.5%] [unaccounted: 1.59%]
21:08:27: | | scene->Preprocess - [94.5%] [avg time: 26.22 ms (cpu time: avg 3.932 ms, total 14196.1 ms)] [avg calls per frame: 1]
21:08:27: | video encoding and uploading - [3.87%] [avg time: 1.074 ms (cpu time: avg 0.92 ms, total 3322.82 ms)] [avg calls per frame: 1] [children: 3.78%] [unaccounted: 0.0901%]
21:08:27: | | flush - [0.364%] [avg time: 0.101 ms (cpu time: avg 0.03 ms, total 109.2 ms)] [avg calls per frame: 1]
21:08:27: | | CopyResource - [0.0757%] [avg time: 0.021 ms (cpu time: avg 0.008 ms, total 31.2 ms)] [avg calls per frame: 0]
21:08:27: | | conversion to 4:2:0 - [0.0108%] [avg time: 0.003 ms (cpu time: avg 0.008 ms, total 31.2 ms)] [avg calls per frame: 0]
21:08:27: | | call to encoder - [3.3%] [avg time: 0.914 ms (cpu time: avg 0.834 ms, total 3010.82 ms)] [avg calls per frame: 0]
21:08:27: | | sending stuff out - [0.0361%] [avg time: 0.01 ms (cpu time: avg 0.008 ms, total 31.2 ms)] [avg calls per frame: 0]
21:08:27: | Convert444Threads - [201%] [avg time: 55.676 ms (cpu time: avg 0.976 ms, total 3525.62 ms)] [avg calls per frame: 1]
21:08:27: ==============================================================
21:08:27:

and a secnd one

Code:
21:10:00: Open Broadcaster Software v0.542b - 64bit ( ^ω^)
21:10:00: -------------------------------
21:10:00: CPU Name: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
21:10:00: CPU Speed: 3332MHz
21:10:00: Physical Memory:  8159MB Total, 4984MB Free
21:10:00: stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
21:10:00: monitor 1: pos={0, 0}, size={1920, 1080}
21:10:00: monitor 2: pos={-1280, 33}, size={1280, 1024}
21:10:00: Windows Version: 6.1 Build 7601 S
21:10:00: Aero is Enabled
21:10:00: -------------------------------
21:10:00: OBS Modules:
21:10:00: Base Address     Module
21:10:00: 000000003FBE0000 OBS.exe
21:10:00: 00000000E66B0000 OBSApi.dll
21:10:00: 00000000F3450000 DShowPlugin.dll
21:10:00: 00000000F34C0000 GraphicsCapture.dll
21:10:00: 00000000EE2A0000 NoiseGate.dll
21:10:00: 00000000EF730000 PSVPlugin.dll
21:10:00: 00000000EE280000 scenesw.dll
21:10:00: ------------------------------------------
21:10:00: Adapter 1
21:10:00:   Video Adapter: NVIDIA GeForce GTX 560 Ti  
21:10:00:   Video Adapter Dedicated Video Memory: 1025966080
21:10:00:   Video Adapter Shared System Memory: 3220779008
21:10:00: =====Stream Start: 2013-07-25, 21:10:00===============================================
21:10:00:   Multithreaded optimizations: On
21:10:00:   Base resolution: 1920x1080
21:10:00:   Output resolution: 1920x1080
21:10:00: ------------------------------------------
21:10:00: Loading up D3D10...
21:10:00: Playback device {0.0.0.00000000}.{ec118582-431d-43b3-93a7-50cf9c8a9acb}
21:10:00: ------------------------------------------
21:10:00: Using desktop audio input: Luidsprekers (Realtek High Definition Audio)
21:10:00: Using 5.1 speaker setup
21:10:00: ------------------------------------------
21:10:00: Using auxilary audio input: Microfoon (Realtek High Definition Audio)
21:10:00: ------------------------------------------
21:10:00: Audio Encoding: AAC
21:10:00:     bitrate: 128
21:10:00: Using Monitor Capture
21:10:00: Using text output
21:10:00: Using text output
21:10:00: ------------------------------------------
21:10:00:     device: Logitech QuickCam Pro 9000,
21:10:00:     device id \\?\usb#vid_046d&pid_0990&mi_00#7&322d27b4&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
21:10:00:     chosen type: I420, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-2000000, fourCC: 'I420'
21:10:00:     audio device: Uitzetten,
21:10:00:     audio device id Disabled,
21:10:00: 
21:10:00: Using directshow input
21:10:00: Using bitmap image
21:10:00: ------------------------------------------
21:10:00: Video Encoding: x264
21:10:00:     fps: 60
21:10:00:     width: 1920, height: 1080
21:10:00:     preset: veryfast
21:10:00:     CBR: yes
21:10:00:     CFR: no
21:10:00:     max bitrate: 3000
21:10:00: ------------------------------------------
Warning -- TextSource::UpdateTexture: could not open specified file (invalid file name or access violation)
21:10:02: Using RTMP service: Twitch / Justin.tv
21:10:02:   Server selection: rtmp://live-lhr-backup.justin.tv/app
21:10:04: SO_SNDBUF was at 8192
21:10:04: SO_SNDBUF is now 65536
21:26:30: Total frames rendered: 34098, number of frames that lagged: 27597 (80.93%) (it's okay for some frames to lag)

cpu will oc to 4.2 on demand buffers are on 3000 (both) and down/up is 100/10 mbit.

i tried 720@60 fps just now and it does that for a few seconds and then bam back to the 30 fps.
I even removed my webcam as global recource to see if that was the issue but that didnt help.
 

Krazy

Town drunk
Even better suggestion: Leave Aero on and use Window Capture or Game Capture. Monitor Capture is super slow on Windows 7
 
@ gwkalrod Thanks that solves that issue. it stays now on 60.

@ Krazy Thanks for the tip but i use that monitor capture only when im not ingame.
i have the auto scene switcher plugin active and it only uses the monitor capture when im tabbed out.
But out of curiosity : would that also solve the limited fps issue that i encounter?
 

dodgepong

Administrator
Community Helper
Due to the way Monitor capture works, if Aero is enabled, your frames will be limited to around 20-ish FPS. Monitor capture is the worst capture method and I really recommend you try to use something else if you can. If you absolutely must use Monitor capture, make sure Aero is disabled.
 
Top