Bug Report FPS slowly lowers until stream lags

TuFFrabit

New Member
Hey all,

I'm using an Avermedia C027 (HD DVR PCIe). I"m experiencing a rather odd issue, hopefully somebody has some insight.

Either while streaming or previewing the stream, after about three minutes, the FPS starts to drop. Once this happens the FPS slowly but steadily drops and the stream, or preview, begins to lag rather badly. The only way I have found to stop this is to stop streaming/previewing, which causes OBS to become non-responsive. At that point OBS either crashes or I have to kill it via Task Manager. If I try to open another instance and stream/preview again the cycle simply repeats itself. This only occurs when my Avermedia card is one of the sources on the current active scene. I'm asking this question here on the OBS forums because I don't think my capture card is the problem. Other capture software does not exhibit this issue.

Other software I've tried with complete success:
FFsplit
Aver MediaCenter
AmaRecTv

System info:
AMD A10-5800k
MSI FM2-A75MA-E35
8GB Corsair Vengeance 1600
Fresh install (today) of Windows 7 64-bit

Here's a OBS log that was generated during a reproduction of this issue:
Code:
17:33:01: Open Broadcaster Software v0.522b - 32bit (´・ω・`)
17:33:01: -------------------------------
17:33:01: CPU Name: AMD A10-5800K APU with Radeon(tm) HD Graphics
17:33:01: CPU Speed: 3981MHz
17:33:01: Physical Memory:  4095MB Total, 4095MB Free
17:33:01: stepping id: 1, model 0, family 15, type 0, extmodel 0, extfamily 3, HTT 1, logical cores 4, total cores 4
17:33:01: monitor 1: pos={0, 0}, size={1600, 900}
17:33:01: monitor 2: pos={1600, 0}, size={1920, 1080}
17:33:01: Windows Version: 6.1 Build 7601 S
17:33:01: Aero is Disabled
17:33:01: -------------------------------
17:33:01: OBS Modules:
17:33:01: Base Address     Module
17:33:01: 00120000         OBS.exe
17:33:01: 69350000         OBSApi.dll
17:33:01: 6F070000         DShowPlugin.dll
17:33:01: 745A0000         GraphicsCapture.dll
17:33:01: 72CE0000         NoiseGate.dll
17:33:01: ------------------------------------------
17:33:01: Adapter 1
17:33:01:   Video Adapter: AMD Radeon HD 7660D
17:33:01:   Video Adapter Dedicated Video Memory: 502652928
17:33:01:   Video Adapter Shared System Memory: 3739695104
17:33:01: =====Stream Start: 2013-06-02, 17:33:01===============================================
17:33:01:   Multithreaded optimizations: On
17:33:01:   Base resolution: 1280x720
17:33:01:   Output resolution: 1280x720
17:33:01: ------------------------------------------
17:33:02: Loading up D3D10...
17:33:02: Playback device Default
17:33:02: ------------------------------------------
17:33:02: Using desktop audio input: Speakers (USB Audio CODEC )
17:33:02: ------------------------------------------
17:33:02: Audio Encoding: AAC
17:33:02:     bitrate: 128
17:33:02: ------------------------------------------
17:33:02:     device: AVerMedia BDA Analog Capture Secondary,
17:33:02:     device id \\?\pci#ven_1a0a&dev_6202&subsys_62021461&rev_01#4&258d69f9&0&0010#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{ede957b0-eaa5-4bf4-acf3-6e10cb4836c3},
17:33:02:     chosen type: UYVY, usingFourCC: false, res: 1280x720 - 1280x720, frameIntervals: 200000-200000, fourCC: 'UYVY'
17:33:02: 
17:33:02:     device audio info - bits per sample: 16, channels: 2, samples per sec: 48000, block size: 4
17:33:02: Using directshow input
17:33:02: ------------------------------------------
17:33:02: Video Encoding: x264
17:33:02:     fps: 30
17:33:02:     width: 1280, height: 720
17:33:02:     preset: veryfast
17:33:02:     CBR: no
17:33:02:     CFR: no
17:33:02:     max bitrate: 1870
17:33:02:     buffer size: 1870
17:33:02:     quality: 5
17:33:02: ------------------------------------------
17:36:34: Total frames rendered: 6137, number of frames that lagged: 630 (10.27%) (it's okay for some frames to lag)
 

TuFFrabit

New Member
I figured out a workaround today, so this isn't a huge priority... but I hope it can be fixed at some point.

Everything works great if I use AmaRecTv Live. I run AmaRec and grab the card, enable the live function, and grab the live thing via OBS. I don't loose FPS anymore.
 

mournblade77

New Member
I've been having the same issue, but I was unable to get you AmaRecTV workaround to work. What I did was try an older version of OBS, version 4.48 to be exact. This version does not have the crossbar functionality built in, and works properly. So it seems that whatever is causing the issue in the latest builds is related to the crossbar configuration utility in OBS itself. Hopefully, this can be corrected in future builds, as loosing out on feature sets in the latest versions to make this device work is a little sad.
 

dodgepong

Administrator
Community Helper
Odd, I have a C027 and it works beautifully with OBS. What type of video input are you capturing?
 

mournblade77

New Member
I'm capturing video from an HDMI from my gaming PC to what I I plan to use as a streaming rig. I've tried both .522b and the latest aquaman build and both exhibit the same behavior, regardless of what i am outputting to the card (games, recaptured video or still screens). I personally have only run in preview mode so far, trying to figure out how it all works. With either of the latest builds, after about 5 minutes in preview mode with the capture card, the frame rate drops from what ever I have it set to (30 or 60) to between 15 to 7 fps. If I uncheck and recheck the AverTV in the scene, normal operation returns, but after 5 minutes the fps drops again.

The second system should be more than powerful enough to run OBS without any issues, and once again 4.48 works fine with no drop in frames. The streaming system specs are:

AMD FX 6100 3.3 GHz
ASRock 880G MB
8 GB DDR3 1066 RAM
AMD 6450 2GB GFX Card
Aver Media C072 capture card
40 GB SSD
750 SATA 3 drive

Not a beast but still more than strong enough for the task at hand, with the only real weak point being the graphics card. The capture works fine in any other environment I have tested it in, let me know if you need logs.
 

dodgepong

Administrator
Community Helper
Can you post a full log? The last one wasn't complete and was missing some important parts.
 

TuFFrabit

New Member
I'm capturing from an XBOX 360 via HDMI.

What's really odd is that it used to work just fine. Just overnight it started doing this. Still using AmaRecTv as a middle man.
 
Top