Question / Help Help Understanding Log File and Possible Solution - Max Audio Buffer?

Galantry

New Member
Hi guys,

Thanks for your help.

We're trying to do a live stream broadcast using Facebook Live. It will normally be about an hour long. We've seen an issue where the audio quality degrades unacceptably right around the 30 min mark.

We've got a Logitech webcam capturing video only. The sound comes into the laptop over USB from a soundboard. We only see the issue in the stream though, not locally.

I've checked the log file and I think I see the issue occurring with increases to the audio buffer and then a warning that MAX audio limit has been reached. Full log file is attached but there are a handful start/stop recording sections that happened prior to the stream.

I would appreciate any help in understanding what the issue might be and then how I might be able to fix it.

Thanks,

G.


Here's what I think is the most relevant parts of the log file, but the full file is attached.

10:27:25.466: CoInitializeEx succeeded: 0x00000001
10:27:25.466: CPU Name: Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz
10:27:25.466: CPU Speed: 2660MHz
10:27:25.467: Physical Cores: 2, Logical Cores: 4
10:27:25.467: Physical Memory: 2995MB Total, 857MB Free (NOTE: 32bit programs cannot use more than 3gb)
10:27:25.467: Windows Version: 6.1 Build 7601 (release: unavailable; revision: 24545; 32-bit)
10:27:25.467: Running as administrator: true
10:27:25.467: Aero is Enabled
10:27:25.477: Current Date/Time: 2020-05-03, 10:27:25
10:27:25.477: Browser Hardware Acceleration: false
10:27:25.477: Portable mode: false
10:27:25.775: OBS 25.0.8 (32-bit, windows)
10:27:25.775: ---------------------------------
10:27:25.808: ---------------------------------
10:27:25.808: audio settings reset:
10:27:25.808: samples per sec: 44100
10:27:25.808: speakers: 2
10:27:25.812: ---------------------------------
10:27:25.812: Initializing D3D11...
10:27:25.812: Available Video Adapters:
10:27:25.816: Adapter 0: Intel(R) HD Graphics
10:27:25.816: Dedicated VRAM: 67108864
10:27:25.816: Shared VRAM: 1302159360
10:27:25.816: PCI ID: 8086:46
10:27:25.817: Driver Version: 8.15.10.2622
10:27:25.818: output 0: pos={0, 0}, size={1600, 900}, attached=true, refresh=60, name=
10:27:25.819: output 1: pos={-1600, 0}, size={1600, 900}, attached=true, refresh=60, name=S243HL
10:27:25.825: Loading up D3D11 on adapter Intel(R) HD Graphics (0)
10:27:25.843: D3D11 loaded successfully, feature level used: a000
10:27:25.843: DXGI increase maximum frame latency success
10:27:27.893: ---------------------------------
10:27:27.893: video settings reset:
10:27:27.893: base resolution: 1920x1080
10:27:27.893: output resolution: 1280x720
10:27:27.893: downscale filter: Bicubic
10:27:27.893: fps: 30/1
10:27:27.893: format: NV12
10:27:27.893: YUV mode: 601/Partial
10:27:27.894: NV12 texture support not available
10:27:27.894: Audio monitoring device:
10:27:27.894: name: Default
10:27:27.894: id: default
10:27:27.915: ---------------------------------
10:27:27.920: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
10:27:27.921: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
10:27:28.252: [AMF] Unable to load 'amfrt32.dll', error code 126.
10:27:28.254: [AMF] AMF Test failed due to one or more errors.
10:27:28.254: Failed to initialize module 'enc-amf.dll'
10:27:28.980: [obs-browser]: Version 2.8.6
10:27:29.863: VLC found, VLC video source enabled
10:27:30.587: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
10:27:30.588: No blackmagic support
10:27:30.595: ---------------------------------
10:27:30.595: Loaded Modules:
10:27:30.595: win-wasapi.dll
10:27:30.595: win-mf.dll
10:27:30.595: win-dshow.dll
10:27:30.595: win-decklink.dll
10:27:30.595: win-capture.dll
10:27:30.595: vlc-video.dll
10:27:30.595: text-freetype2.dll
10:27:30.595: rtmp-services.dll
10:27:30.595: obs-x264.dll
10:27:30.595: obs-vst.dll
10:27:30.595: obs-transitions.dll
10:27:30.595: obs-text.dll
10:27:30.595: obs-qsv11.dll
10:27:30.595: obs-outputs.dll
10:27:30.595: obs-filters.dll
10:27:30.595: obs-ffmpeg.dll
10:27:30.595: obs-browser.dll
10:27:30.595: image-source.dll
10:27:30.595: frontend-tools.dll
10:27:30.596: enc-amf.dll
10:27:30.596: decklink-ouput-ui.dll
10:27:30.596: coreaudio-encoder.dll
10:27:30.596: ---------------------------------
10:27:30.596: ==== Startup complete ===============================================
10:27:30.718: All scene data cleared
10:27:30.718: ------------------------------------------------
10:27:30.840: WASAPI: Device 'Speakers (Conexant 20585 SmartAudio HD)' [44100 Hz] initialized
10:27:30.861: [Loaded global audio device]: 'Desktop Audio'
10:27:30.877: WASAPI: Device 'Speakers (Conexant 20585 SmartAudio HD)' [44100 Hz] initialized
10:27:30.886: [Loaded global audio device]: 'Desktop Audio 2'
10:27:30.912: WASAPI: Device 'Microphone (Logitech Webcam C930e)' [48000 Hz] initialized
10:27:30.912: [Loaded global audio device]: 'Mic/Aux'
10:27:30.917: [WASAPISource::TryInitialize]:[Microphone (USB Audio Device)] Failed to activate client context: 88890004
10:27:30.917: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{75495539-8df8-4e24-94d3-e0e475fde9b2}' not found. Waiting for device
10:27:30.918: [Loaded global audio device]: 'Mic/Aux 2'
10:27:30.972: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux)
10:27:30.972:
10:27:30.994: WASAPI: Device 'Microphone (USB Audio CODEC )' [48000 Hz] initialized
10:27:30.996: Switched to scene 'Webcam Live'
10:27:30.996: ------------------------------------------------
10:27:30.996: Loaded scenes:
10:27:30.996: - scene 'Start Logo':
10:27:30.996: - source: 'Cityline Logo' (image_source)
10:27:30.996: - scene 'Webcam Live':
10:27:30.996: - source: 'Mics' (wasapi_input_capture)
10:27:30.996: - source: 'Logitech Webcam' (dshow_input)
10:27:30.996: - source: 'Slides' (monitor_capture)
10:27:30.996: - source: 'Offering Info' (image_source)
10:27:30.996: - source: 'Cityline Logo' (image_source)
10:27:30.996: - scene 'Offering':
10:27:30.996: - source: 'Offering Info' (image_source)
10:27:30.996: - scene 'End Logo':
10:27:30.996: - source: 'Cityline Logo' (image_source)
10:27:30.996: ------------------------------------------------
10:27:31.281: ---------------------------------
10:27:31.281: [DShow Device: 'Logitech Webcam'] settings updated:
10:27:31.281: video device: Logitech Webcam C930e
10:27:31.281: video path: \\?\usb#vid_046d&pid_0843&mi_00#7&e8d91de&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
10:27:31.281: resolution: 1280x720
10:27:31.281: flip: 0
10:27:31.281: fps: 30.00 (interval: 333333)
10:27:31.281: format: MJPEG
10:27:31.517: adding 69 milliseconds of audio buffering, total audio buffering is now 116 milliseconds (source: Mics)
10:27:31.517:
10:27:31.672: using video device audio: no
10:27:31.672: audio device: Microphone (Logitech Webcam C93
10:27:31.672: sample rate: 44100
10:27:31.672: channels: 2
10:27:31.672: audio type: Capture
10:30:54.922: ---------------------------------
10:30:54.922: [x264 encoder: 'simple_h264_stream'] preset: ultrafast
10:30:54.935: [x264 encoder: 'simple_h264_stream'] settings:
10:30:54.935: rate_control: CBR
10:30:54.935: bitrate: 1500
10:30:54.935: buffer size: 1500
10:30:54.935: crf: 0
10:30:54.935: fps_num: 30
10:30:54.935: fps_den: 1
10:30:54.935: width: 1280
10:30:54.935: height: 720
10:30:54.935: keyint: 60
10:30:54.935:
10:30:54.947: ---------------------------------
10:30:54.947: [FFmpeg aac encoder: 'simple_aac'] bitrate: 128, channels: 2, channel_layout: 3
10:30:54.947:

10:53:11.239: warning: 2 frames left in the queue on closing
10:53:16.513: Device 'Microphone (USB Audio CODEC )' invalidated. Retrying
10:53:19.516: [WASAPISource::TryInitialize]:[Microphone (USB Audio CODEC )] Failed to activate client context: 88890004
10:53:40.567: WASAPI: Device 'Microphone (USB Audio CODEC )' [48000 Hz] initialized
10:57:02.207: adding 301 milliseconds of audio buffering, total audio buffering is now 487 milliseconds (source: Logitech Webcam)
10:57:02.207:
10:57:05.044: User switched to scene 'Start Logo'
10:57:27.116: ---------------------------------
10:57:27.116: [x264 encoder: 'simple_h264_stream'] preset: ultrafast
10:57:27.116: [x264 encoder: 'simple_h264_stream'] settings:
10:57:27.116: rate_control: CBR
10:57:27.116: bitrate: 1500
10:57:27.116: buffer size: 1500
10:57:27.116: crf: 0
10:57:27.116: fps_num: 30
10:57:27.116: fps_den: 1
10:57:27.116: width: 1280
10:57:27.116: height: 720
10:57:27.116: keyint: 60
10:57:27.116:
10:57:27.124: ---------------------------------
10:57:27.125: [FFmpeg aac encoder: 'simple_aac'] bitrate: 128, channels: 2, channel_layout: 3
10:57:27.125:
10:57:27.128: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmps://rtmp-api.facebook.com:443/rtmp/...
10:57:27.233: [rtmp stream: 'simple_stream'] Interface: Intel(R) 82577LM Gigabit Network Connection (ethernet, 1000 mbps)
10:57:27.741: [rtmp stream: 'simple_stream'] Connection to rtmps://rtmp-api.facebook.com:443/rtmp/ successful
10:57:27.746: ==== Streaming Start ===============================================
11:01:13.344: User switched to scene 'Webcam Live'
11:06:37.448: adding 23 milliseconds of audio buffering, total audio buffering is now 510 milliseconds (source: Logitech Webcam)
11:06:37.448:
11:07:07.496: adding 116 milliseconds of audio buffering, total audio buffering is now 626 milliseconds (source: Logitech Webcam)
11:07:07.496:
11:07:13.413: adding 116 milliseconds of audio buffering, total audio buffering is now 743 milliseconds (source: Logitech Webcam)
11:07:13.413:
11:20:36.178: adding 92 milliseconds of audio buffering, total audio buffering is now 835 milliseconds (source: Logitech Webcam)
11:20:36.178:
11:21:07.350: adding 92 milliseconds of audio buffering, total audio buffering is now 928 milliseconds (source: Logitech Webcam)
11:21:07.350:
11:28:55.456: Max audio buffering reached!
11:28:55.456: adding 116 milliseconds of audio buffering, total audio buffering is now 1044 milliseconds (source: Logitech Webcam)
11:28:55.456:
11:58:45.344: User switched to scene 'Start Logo'
11:59:02.495: [rtmp stream: 'simple_stream'] User stopped the stream
11:59:02.495: Output 'simple_stream': stopping
11:59:02.495: Output 'simple_stream': Total frames output: 110797
11:59:02.495: Output 'simple_stream': Total drawn frames: 109970 (110858 attempted)
11:59:02.495: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 888 (0.8%)
11:59:02.498: ==== Streaming Stop ================================================
11:59:02.501: Video stopped, number of skipped frames due to encoding lag: 3/110839 (0.0%)
11:59:02.507: warning: 2 frames left in the queue on closing
12:00:57.729: Device 'Microphone (USB Audio CODEC )' invalidated. Retrying
12:01:00.735: [WASAPISource::TryInitialize]:[Microphone (USB Audio CODEC )] Failed to activate client context: 88890004
12:08:27.046: ---------------------------------
12:08:27.046: [x264 encoder: 'simple_h264_stream'] preset: ultrafast
12:08:27.046: [x264 encoder: 'simple_h264_stream'] settings:
12:08:27.046: rate_control: CBR
12:08:27.046: bitrate: 1500
12:08:27.046: buffer size: 1500
12:08:27.046: crf: 0
12:08:27.046: fps_num: 30
12:08:27.046: fps_den: 1
12:08:27.046: width: 1280
12:08:27.046: height: 720
12:08:27.046: keyint: 60
12:08:27.046:
12:08:27.051: ---------------------------------
12:08:27.052: [FFmpeg aac encoder: 'simple_aac'] bitrate: 128, channels: 2, channel_layout: 3
12:08:27.052:
12:08:27.053: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmps://rtmp-api.facebook.com:443/rtmp/...
12:08:27.092: [rtmp stream: 'simple_stream'] Interface: Intel(R) 82577LM Gigabit Network Connection (ethernet, 1000 mbps)
12:08:27.582: [rtmp stream: 'simple_stream'] Connection to rtmps://rtmp-api.facebook.com:443/rtmp/ successful
 

Attachments

  • 2020-05-03 10-27-25.txt
    40.2 KB · Views: 3
Top