Question / Help Amarec and OBS Video is lagging/stuttering

Flamecookie

New Member
I've been having some problems with the latest amarec. It is really lagging alot, and i still haven't found a solution for it. However amarec 2.10b works better. When i put amarec as a capture device in OBS the video gets pretty laggy and also delayed, but when i only use OBS on local recording, theres no lag delay, frame drops or inserted frames at all, but the quality of the video isn't that great. I'm using a Dazzle and i'm recording my SNES, any help would be greatly appreciated. Here is my latest log:


Code:
51:40: Open Broadcaster Software v0.592b - 32bit (´・ω・`)
19:51:40: -------------------------------
19:51:40: CPU Name: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz
19:51:40: CPU Speed: 3392MHz
19:51:40: Physical Memory:  4095MB Total, 4095MB Free
19:51:40: stepping id: 3, model 60, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 4
19:51:40: monitor 1: pos={0, 0}, size={1920, 1080}
19:51:40: Windows Version: 6.2 Build 9200 
19:51:40: Aero is Enabled
19:51:40: -------------------------------
19:51:40: OBS Modules:
19:51:40: Base Address     Module
19:51:40: 00F80000         OBS.exe
19:51:40: 5F6E0000         OBSApi.dll
19:51:40: 644A0000         DShowPlugin.dll
19:51:40: 72CD0000         GraphicsCapture.dll
19:51:40: 6B7F0000         NoiseGate.dll
19:51:40: 63530000         PSVPlugin.dll
19:51:40: ------------------------------------------
19:51:40: Adapter 1
19:51:40:   Video Adapter: NVIDIA GeForce GTX 760 (192-bit)
19:51:40:   Video Adapter Dedicated Video Memory: 3139428352
19:51:40:   Video Adapter Shared System Memory: 1155473408
19:51:40:   Video Adapter Output 1: pos={0, 0}, size={1920, 1080}, attached=true
19:51:40: =====Stream Start: 2014-01-30, 19:51:40===============================================
19:51:40:   Multithreaded optimizations: On
19:51:40:   Base resolution: 1920x1080
19:51:40:   Output resolution: 1920x1080
19:51:40: ------------------------------------------
19:51:40: Loading up D3D10 on NVIDIA GeForce GTX 760 (192-bit) (Adapter 1)...
19:51:40: ------------------------------------------
19:51:40: Audio Format: 48000hz
19:51:40: Playback device {0.0.1.00000000}.{6c0eb301-1b98-4a4d-b134-c441f0ff36d8}
19:51:40: ------------------------------------------
19:51:40: Using desktop audio input: Linje (Dazzle Video Capture USB Audio Device)
19:51:40: ------------------------------------------
19:51:40: Audio Encoding: AAC
19:51:40:     bitrate: 128
19:51:40: ------------------------------------------
19:51:40:     device: AmaRec Video Capture,
19:51:40:     device id (null),
19:51:40:     chosen type: RGB32, usingFourCC: false, res: 720x480 - 720x480, frameIntervals: 344828-344828
19:51:40:     use buffering: false - 0, fourCC: 00000000
19:51:40:     audio device: Disable,
19:51:40:     audio device id Disabled,
19:51:40: 
19:51:40: Using directshow input
19:51:40: Using Window Capture
19:51:40: Using Window Capture
19:51:40: Scene buffering time set to 700
19:51:40: ------------------------------------------
19:51:40: Video Encoding: x264
19:51:40:     fps: 60
19:51:40:     width: 1920, height: 1080
19:51:40:     preset: veryfast
19:51:40:     profile: high
19:51:40:     keyint: 250
19:51:40:     CBR: no
19:51:40:     CFR: yes
19:51:40:     max bitrate: 1000
19:51:40:     buffer size: 1000
19:51:40:     quality: 10
19:51:40: ------------------------------------------
19:51:40: MMDeviceAudioSource: Frequency for device 'Linje (Dazzle Video Capture USB Audio Device)' is 384000, samples per sec is 48000
19:51:40: Syncing audio to video time (WARNING: you should not be doing this if you are just having webcam desync, that's a separate issue)
19:54:04: Total frames encoded: 8546, total frames duplicated: 1 (0.01%)
19:54:04: Total frames rendered: 8554, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
19:54:04: 
19:54:04: Profiler time results:
19:54:04: 
19:54:04: ==============================================================
19:54:04: video thread frame - [100%] [avg time: 1.03 ms] [children: 62.3%] [unaccounted: 37.7%]
19:54:04: | scene->Preprocess - [50.1%] [avg time: 0.516 ms]
19:54:04: | GPU download and conversion - [12.2%] [avg time: 0.126 ms] [children: 11.5%] [unaccounted: 0.777%]
19:54:04: | | flush - [3.4%] [avg time: 0.035 ms]
19:54:04: | | CopyResource - [1.55%] [avg time: 0.016 ms]
19:54:04: | | conversion to 4:2:0 - [6.5%] [avg time: 0.067 ms]
19:54:04: Convert444Threads - [100%] [avg time: 1.008 ms] [children: 99.3%] [unaccounted: 0.694%]
19:54:04: | Convert444toNV12 - [99.3%] [avg time: 1.001 ms]
19:54:04: encoder thread frame - [100%] [avg time: 1.612 ms]
19:54:04: ==============================================================
19:54:04: 
19:54:04: 
19:54:04: Profiler CPU results:
19:54:04: 
19:54:04: ==============================================================
19:54:04: video thread frame - [cpu time: avg 0.423 ms, total 3625 ms] [avg calls per frame: 1]
19:54:04: | scene->Preprocess - [cpu time: avg 0.042 ms, total 359.375 ms] [avg calls per frame: 1]
19:54:04: | GPU download and conversion - [cpu time: avg 0.052 ms, total 453.125 ms] [avg calls per frame: 1]
19:54:04: | | flush - [cpu time: avg 0.031 ms, total 265.625 ms] [avg calls per frame: 1]
19:54:04: | | CopyResource - [cpu time: avg 0.022 ms, total 187.5 ms] [avg calls per frame: 1]
19:54:04: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
19:54:04: Convert444Threads - [cpu time: avg 0.96 ms, total 16343.8 ms] [avg calls per frame: 2]
19:54:04: | Convert444toNV12 - [cpu time: avg 0.956 ms, total 16265.6 ms] [avg calls per frame: 2]
19:54:04: encoder thread frame - [cpu time: avg 0.977 ms, total 8312.5 ms] [avg calls per frame: 1]
19:54:04: ==============================================================
19:54:04: 
19:54:04: =====Stream End: 2014-01-30, 19:54:04=================================================
 
You're encoding 1080p 60fps. It's going to probably require a lot of CPU to just be able to do that regardless of your awesome system.

Also, your bitrate is 1000, waaaay too low for 1080p 60fps. You need at least 5000 for that, perhaps quite a bit more.
 
Back
Top