Bug Report OBS makes Web camera Freeze and microphones shuts down

Victor Asplund

New Member
Hello, i have a problem obviously, out of nowhere my web-cam freezes and microphone shuts down in every program (teamspeak, in-game, OBS) and the mic-bar in OBS is not moving, this happens about 5-45 min into streaming. This has never happend before and ive had the same setting for a few months now and there was never a problem before. I've tried changing USB-port but No succes, ALL settings are as before and there was never a problem before. Drivers are up to date. My computer has a Really good setup and can handle the stream very well.
 

Victor Asplund

New Member
Please provide a log when asking for help.

It just happend again when i streamed for about 1 hour. Now the camera freezes, headphones + mic crashes and then works again after 3-4 sec, camera is still frozen.

15:54:25.524: CPU Name: Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz
15:54:25.524: CPU Speed: 3400MHz
15:54:25.524: Physical Cores: 6, Logical Cores: 12
15:54:25.524: Physical Memory: 16218MB Total, 9680MB Free
15:54:25.524: Windows Version: 10.0 Build 14393 (revision: 693; 64-bit)
15:54:25.524: Running as administrator: true
15:54:25.524: Aero is Enabled (Aero is always on for windows 8 and above)
15:54:25.525: Portable mode: false
15:54:25.535: OBS 17.0.0 (64bit, windows)
15:54:25.535: ---------------------------------
15:54:25.535: ---------------------------------
15:54:25.535: audio settings reset:
15:54:25.535: samples per sec: 44100
15:54:25.535: speakers: 2
15:54:25.539: ---------------------------------
15:54:25.539: Initializing D3D11..
15:54:25.539: Available Video Adapters:
15:54:25.542: Adapter 1: NVIDIA GeForce GTX 1060 6GB
15:54:25.542: Dedicated VRAM: 2102067200
15:54:25.542: Shared VRAM: 4208445440
15:54:25.542: output 1: pos={0, 0}, size={1920, 1080}, attached=true
15:54:25.542: output 2: pos={1920, 0}, size={1920, 1080}, attached=true
15:54:25.545: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 6GB (0)
15:54:26.116: D3D11 loaded sucessfully, feature level used: 45056
15:54:26.520: ---------------------------------
15:54:26.520: video settings reset:
15:54:26.520: base resolution: 1920x1080
15:54:26.520: output resolution: 1280x720
15:54:26.520: downscale filter: Bicubic
15:54:26.520: fps: 60/1
15:54:26.520: format: NV12
15:54:26.525: ---------------------------------
15:54:26.530: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
15:54:26.534: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
15:54:26.534: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
15:54:26.557: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
15:54:26.558: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
15:54:26.559: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
15:54:26.561: Failed to load 'en-US' text for module: 'obs-browser.dll'
15:54:26.561: [browser_source: 'Version: 1.27.0']
15:54:26.564: NVENC supported
15:54:26.621: Couldn't find VLC installation, VLC video source disabled
15:54:26.635: No blackmagic support
15:54:26.679: ---------------------------------
15:54:26.679: Loaded Modules:
15:54:26.679: win-wasapi.dll
15:54:26.679: win-mf.dll
15:54:26.680: win-dshow.dll
15:54:26.680: win-decklink.dll
15:54:26.680: win-capture.dll
15:54:26.680: vlc-video.dll
15:54:26.680: text-freetype2.dll
15:54:26.680: rtmp-services.dll
15:54:26.680: obs-x264.dll
15:54:26.680: obs-transitions.dll
15:54:26.680: obs-text.dll
15:54:26.680: obs-qsv11.dll
15:54:26.680: obs-outputs.dll
15:54:26.680: obs-filters.dll
15:54:26.680: obs-ffmpeg.dll
15:54:26.680: obs-browser.dll
15:54:26.680: image-source.dll
15:54:26.680: frontend-tools.dll
15:54:26.680: enc-amf.dll
15:54:26.680: coreaudio-encoder.dll
15:54:26.680: ==== Startup complete ===============================================
15:54:26.682: All scene data cleared
15:54:26.682: ------------------------------------------------
15:54:26.700: WASAPI: Device 'Headset Earphone (HyperX 7.1 Audio)' initialized
15:54:26.706: WASAPI: Device 'Headset Microphone (HyperX 7.1 Audio)' initialized
15:54:26.731: ---------------------------------
15:54:26.731: [DShow Device: 'Video Capture Device'] settings updated:
15:54:26.731: video device: Live! Cam Chat HD VF0790
15:54:26.731: video path: \\?\usb#vid_041e&pid_4097&mi_00#7&1f085793&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
15:54:26.731: resolution: 640x360
15:54:26.731: fps: 30.00 (interval: 333333)
15:54:26.731: format: YUY2
15:54:26.745: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
15:54:30.330: warning: deprecated pixel format used, make sure you did set range correctly
15:54:30.407: Switched to scene 'Gameplay + Cam'
15:54:30.407: ------------------------------------------------
15:54:30.407: Loaded scenes:
15:54:30.407: - scene 'Gameplay + Cam':
15:54:30.408: A sprite cannot be drawn without a width/height
15:54:30.408: - source: 'bild' (image_source)
15:54:30.408: - source: 'Game Capture' (game_capture)
15:54:30.408: - source: 'FollowerAlert' (browser_source)
15:54:30.408: - source: 'Video Capture Device' (dshow_input)
15:54:30.408: - source: 'overlay cam' (image_source)
15:54:30.408: - source: 'Recent Donator' (text_gdiplus)
15:54:30.408: - source: 'Recent follower' (text_gdiplus)
15:54:30.408: - scene 'Desktop windowed + Cam':
15:54:30.408: - source: 'bild' (image_source)
15:54:30.408: - source: 'Display Capture' (monitor_capture)
15:54:30.408: - source: 'FollowerAlert' (browser_source)
15:54:30.408: - source: 'Video Capture Device' (dshow_input)
15:54:30.408: - source: 'overlay cam' (image_source)
15:54:30.408: - source: 'Recent follower' (text_gdiplus)
15:54:30.408: - scene 'DESKTOP + CAM':
15:54:30.408: - source: 'Display Capture' (monitor_capture)
15:54:30.408: - source: 'FollowerAlert' (browser_source)
15:54:30.408: - source: 'Video Capture Device' (dshow_input)
15:54:30.408: - source: 'overlay cam' (image_source)
15:54:30.408: - source: 'Recent follower' (text_gdiplus)
15:54:30.408: ------------------------------------------------
15:54:30.914: Update check: last known remote version is 17.0.0
15:54:35.511: User switched to scene 'Desktop windowed + Cam'
15:55:37.112: ---------------------------------
15:55:37.112: [x264 encoder: 'simple_h264_stream'] preset: veryfast
15:55:37.124: [x264 encoder: 'simple_h264_stream'] settings:
15:55:37.124: rate_control: CBR
15:55:37.124: bitrate: 2500
15:55:37.124: buffer size: 2500
15:55:37.124: crf: 0
15:55:37.124: fps_num: 60
15:55:37.124: fps_den: 1
15:55:37.124: width: 1280
15:55:37.124: height: 720
15:55:37.124: keyint: 120
15:55:37.124: vfr: off
15:55:37.124:
15:55:37.125: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
15:55:37.157: [Media Foundation AAC: 'simple_aac']: encoder created
15:55:37.157: bitrate: 160
15:55:37.157: channels: 2
15:55:37.157: sample rate: 44100
15:55:37.157: bits-per-sample: 16
15:55:37.157:
15:55:37.157: Output 'simple_stream': 20 second delay active, preserve on disconnect is on
15:55:57.122: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-arn.twitch.tv/app...
15:55:57.172: [rtmp stream: 'simple_stream'] Interface: Intel(R) Ethernet Connection (2) I218-V (ethernet, 1000 mbps)
15:55:58.939: [rtmp stream: 'simple_stream'] Connection to rtmp://live-arn.twitch.tv/app successful
15:55:58.941: ==== Streaming Start ===============================================
15:57:34.551: adding 46 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
15:58:19.329: User switched to scene 'Gameplay + Cam'
15:58:19.330: [game-capture: 'Game Capture'] attempting to hook fullscreen process: csgo.exe
15:58:19.918: [game-capture: 'Game Capture'] d3d9 shared texture capture successful
15:58:19.924: [game-capture: 'Game Capture'] shared texture capture successful
16:41:47.142: User switched to scene 'Desktop windowed + Cam'
16:41:47.159: User switched to scene 'DESKTOP + CAM'
16:41:47.475: [game-capture: 'Game Capture'] capture stopped
16:41:48.007: User switched to scene 'DESKTOP + CAM'
16:41:50.692: User switched to scene 'Gameplay + Cam'
16:41:50.848: User switched to scene 'Desktop windowed + Cam'
16:41:51.266: User switched to scene 'Gameplay + Cam'
16:41:51.647: User switched to scene 'Desktop windowed + Cam'
16:45:49.819: Device 'Headset Earphone (HyperX 7.1 Audio)' invalidated. Retrying
16:45:49.858: Device 'Headset Microphone (HyperX 7.1 Audio)' invalidated. Retrying
16:45:52.822: [WASAPISource::TryInitialize]:[Headset Earphone (HyperX 7.1 Audio)] Failed to activate client context: 88890004
16:45:52.861: [WASAPISource::TryInitialize]:[Headset Microphone (HyperX 7.1 Audio)] Failed to activate client context: 88890004
16:45:55.840: WASAPI: Device 'Headset Earphone (HyperX 7.1 Audio)' initialized
16:45:55.874: WASAPI: Device 'Headset Microphone (HyperX 7.1 Audio)' initialized
16:46:03.071: Output 'simple_stream': stopping
16:46:03.071: Output 'simple_stream': Total encoded frames: 180357
16:46:03.071: Output 'simple_stream': Total drawn frames: 180357
16:46:03.071: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 130 (0.1%)
16:46:03.074: ==== Streaming Stop ================================================
16:46:03.075: [rtmp stream: 'simple_stream'] User stopped the stream
16:46:03.087: ==== Streaming Stop ================================================
 

