Choppy Sound and Recorded video terrible lag

Bluesman65!

New Member
I tried so many settings to get this right I have included a log file , getting frustrating , so any suggestions would be appreciated

Thanks

Log file

12:13:34.382: Using EGL/X11
12:13:34.382: CPU Name: Intel(R) Core(TM) i5-2320 CPU @ 3.00GHz
12:13:34.382: CPU Speed: 3170.824MHz
12:13:34.382: Physical Cores: 4, Logical Cores: 4
12:13:34.382: Physical Memory: 11812MB Total, 1349MB Free
12:13:34.382: Kernel Version: Linux 6.8.0-52-generic
12:13:34.382: Flatpak Branch: stable
12:13:34.382: Flatpak Arch: x86_64
12:13:34.382: Flatpak Runtime: runtime/org.kde.Platform/x86_64/6.6
12:13:34.382: App Extensions:
12:13:34.382: - com.obsproject.Studio.Locale
12:13:34.382: Runtime Extensions:
12:13:34.382: - org.freedesktop.Platform.GL.default
12:13:34.382: - org.freedesktop.Platform.GL.nvidia-550-120
12:13:34.382: - org.freedesktop.Platform.VAAPI.Intel
12:13:34.382: - org.freedesktop.Platform.openh264
12:13:34.382: - org.gtk.Gtk3theme.Adwaita-dark
12:13:34.382: - org.gtk.Gtk3theme.Mint-Y-Aqua
12:13:34.382: - org.kde.Platform.Locale
12:13:34.382: - org.freedesktop.Platform.GL.default
12:13:34.382: Flatpak Framework Version: 1.14.6
12:13:34.382: Desktop Environment: XFCE (xfce)
12:13:34.382: Session Type: x11
12:13:34.382: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
12:13:34.383: Qt Version: 6.6.3 (runtime), 6.6.3 (compiled)
12:13:34.383: Portable mode: false
12:13:34.460: OBS 31.0.1 (linux)
12:13:34.460: ---------------------------------
12:13:34.486: ---------------------------------
12:13:34.486: audio settings reset:
12:13:34.486: samples per sec: 44100
12:13:34.486: speakers: 2
12:13:34.486: max buffering: 1044 milliseconds
12:13:34.486: buffering type: dynamically increasing
12:13:34.486: ---------------------------------
12:13:34.486: Initializing OpenGL...
12:13:34.586: Loading up OpenGL on adapter Intel Mesa Intel(R) HD Graphics 2000 (SNB GT1)
12:13:34.586: OpenGL loaded successfully, version 3.3 (Core Profile) Mesa 24.3.1 (git-c815d651b8), shading language 3.30
12:13:34.643: ---------------------------------
12:13:34.643: video settings reset:
12:13:34.643: base resolution: 1280x1024
12:13:34.643: output resolution: 1280x1024
12:13:34.643: downscale filter: Lanczos
12:13:34.643: fps: 60/1
12:13:34.643: format: NV12
12:13:34.643: YUV mode: Rec. 709/Partial
12:13:34.644: NV12 texture support enabled
12:13:34.644: P010 texture support not available
12:13:34.651: Audio monitoring device:
12:13:34.651: name: Default
12:13:34.651: id: default
12:13:34.652: ---------------------------------
12:13:34.674: No AJA devices found, skipping loading AJA UI plugin
12:13:34.674: Failed to initialize module 'aja-output-ui.so'
12:13:34.695: No AJA devices found, skipping loading AJA plugin
12:13:34.695: Failed to initialize module 'aja.so'
12:13:34.988: [pipewire] No capture sources available
12:13:35.043: [obs-browser]: Version 2.24.4
12:13:35.043: [obs-browser]: CEF Version 127.0.6533.100 (runtime), 127.3.4+ge9e2e14+chromium-127.0.6533.100 (compiled)
12:13:35.059: VAAPI: API version 1.19
12:13:35.059: FFmpeg VAAPI H264 encoding supported
12:13:35.060: VAAPI: Failed to initialize display in vaapi_device_av1_supported
12:13:35.060: FFmpeg VAAPI AV1 encoding not supported
12:13:35.061: VAAPI: Failed to initialize display in vaapi_device_hevc_supported
12:13:35.061: FFmpeg VAAPI HEVC encoding not supported
12:13:35.518: [obs-nvenc] NVENC version: 12.2 (compiled) / 12.2 (driver), CUDA driver version: 12.40, AV1 supported: false
12:13:35.545: Legacy intel-vaapi-driver detected, incompatible with QSV
12:13:35.547: Legacy intel-vaapi-driver detected, incompatible with QSV
12:13:35.620: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.5.4 | RPC Version: 1)
12:13:35.620: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.3 | Qt version (run-time): 6.6.3
12:13:35.620: [obs-websocket] [obs_module_load] Linked ASIO Version: 103100
12:13:35.621: DEPRECATION: obs_frontend_get_global_config is deprecated. Read from global or user configuration explicitly instead.
12:13:35.633: [obs-websocket] [obs_module_load] Module loaded.
12:13:35.670: ---------------------------------
12:13:35.670: Loaded Modules:
12:13:35.670: text-freetype2.so
12:13:35.670: rtmp-services.so
12:13:35.670: obs-x264.so
12:13:35.670: obs-websocket.so
12:13:35.670: obs-webrtc.so
12:13:35.670: obs-vst.so
12:13:35.670: obs-transitions.so
12:13:35.670: obs-qsv11.so
12:13:35.670: obs-outputs.so
12:13:35.670: obs-nvenc.so
12:13:35.670: obs-libfdk.so
12:13:35.670: obs-filters.so
12:13:35.670: obs-ffmpeg.so
12:13:35.670: obs-browser.so
12:13:35.670: linux-v4l2.so
12:13:35.670: linux-pulseaudio.so
12:13:35.670: linux-pipewire.so
12:13:35.670: linux-jack.so
12:13:35.670: linux-capture.so
12:13:35.670: image-source.so
12:13:35.670: frontend-tools.so
12:13:35.670: ---------------------------------
12:13:35.670: ---------------------------------
12:13:35.670: Available Encoders:
12:13:35.670: Video Encoders:
12:13:35.670: - ffmpeg_svt_av1 (SVT-AV1)
12:13:35.670: - ffmpeg_aom_av1 (AOM AV1)
12:13:35.670: - ffmpeg_vaapi_tex (FFmpeg VAAPI H.264)
12:13:35.670: - obs_nvenc_h264_tex (NVIDIA NVENC H.264)
12:13:35.670: - obs_nvenc_hevc_tex (NVIDIA NVENC HEVC)
12:13:35.670: - obs_x264 (x264)
12:13:35.670: Audio Encoders:
12:13:35.670: - ffmpeg_aac (FFmpeg AAC)
12:13:35.670: - ffmpeg_opus (FFmpeg Opus)
12:13:35.670: - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit))
12:13:35.670: - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit))
12:13:35.670: - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float))
12:13:35.670: - ffmpeg_alac (FFmpeg ALAC (24-bit))
12:13:35.670: - ffmpeg_flac (FFmpeg FLAC (16-bit))
12:13:35.670: - libfdk_aac (libfdk AAC)
12:13:35.670: ==== Startup complete ===============================================
12:13:35.740: All scene data cleared
12:13:35.740: ------------------------------------------------
12:13:35.749: pulse-input: Server name: 'PulseAudio (on PipeWire 1.0.5) 15.0.0'
12:13:35.749: pulse-input: Audio format: s16le, 48000 Hz, 1 channels
12:13:35.749: pulse-input: Started recording from 'alsa_input.usb-C-Media_Electronics_Inc._TONOR_TC-777_Audio_Device-00.mono-fallback'
12:13:35.750: [Loaded global audio device]: 'Mic/Aux'
12:13:35.750: [Media Source 'Media Source']: settings:
12:13:35.750: input:
12:13:35.750: input_format:
12:13:35.750: speed: 100
12:13:35.750: is_looping: no
12:13:35.750: is_linear_alpha: no
12:13:35.750: is_hw_decoding: no
12:13:35.750: is_clear_on_media_end: yes
12:13:35.750: restart_on_activate: yes
12:13:35.750: close_when_inactive: no
12:13:35.750: full_decode: no
12:13:35.750: ffmpeg_options:
12:13:35.758: pulse-am: Server name: 'PulseAudio (on PipeWire 1.0.5) 15.0.0'
12:13:35.758: pulse-am: Audio format: s32le, 48000 Hz, 2 channels
12:13:35.758: pulse-am: Started Monitoring in 'alsa_output.pci-0000_00_1b.0.analog-stereo'
12:13:35.758: v4l2-input: Start capture from /dev/video0
12:13:35.818: v4l2-input: Input: 0
12:13:35.834: v4l2-input: Resolution: 1280x720
12:13:35.834: v4l2-input: Pixelformat: MJPG
12:13:35.834: v4l2-input: Linesize: 0 Bytes
12:13:35.834: v4l2-input: Framerate: 30.00 fps
12:13:35.836: v4l2-input: /dev/video0: select timeout set to 166666 (5x frame periods)
12:13:35.837: pulse-input: Server name: 'PulseAudio (on PipeWire 1.0.5) 15.0.0'
12:13:35.838: pulse-input: Audio format: s16le, 48000 Hz, 1 channels
12:13:35.838: pulse-input: Started recording from 'alsa_input.usb-C-Media_Electronics_Inc._TONOR_TC-777_Audio_Device-00.mono-fallback'
12:13:35.842: Switched to scene 'Scene'
12:13:35.842: ------------------------------------------------
12:13:35.842: Loaded scenes:
12:13:35.842: - scene 'Scene':
12:13:35.842: - source: 'Media Source' (ffmpeg_source)
12:13:35.842: - monitoring: monitor only
12:13:35.842: - source: 'Video Capture Device (V4L2)' (v4l2_input)
12:13:35.842: - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
12:13:35.842: - filter: 'Noise Gate' (noise_gate_filter)
12:13:35.842: ------------------------------------------------
12:13:36.007: v4l2-input: /dev/video0: select timed out
12:13:36.007: v4l2-input: /dev/video0: failed to log status
12:13:36.174: v4l2-input: /dev/video0: select timed out
12:13:36.174: v4l2-input: /dev/video0: failed to log status
12:13:36.344: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds (source: Mic/Aux)
12:13:36.344:
12:13:36.677: adding 69 milliseconds of audio buffering, total audio buffering is now 92 milliseconds (source: Audio Input Capture (PulseAudio))
12:13:36.677:
12:13:49.821: ---------------------------------
12:13:49.821: [x264 encoder: 'advanced_video_recording'] preset: medium
12:13:49.821: [x264 encoder: 'advanced_video_recording'] settings:
12:13:49.821: rate_control: CBR
12:13:49.821: bitrate: 2500
12:13:49.821: buffer size: 2500
12:13:49.821: crf: 23
12:13:49.821: fps_num: 60
12:13:49.821: fps_den: 1
12:13:49.821: width: 1280
12:13:49.821: height: 1024
12:13:49.821: keyint: 250
12:13:49.821:
12:13:49.826: libfdk_aac encoder created
12:13:49.827: libfdk_aac bitrate: 160, channels: 2
12:13:49.860: ==== Recording Start ===============================================
12:13:49.860: [ffmpeg muxer: 'adv_file_output'] Writing file '/home/bmarto/Videos/Practice recordings/2025-02-05 12-13-49.mkv'...
12:15:57.394: [ffmpeg muxer: 'adv_file_output'] Output of file '/home/bmarto/Videos/Practice recordings/2025-02-05 12-13-49.mkv' stopped
12:15:57.394: Output 'adv_file_output': stopping
12:15:57.394: Output 'adv_file_output': Total frames output: 6095
12:15:57.394: Output 'adv_file_output': Total drawn frames: 5807 (7651 attempted)
12:15:57.394: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 1844 (24.1%)
12:15:57.442: ==== Recording Stop ================================================
12:15:57.485: Video stopped, number of skipped frames due to encoding lag: 6010/6165 (97.5%)
12:15:57.595: libfdk_aac encoder destroyed
 
Top