Question / Help Push-to-Talk with Mic Sync Offset

KazoWAR

New Member
I am using a Game Capture HD and it has a delay, so I want to delay my mic so that it syncs up, that works fine. When I try to throw in push to talk, this is when it gets all messed up.

I am noticing weird behavior and not sure if its a bug or if I configured it properly. But it seems like push to talk is not taking the sync offset into consideration. When I press the button, it immediately begins to record the delayed audio, and not what the mic picks up while being held down. example would be if i have a 3 second delay, press push-to-talk for 5 seconds and say something for 4 seconds. the recording will pick up 3 seconds before the button was pushed plus 2 seconds on my conversation before cutting the last 2 seconds off.

Code:
01:20:28.281: CPU Name: AMD Ryzen 5 1600 Six-Core Processor           
01:20:28.281: CPU Speed: 3194MHz
01:20:28.281: Physical Cores: 6, Logical Cores: 12
01:20:28.281: Physical Memory: 8124MB Total, 5055MB Free
01:20:28.281: Windows Version: 10.0 Build 17134 (revision: 345; 64-bit)
01:20:28.282: Running as administrator: false
01:20:28.282: Aero is Enabled (Aero is always on for windows 8 and above)
01:20:28.282: Windows 10 Gaming Features:
01:20:28.282:     Game Bar: On
01:20:28.282:     Game DVR: On
01:20:28.282:     Game DVR Background Recording: Off
01:20:28.283: Sec. Software Status:
01:20:28.286:     Windows Defender Antivirus: enabled (AV)
01:20:28.287:     Windows Firewall: enabled (FW)
01:20:28.300:     Windows Defender Antivirus: enabled (ASW)
01:20:28.301: Browser Hardware Acceleration: true
01:20:28.301: Portable mode: false
01:20:28.448: OBS 22.0.2 (64-bit, windows)
01:20:28.448: ---------------------------------
01:20:28.449: ---------------------------------
01:20:28.449: audio settings reset:
01:20:28.449:     samples per sec: 44100
01:20:28.449:     speakers:        2
01:20:28.450: ---------------------------------
01:20:28.450: Initializing D3D11...
01:20:28.450: Available Video Adapters:
01:20:28.451:     Adapter 1: NVIDIA GeForce GTX 1060 3GB
01:20:28.451:       Dedicated VRAM: 3133145088
01:20:28.451:       Shared VRAM:    4259749888
01:20:28.452:       output 1: pos={0, 0}, size={1920, 1200}, attached=true
01:20:28.453: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 3GB (0)
01:20:28.519: D3D11 loaded successfully, feature level used: 45056
01:20:29.579: ---------------------------------
01:20:29.579: video settings reset:
01:20:29.579:     base resolution:   1280x720
01:20:29.579:     output resolution: 1280x720
01:20:29.579:     downscale filter:  Bilinear
01:20:29.579:     fps:               60/1
01:20:29.579:     format:            NV12
01:20:29.579:     YUV mode:          601/Partial
01:20:29.581: Audio monitoring device:
01:20:29.581:     name: Default
01:20:29.581:     id: default
01:20:29.582: ---------------------------------
01:20:29.583: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
01:20:29.584: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
01:20:29.628: [AMF] AMF Test failed due to one or more errors.
01:20:29.628: Failed to initialize module 'enc-amf.dll'
01:20:29.644: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
01:20:29.644: LoadLibrary failed for '../../obs-plugins/64bit/libEGL.dll': The specified procedure could not be found.
01:20:29.644:  (127)
01:20:29.644: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
01:20:29.646: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
01:20:29.647: [obs-browser]: Version 2.1.5
01:20:29.650: NVENC supported
01:20:29.704: VLC found, VLC video source enabled
01:20:29.709: No blackmagic support
01:20:29.713: ---------------------------------
01:20:29.713:   Loaded Modules:
01:20:29.713:     win-wasapi.dll
01:20:29.713:     win-mf.dll
01:20:29.713:     win-dshow.dll
01:20:29.713:     win-decklink.dll
01:20:29.713:     win-capture.dll
01:20:29.713:     vlc-video.dll
01:20:29.713:     text-freetype2.dll
01:20:29.713:     rtmp-services.dll
01:20:29.713:     obs-x264.dll
01:20:29.713:     obs-vst.dll
01:20:29.713:     obs-transitions.dll
01:20:29.713:     obs-text.dll
01:20:29.713:     obs-qsv11.dll
01:20:29.713:     obs-outputs.dll
01:20:29.713:     obs-filters.dll
01:20:29.713:     obs-ffmpeg.dll
01:20:29.713:     obs-browser.dll
01:20:29.713:     image-source.dll
01:20:29.713:     frontend-tools.dll
01:20:29.713:     enc-amf.dll
01:20:29.713:     coreaudio-encoder.dll
01:20:29.713: ---------------------------------
01:20:29.713: ==== Startup complete ===============================================
01:20:29.717: All scene data cleared
01:20:29.717: ------------------------------------------------
01:20:29.776: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
01:20:29.808: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
01:20:29.808: source 'Mic/Aux' enabled push-to-talk
01:20:29.810: [window-capture: 'Window Capture'] update settings:
01:20:29.810:     executable: MEmu.exe
01:20:30.123: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
01:20:30.362: Switched to scene 'Scene'
01:20:30.363: [game-capture: 'Game Capture'] attempting to hook process: vlc.exe
01:20:30.366: [game-capture: 'Game Capture'] using direct hook
01:20:30.368: ------------------------------------------------
01:20:30.368: Loaded scenes:
01:20:30.369: - scene 'Scene':
01:20:30.369:     - source: 'Game Capture' (game_capture)
01:20:30.369: - scene 'SAO:MD':
01:20:30.369:     - source: 'Window Capture' (window_capture)
01:20:30.369:         - filter: 'Crop/Pad' (crop_filter)
01:20:30.369: ------------------------------------------------
01:20:30.371: [game-capture: 'Game Capture'] Hooked to process: vlc.exe
01:20:30.371: [game-capture: 'Game Capture'] (half life scientist) everything..  seems to be in order
01:20:30.376: [game-capture: 'Game Capture'] Hooked DXGI
01:20:30.383: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
01:20:30.399: [game-capture: 'Game Capture'] shared texture capture successful
01:20:30.440: CalculateFileHash: Failed to open file 'C:\Users\Kazo\AppData\Roaming\obs-studio\updates\whatsnew.json':
01:20:38.687: [game-capture: 'Game Capture'] ----------------- d3d11 capture freed ----------------
01:20:38.751: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
01:20:38.754: [game-capture: 'Game Capture'] shared texture capture successful
01:22:17.306: Settings changed (outputs)
01:22:17.306: ------------------------------------------------
01:27:37.927: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
01:27:41.348: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
01:27:42.889: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
01:27:42.911: adding 23 milliseconds of audio buffering, total audio buffering is now 116 milliseconds
01:31:38.128: ---------------------------------
01:31:38.128: [x264 encoder: 'recording_h264'] preset: medium
01:31:38.128: [x264 encoder: 'recording_h264'] profile: high
01:31:38.128: [x264 encoder: 'recording_h264'] settings:
01:31:38.128:     rate_control: CBR
01:31:38.128:     bitrate:      6000
01:31:38.128:     buffer size:  6000
01:31:38.128:     crf:          0
01:31:38.128:     fps_num:      60
01:31:38.128:     fps_den:      1
01:31:38.128:     width:        1280
01:31:38.128:     height:       720
01:31:38.128:     keyint:       120
01:31:38.128:
01:31:38.135: ---------------------------------
01:31:38.135: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
01:31:38.135:
01:31:38.142: ==== Recording Start ===============================================
01:31:38.142: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/Kazo/Videos/2018-11-06 01-31-38.mp4'...
01:32:20.596: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/Kazo/Videos/2018-11-06 01-31-38.mp4' stopped
01:32:20.596: Output 'adv_file_output': stopping
01:32:20.596: Output 'adv_file_output': Total frames output: 2481
01:32:20.596: Output 'adv_file_output': Total drawn frames: 2547
01:32:20.597: ==== Recording Stop ================================================
01:36:40.598: [game-capture: 'Game Capture'] capture window no longer exists, terminating capture
01:36:40.599: [game-capture: 'Game Capture'] capture stopped
01:36:51.698: [game-capture: 'Game Capture'] attempting to hook process: vlc.exe
01:36:51.701: [game-capture: 'Game Capture'] using direct hook
01:36:51.703: [game-capture: 'Game Capture'] Hooked to process: vlc.exe
01:36:51.703: [game-capture: 'Game Capture'] (half life scientist) everything..  seems to be in order
01:36:51.706: [game-capture: 'Game Capture'] Hooked DXGI
01:36:51.718: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
01:36:51.732: [game-capture: 'Game Capture'] shared texture capture successful
 
Top