Fenrir

Forum Admin
It doesn't look like it's OBS that's failing, but your headset.

Code:
16:45:49.819: Device 'Headset Earphone (HyperX 7.1 Audio)' invalidated. Retrying
16:45:49.858: Device 'Headset Microphone (HyperX 7.1 Audio)' invalidated. Retrying
16:45:52.822: [WASAPISource::TryInitialize]:[Headset Earphone (HyperX 7.1 Audio)] Failed to activate client context: 88890004
16:45:52.861: [WASAPISource::TryInitialize]:[Headset Microphone (HyperX 7.1 Audio)] Failed to activate client context: 88890004

That error code means that the headset failed to send the next audio packet. Chances are you're overloading your USB headers if the webcam is failing as well. How many ports do you have available? You can try using the USB View tool here to move devices around so they are on their own root hubs (if you have more than one available).
 

Victor Asplund

New Member
It doesn't look like it's OBS that's failing, but your headset.

Code:
16:45:49.819: Device 'Headset Earphone (HyperX 7.1 Audio)' invalidated. Retrying
16:45:49.858: Device 'Headset Microphone (HyperX 7.1 Audio)' invalidated. Retrying
16:45:52.822: [WASAPISource::TryInitialize]:[Headset Earphone (HyperX 7.1 Audio)] Failed to activate client context: 88890004
16:45:52.861: [WASAPISource::TryInitialize]:[Headset Microphone (HyperX 7.1 Audio)] Failed to activate client context: 88890004

