Dropping frames by unknown reason.

Tangaroa

New Member
OS: Linux Mint 20 Cinnamon 4.6.7
Kernel: 5.4.0-163-generic
CPU: AMD Ryzen 5 2500X
MB: Gigabyte B450M DS3H
RAM: 32G
Harddrive: few different HDDs and SSDs
Gfx card: GeForce GTX 1050 Ti
Capture card: Avermedia Live Gamer MINI
Videosource: HDMI port of Panasonic HC-V770
Audiosource: USB mic based on Realtek USB ADC

BIOS is very fresh (F64), videodriver is NVIDIA and up to date.
Viewport is cropped for 4:3 aspect ration (1440x1080).

Problem: OBS 29.1.3 (fresh install from PPA; tested with previous versions too) drops frames during recording.
More specifically, this happens every 20 seconds -- few frames are gonsky each time.
And it is not just frames, audio has same gaps too, in very same moments, approximately 70 milliseconds of audio is lost each time.
As a result, output video suffers in quality, audio is garbled (short formants are lost or distorted).

Effect is stable, predictable, persisting and does not change despite anything I do with settings: CBR, CQP, etc; bitrate or compression; file location (HDD or SDD); rate of capture (25/30/50/60) or output; audio samplerate (44k1 or 48k); etc.etc.

Gaps/lags in audio are NOT present during recording via Audacity with same equipment (it's audio part).
Gaps/lags in both video and audio are NOT present during recording via Zoom with same equipment and same system, so this is not hardware issue at all.
Gaps/lags in both video and audio ARE present during recording with OBS and all of my efforts are not giving positive results.
 

Attachments

  • 2023-09-26 01-43-24.txt
    13.8 KB · Views: 15
Last edited:

Tangaroa

New Member
Log does not report any lags.
But they are present and can be detected by comparison of two audio tracks - one from recording made with OBS and another made by another software (or even hardware like dedicated recorder). Lag is there and increases for 70 ms by each 20 seconds period.

Effect is not present in videos made by other software like Zoom, Webcamoid, etc.

Also, as you can see in this log, frame counters do not match:
01:46:11.265: Output 'adv_file_output': Total frames output: 1469
01:46:11.265: Output 'adv_file_output': Total drawn frames: 1480
Why is that?
 
Top