Bug Report Avermedia weird fps settings? and memory leak!

Hey, i just wanted to ask if there is a reason that i can only select 60.0002 fps and not just 60 (is this just a display bug or something that might have an impact on performance )? When i compare it to xsplit i can normally select 60fps @ 720p when i configure the device (avermedia live gamer hd) in the sources selection.

device: AVerMedia HD Capture C985 Bus 4,
device id \\?\pci#ven_1af2&dev_a001&subsys_a0011af2&rev_00#4&256f5a3a&0&00e3#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{957bd672-7934-4b55-b81a-3e22b14c679a},
chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

additionally i got a random log where it only states "Memory leaks were detected" and nothing else(this is with the most recent stable version v0.472b).

Also , whenever i alt tab out or into a game with the Capture card as source selected i am dropping frames , this only appears during the alt tabbing time window . in a game everything is allright.

here is a random log where everything was normal apart from the dropped frames during the alt tab process

Open Broadcaster Software v0.472b - 64bit ( ^ω^)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (oc to 4,5Ghz)
CPU Speed: 3503MHz
Physical Memory: 16346MB Total, 12550MB Free
stepping id: 9, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
monitor 1: pos={0, 0}, size={1920, 1080}
monitor 2: pos={-1366, 92}, size={1366, 768}
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
Video Adapter: NVIDIA GeForce GTX 670
Video Adapter Dedicated Video Memory: 2091581440
Video Adapter Shared System Memory: 2147479552
=====Stream Start=====================================================================
Multithreaded optimizations: On
Base resolution: 1280x720
Output resolution: 1280x720
------------------------------------------
Loading up D3D10...
Playback device Default
------------------------------------------
Using desktop audio input: Speakers (Creative SB X-Fi)
------------------------------------------
Using auxilary audio input: Microphone (Creative SB X-Fi)
------------------------------------------
Audio Encoding: AAC
bitrate: 128
------------------------------------------
device: AVerMedia HD Capture C985 Bus 4,
device id \\?\pci#ven_1af2&dev_a001&subsys_a0011af2&rev_00#4&256f5a3a&0&00e3#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{957bd672-7934-4b55-b81a-3e22b14c679a},
chosen type: YV12, usingFourCC: true, res: 1280x720 - 1280x720, fps: 15-60.0002, fourCC: 'YV12'

Using directshow input
x264: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264: profile High, level 3.2
------------------------------------------
Video Encoding: x264
fps: 60
width: 1280, height: 720
preset: veryfast
CBR: no
CFR: no
max bitrate: 3000
buffer size: 3000
quality: 9
------------------------------------------
Using RTMP service: Twitch / Justin.tv
Server selection: rtmp://live-lhr-backup.justin.tv/app
bufferTime: 1900, outputRateWindowTime: 1000, dropThreshold: 2400
Total frames rendered: 10319, number of frames that lagged: 7 (0.07%) (it's okay for some frames to lag)
RTMPPublisher::SocketLoop: Aborting due to bStopping
Number of b-frames dropped: 99 (0.97%), Number of p-frames dropped: 23 (0.22%), Total 122 (1.2%)
x264: frame I:51 Avg QP:26.87 size: 35678
x264: frame P:4759 Avg QP:31.32 size: 7238
x264: frame B:5449 Avg QP:31.09 size: 1387
x264: consecutive B-frames: 15.4% 38.8% 7.5% 38.3%
x264: mb I I16..4: 31.4% 47.4% 21.2%
x264: mb P I16..4: 8.6% 9.8% 0.4% P16..4: 21.7% 8.6% 2.4% 0.0% 0.0% skip:48.5%
x264: mb B I16..4: 1.0% 0.8% 0.0% B16..8: 9.1% 2.2% 0.1% direct: 1.0% skip:85.9% L0:39.5% L1:55.7% BI: 4.8%
x264: 8x8 transform intra:51.4% inter:39.5%
x264: coded y,uvDC,uvAC intra: 27.4% 20.1% 3.8% inter: 3.3% 2.9% 0.2%
x264: i16 v,h,dc,p: 41% 32% 19% 8%
x264: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 24% 38% 3% 3% 3% 4% 3% 4%
x264: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 27% 20% 5% 5% 5% 5% 5% 5%
x264: i8c dc,h,v,p: 72% 14% 12% 1%
x264: Weighted P-Frames: Y:2.7% UV:1.9%
x264: kb/s:2026.44
=====Stream End=======================================================================
 

Attachments

  • Clipboard02.jpg
    48.1 KB · Views: 71
  • obs.jpg
    obs.jpg
    96.4 KB · Views: 69

Lain

Forum Admin
Lain
Forum Moderator
Developer
The 60.0002 is fine, you can safely ignore it, it's just a floating point precision thing for when converting the frame time interval, when you set it the app ensures that it will use the correct interval regardless of what it displays.

There is a minor memory leak somewhere (harmless), I have yet to pinpoint it, but if you can figure out how to make it happen every time, I would be grateful.

If you're dropping frames when switching scenes, you should consider using your device as a global source instead of as a regular source, a global source stays on for the duration of the stream so it doesn't have to turn off/on ever again until the stream ends, prevents device lag from doing so.
 
Thank you for your friendly and fast explanation. I will do my best to fiddle around how to recreate the memory leak. Thank you Jim, you are awesome!!!!!!!
 
Top