That error code means that the headset failed to send the next audio packet. Chances are you're overloading your USB headers if the webcam is failing as well. How many ports do you have available? You can try using the USB View tool here to move devices around so they are on their own root hubs (if you have more than one available).


I have 4 root hubs available it seems like.
1. USB xHCI Compliant Host Controller
2. Intel(R) C610 series/x99 chipset USB Enhanced Host Controller #2 - 8D2D
3. USB xHCI Compliant Host Controller
4. Intel(R) C610 series/x99 chipset USB Enhanced Host Controller #1 - 8D26

Root hub 1: Nothing on any port. Only 4 empty ports in the root hub.

Root hub 2: 2. There is a [Port1] Intel - Generic USB Hub with 6 Ports.

Root hub 3.
Port1. Rival 300 mouse
Port2. inside Port2 ---> [Port1] LOGITECH - G110 G-keys [Port3] Gaming keyboard G110
Port10. inside Port10 ---> [Port3] Kingston - HyperX 7.1 Audio [Port4] Creative Technology Ltd. -Live! Cam chat HD

Root hub 4. Nothing on any port. One Root hub with [Port1] Intel - Generic USB Hub and 8 Ports attached to it.


[Port20] and [Port21] in Root hub 3 are "Generic SuperSpeed USB Hub", they should be used for better performance right?

Thank you so much for helping. Should I just switch around my USB contacs at the back of my computer to change so that the Other Root hubs are being used too? Please explain.
 

Fenrir

Forum Admin
Correct, you'll want to try and spread those out.Everything so far sounds like you're just simply overloading the available USB bandwidth on a single hub
 

Victor Asplund

New Member
Correct, you'll want to try and spread those out.Everything so far sounds like you're just simply overloading the available USB bandwidth on a single hub

Okay my man, I will try. Thank you so much for fast replies, good support. I'll hit you back here if it does not work. Thank you once again!
 

Victor Asplund

New Member
Correct, you'll want to try and spread those out.Everything so far sounds like you're just simply overloading the available USB bandwidth on a single hub


It seems like I can only use the "USB xHCI compliant Host Controller (1)/(2)" There is 2 of them as I wrote before, but only one USB-Port at my computer is connected to "USB xHCI compliant Host Controller (1)" and all the other USB-ports are connected to "USB xHCI compliant Host Controller (2)" so where ever I put my USB contacts in they connect to "USB xHCI compliant Host Controller (2)" except one USB slot. That slot is a 3.1 USB slot, and all the other USB slots are 3.0, if that matters.
 
Top