Question / Help OBS Stutter/Freezes even in Preview mode

gamingoodz

New Member
I am having an issue with trying to stream using OBS.. I have put a lot of work into my channel and getting things set up to start streaming but one thing is holding me back from actually streaming..

While streaming or even previewing the stream the video will stutter or freeze off and on for maybe 1-4 seconds every once in a while.. It happens often enough that Its keeping me from streaming.

It seems to happen randomly or it might be when there is motion on the screen I can't really tell so I checked my CPU usage and its not capping out.. I also checked my Upload speeds Before I realized it was also doing it even in the stream preview and my upload is 10,000kbps or 10mbps..

YSlPoDe.png

http://testmy.net/db/YSlPoDe

I've tried lowering the Bitrate down to 2k with no success.. I've also tried changing the cpu preset to superfast instead of veryfast with no effect.

I've tried 32bit and 64bit OBS ( Im using 64 windows ) and both have the same issue.

I'm really stumped here and I'm not sure what to do to fix this..

Here is a Highlight from a test stream I did that shows the issue very well:
http://www.twitch.tv/gamingoodz/c/3452750

Here is my Log file from my last preview test: ( Using 32 bit OBS ) ( I'm on 64 bit windows but the issue happens in both version of OBS)

Code:
00:10:38: Server Ping plugin strings not found, dynamically loading 24 strings
00:10:39: Open Broadcaster Software v0.591b - 32bit (´・ω・`)
00:10:39: -------------------------------
00:10:39: CPU Name: Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz
00:10:39: CPU Speed: 3073MHz
00:10:39: Physical Memory:  4095MB Total, 4095MB Free
00:10:39: stepping id: 5, model 26, family 6, type 0, extmodel 0, extfamily 0, HTT 1, logical cores 8, total cores 4
00:10:39: monitor 1: pos={0, 0}, size={1920, 1080}
00:10:39: monitor 2: pos={1920, 0}, size={1440, 900}
00:10:39: Windows Version: 6.1 Build 7601 S
00:10:39: Aero is Enabled
00:10:39: -------------------------------
00:10:39: OBS Modules:
00:10:39: Base Address     Module
00:10:39: 00DE0000         OBS.exe
00:10:39: 5F760000         OBSApi.dll
00:10:39: 5FA20000         DShowPlugin.dll
00:10:39: 5FA00000         GraphicsCapture.dll
00:10:39: 61440000         NoiseGate.dll
00:10:39: 5F9E0000         PSVPlugin.dll
00:10:39: 5F700000         ServerPingPlugin.dll
00:10:39: ------------------------------------------
00:10:39: Adapter 1
00:10:39:   Video Adapter: AMD Radeon HD 7900 Series
00:10:39:   Video Adapter Dedicated Video Memory: 3198320640
00:10:39:   Video Adapter Shared System Memory: 1096581120
00:10:39:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
00:10:39:   Video Adapter Output 2: pos={1920, 0}, size={1440, 900}, attached=true
00:10:39: =====Stream Start: 2013-12-27, 00:10:39===============================================
00:10:39:   Multithreaded optimizations: On
00:10:39:   Base resolution: 1920x1080
00:10:39:   Output resolution: 1920x1080
00:10:39: ------------------------------------------
00:10:39: Loading up D3D10 on AMD Radeon HD 7900 Series (Adapter 1)...
00:10:39: ------------------------------------------
00:10:39: Audio Format: 48000hz
00:10:39: Playback device {0.0.0.00000000}.{39dc3fb2-f671-471a-9a79-bcbf69a47b1d}
00:10:39: ------------------------------------------
00:10:39: Using desktop audio input: Speakers (Realtek High Definition Audio)
00:10:39: ------------------------------------------
00:10:39: Using auxilary audio input: Line 1 (Virtual Audio Cable)
00:10:39: ------------------------------------------
00:10:39: Audio Encoding: AAC
00:10:39:     bitrate: 128
00:10:39: Using bitmap image
00:10:39: ------------------------------------------
00:10:39:     device: Microsoft LifeCam Cinema,
00:10:39:     device id \\?\usb#vid_045e&pid_075d&mi_00#6&12d9cfd6&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
00:10:39:     chosen type: YUY2, usingFourCC: false, res: 424x240 - 424x240, frameIntervals: 333333-666666
00:10:39:     use buffering: false - 0, fourCC: 'YUY2'
00:10:39:     audio device: Disable,
00:10:39:     audio device id Disabled,
00:10:39: 
00:10:39: Using directshow input
00:10:40: Using Window Capture
00:10:40: Using Window Capture
00:10:40: Scene buffering time set to 700
00:10:40: ------------------------------------------
00:10:40: Video Encoding: x264
00:10:40:     fps: 30
00:10:40:     width: 1920, height: 1080
00:10:40:     preset: veryfast
00:10:40:     profile: main
00:10:40:     keyint: 60
00:10:40:     CBR: yes
00:10:40:     CFR: yes
00:10:40:     max bitrate: 3300
00:10:40:     buffer size: 3300
00:10:40: ------------------------------------------
00:10:40: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
00:10:40: MMDeviceAudioSource: Frequency for device 'Line 1 (Virtual Audio Cable)' is 352800, samples per sec is 44100
00:10:40: Audio timestamp for device 'Line 1 (Virtual Audio Cable)' was behind target timestamp by 50!  Had to delete audio segment.
00:10:40: Audio timestamp for device 'Line 1 (Virtual Audio Cable)' was behind target timestamp by 40!  Had to delete audio segment.
00:10:40: Audio timestamp for device 'Line 1 (Virtual Audio Cable)' was behind target timestamp by 30!  Had to delete audio segment.
00:10:40: Audio timestamp for device 'Line 1 (Virtual Audio Cable)' was behind target timestamp by 20!  Had to delete audio segment.
00:10:40: Audio timestamp for device 'Line 1 (Virtual Audio Cable)' was behind target timestamp by 10!  Had to delete audio segment.
00:11:26: Total frames encoded: 1365, total frames duplicated: 54 (3.96%)
00:11:26: Total frames rendered: 1331, number of late frames: 6 (0.45%) (it's okay for some frames to be late)
00:11:26: 
00:11:26: Profiler time results:
00:11:26: 
00:11:26: ==============================================================
00:11:26: video thread frame - [100%] [avg time: 5.947 ms] [children: 90.9%] [unaccounted: 9.1%]
00:11:26: | scene->Preprocess - [87.9%] [avg time: 5.228 ms]
00:11:26: | GPU download and conversion - [2.99%] [avg time: 0.178 ms] [children: 2.67%] [unaccounted: 0.319%]
00:11:26: | | flush - [2.4%] [avg time: 0.143 ms]
00:11:26: | | CopyResource - [0.185%] [avg time: 0.011 ms]
00:11:26: | | conversion to 4:2:0 - [0.0841%] [avg time: 0.005 ms]
00:11:26: Convert444Threads - [100%] [avg time: 1.933 ms] [children: 99.5%] [unaccounted: 0.466%]
00:11:26: | Convert444toNV12 - [99.5%] [avg time: 1.924 ms]
00:11:26: encoder thread frame - [100%] [avg time: 3.033 ms]
00:11:26: ==============================================================
00:11:26: 
00:11:26: 
00:11:26: Profiler CPU results:
00:11:26: 
00:11:26: ==============================================================
00:11:26: video thread frame - [cpu time: avg 0.656 ms, total 873.605 ms] [avg calls per frame: 1]
00:11:26: | scene->Preprocess - [cpu time: avg 0.304 ms, total 405.602 ms] [avg calls per frame: 1]
00:11:26: | GPU download and conversion - [cpu time: avg 0.093 ms, total 124.801 ms] [avg calls per frame: 1]
00:11:26: | | flush - [cpu time: avg 0.07 ms, total 93.6 ms] [avg calls per frame: 1]
00:11:26: | | CopyResource - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:11:26: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
00:11:26: Convert444Threads - [cpu time: avg 1.73 ms, total 4524.03 ms] [avg calls per frame: 2]
00:11:26: | Convert444toNV12 - [cpu time: avg 1.73 ms, total 4524.03 ms] [avg calls per frame: 2]
00:11:26: encoder thread frame - [cpu time: avg 2.404 ms, total 3229.22 ms] [avg calls per frame: 1]
00:11:26: ==============================================================
00:11:26: 
00:11:26: =====Stream End: 2013-12-27, 00:11:26=================================================
00:11:36: Server Ping plugin instance deleted; removing dynamically loaded localization strings


I would appreciate any help regarding this issue as it is the last thing keeping me from starting my streaming hobby :)

Thanks
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
It seems like you're using window capture, there's not two of them are there? That would be bad.

If not, then first could you try with game capture instead? I just want to verify that it's not window capture causing this (though it really shouldn't be). Very weird, haven't seen anything like this before from other users.
 

alpinlol

Active Member
beside your capture methods ... for some odd reason 1st gen i7's have problem with 1080p@30 they tend to perform kinda bad.

720@30 shouldnt be a problem after you set some proper scenes
 

gamingoodz

New Member
Jim said:
It seems like you're using window capture, there's not two of them are there? That would be bad.

If not, then first could you try with game capture instead? I just want to verify that it's not window capture causing this (though it really shouldn't be). Very weird, haven't seen anything like this before from other users.


Im only using Game capture not window capture.

alpinlol said:
beside your capture methods ... for some odd reason 1st gen i7's have problem with 1080p@30 they tend to perform kinda bad.

720@30 shouldnt be a problem after you set some proper scenes

I really hope this is not true I have no interest in streaming then If I can't stream at 1080p that would be so sad :( .... I've looked at my cpu load while it was skipping and it was not maxed out.. It was high across all cores but not mzed , probably about %80 at the most

Also I tried turning the cpu preset on superfast instead of very fast and it didn't seem to help at all..
 

gamingoodz

New Member
Ok I just tried to downscale to 720p and even in the preview mode it was still stuttering / freezing just as bad as at 1080p.... I'm stumped... I might have to download the xsplit trial and see if its something on my end or on OBS's..
 

alpinlol

Active Member
its a weird idea ... since you set everything correctly but give aero disabled a try and delete all scenes and try only a monitor capture scene (just as a test) and then get another scene with game capture and see if this helps in anyway it doesnt really makes sense but its worth a try



i hope you get 80% cpu usage while playing + 1080p streaming. its still quite high since games can spike quite a bit from time to time

also with your cpu you shouldnt really go with a faster preset it should be able to handle stuff with veryfast since the quality loss with super or ultra would be way too high if you are planning on 1080p
 

gamingoodz

New Member
alpinlol said:
its a weird idea ... since you set everything correctly but give aero disabled a try and delete all scenes and try only a monitor capture scene (just as a test) and then get another scene with game capture and see if this helps in anyway it doesnt really makes sense but its worth a try



i hope you get 80% cpu usage while playing + 1080p streaming. its still quite high since games can spike quite a bit from time to time

also with your cpu you shouldnt really go with a faster preset it should be able to handle stuff with veryfast since the quality loss with super or ultra would be way too high if you are planning on 1080p



Weird I left all of my settings and scenes the same ( game capture ) but disabled Aero and in the stream preview it doesn't seem to be stuttering or freezing anymore....

That doesn't make any sense to me tho because the scene is in Game capture not desktop capture..Aero shouldn't effect it..

I still need to test it actually streaming tho , I don't want to get my hopes up just yet.. I'll try to stream really quick and see if it is still happening during streaming.
 

gamingoodz

New Member
Looks like somehow I switched it to "window" capture instead of game capture at some point.. Which probably explains why disabling aero fixed the stuttering lol.. Still trying to stream really quick and see if its fixed or not..

I didn't realize until I just started to stream to test it and opened raidcall and seen it pop up on my stream... I was like oooo ...

SO switching it to game and seeing if its fixed.
 

alpinlol

Active Member
makes sure to use different scenes for game capture ... game capture as far as i have tested it performs the same with aero disabled or enabled actually the game itselfs gets like 5 fps more with aero disabled for kinda obvious reasons your gpu doesnt have to work on.

but yeah just make sure that game capture always runs in its own scene you can use obs scene switcher ... its somewhere in the forum its a plugin which will switch scenes if you switch into games

but make sure if you want to use window capture you have to turn on aero if you want to use monitor capture disable aero game capture works with both settings
 
Top