Bug Report Webcam Freeze/Lag During Stream

IncredibleCarl

New Member
Hi everyone!

Pretty new to the streaming community, and have been having loads of trouble trying to get my new Logitech C920 to run smoothly for streams. When previewing/recording/streaming the webcam by itself seems to work great at 720p/30fps. However, as soon as I begin running a game the performance starts to deteriorate, with an end result of the webcam freezing during the stream while the game continues to run smoothly. With a respectfully powerful gaming PC, and an upload rate of almost 6000 to the nearest Twitch server, I strongly believe it is a software issue I'm running into.

At this point I feel I've tried everything, including the following:
  • Lowering/Raising Resolution of Camera and Stream as a whole
  • OBS Bitrates ranging from 1000-3500
  • Uninstalling/Reinstalling Device Drivers
  • USB 2.0/3.0 slots
  • Removing all "auto" settings from webcam. (RightLight, etc...)
  • Improved Lighting
  • Video Formats (MJPEG/I420/XRGB/Any)
  • Lowering FPS on camera and stream
  • Encoding with x264 and NVENC H. 264
Any help would be greatly appreciated.

Here are log files from a streaming example where the webcam freezes and the game stream runs smoothly:

16:01:26.822: CPU Name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
16:01:26.822: CPU Speed: 4008MHz
16:01:26.822: Physical Cores: 4, Logical Cores: 8
16:01:26.822: Physical Memory: 16299MB Total, 12375MB Free
16:01:26.822: Windows Version: 10.0 Build 16299 (revision: 64; 64-bit)
16:01:26.822: Running as administrator: false
16:01:26.822: Aero is Enabled (Aero is always on for windows 8 and above)
16:01:26.822: Windows 10 Gaming Features:
16:01:26.822: Game Bar: Off
16:01:26.822: Game DVR Allowed: Yes
16:01:26.822: Game DVR: On
16:01:26.822: Game DVR Background Recording: Off
16:01:26.823: Game Mode: Off
16:01:26.823: Portable mode: false
16:01:26.833: OBS 20.1.3 (64bit, windows)
16:01:26.833: ---------------------------------
16:01:26.834: ---------------------------------
16:01:26.834: audio settings reset:
16:01:26.834: samples per sec: 44100
16:01:26.834: speakers: 2
16:01:26.834: ---------------------------------
16:01:26.834: Initializing D3D11...
16:01:26.834: Available Video Adapters:
16:01:26.835: Adapter 1: NVIDIA GeForce GTX 1070
16:01:26.835: Dedicated VRAM: 4194304000
16:01:26.835: Shared VRAM: 4250488832
16:01:26.835: output 1: pos={0, 0}, size={1920, 1080}, attached=true
16:01:26.835: output 2: pos={1920, 0}, size={1920, 1080}, attached=true
16:01:26.836: Loading up D3D11 on adapter NVIDIA GeForce GTX 1070 (0)
16:01:26.852: D3D11 loaded successfully, feature level used: 45056
16:01:27.316: ---------------------------------
16:01:27.316: video settings reset:
16:01:27.316: base resolution: 1920x1080
16:01:27.316: output resolution: 1280x720
16:01:27.316: downscale filter: Bicubic
16:01:27.316: fps: 30/1
16:01:27.316: format: NV12
16:01:27.317: Audio monitoring device:
16:01:27.317: name: Default
16:01:27.317: id: default
16:01:27.317: ---------------------------------
16:01:27.318: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
16:01:27.318: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
16:01:27.319: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
16:01:27.319: Failed to initialize module 'enc-amf.dll'
16:01:27.323: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
16:01:27.323: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
16:01:27.323: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
16:01:27.323: Failed to load 'en-US' text for module: 'obs-browser.dll'
16:01:27.323: [browser_source: 'Version: 1.29.0']
16:01:27.325: NVENC supported
16:01:27.359: VLC found, VLC video source enabled
16:01:27.361: No blackmagic support
16:01:27.401: ---------------------------------
16:01:27.401: Loaded Modules:
16:01:27.401: win-wasapi.dll
16:01:27.401: win-mf.dll
16:01:27.401: win-dshow.dll
16:01:27.401: win-decklink.dll
16:01:27.401: win-capture.dll
16:01:27.401: vlc-video.dll
16:01:27.401: text-freetype2.dll
16:01:27.401: rtmp-services.dll
16:01:27.401: obs-x264.dll
16:01:27.401: obs-vst.dll
16:01:27.401: obs-transitions.dll
16:01:27.401: obs-text.dll
16:01:27.401: obs-qsv11.dll
16:01:27.401: obs-outputs.dll
16:01:27.401: obs-filters.dll
16:01:27.401: obs-ffmpeg.dll
16:01:27.401: obs-browser.dll
16:01:27.401: image-source.dll
16:01:27.401: frontend-tools.dll
16:01:27.401: enc-amf.dll
16:01:27.401: coreaudio-encoder.dll
16:01:27.401: ---------------------------------
16:01:27.401: ==== Startup complete ===============================================
16:01:27.403: All scene data cleared
16:01:27.403: ------------------------------------------------
16:01:27.420: WASAPI: Device 'Speakers (Turtle Beach Z300 with Dolby Headphone)' initialized
16:01:27.430: WASAPI: Device 'Speakers (Realtek High Definition Audio)' initialized
16:01:27.437: WASAPI: Device 'Microphone (Yeti Stereo Microphone)' initialized
16:01:27.481: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
16:01:27.587: Switched to scene 'RocketLeague'
16:01:27.599: ------------------------------------------------
16:01:27.599: Loaded scenes:
16:01:27.599: - scene 'JustMe':
16:01:27.599: - source: 'Video Capture Device' (dshow_input)
16:01:27.599: - source: 'TwitchAlerts' (browser_source)
16:01:27.599: - source: 'Image' (image_source)
16:01:27.599: - source: 'Image 2' (image_source)
16:01:27.599: - scene 'RocketLeague':
16:01:27.599: - source: 'Game Capture' (game_capture)
16:01:27.599: - source: 'TwitchAlerts' (browser_source)
16:01:27.599: - source: 'Image 3' (image_source)
16:01:27.599: - scene 'Desktop Screen1':
16:01:27.599: - source: 'Display Capture' (monitor_capture)
16:01:27.599: - source: 'TwitchAlerts' (browser_source)
16:01:27.599: - source: 'Image 3' (image_source)
16:01:27.599: - source: 'Video Capture Device' (dshow_input)
16:01:27.599: - scene 'RocketLeague 2':
16:01:27.599: - source: 'Game Capture' (game_capture)
16:01:27.599: - source: 'TwitchAlerts' (browser_source)
16:01:27.599: - source: 'Image 3' (image_source)
16:01:27.599: - source: 'Video Capture Device' (dshow_input)
16:01:27.599: ------------------------------------------------
16:01:27.861: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
16:01:30.927: User switched to scene 'JustMe'
16:01:31.006: ---------------------------------
16:01:31.006: [DShow Device: 'Video Capture Device'] settings updated:
16:01:31.006: video device: Logitech HD Pro Webcam C920
16:01:31.006: video path: \\?\usb#vid_046d&pid_082d&mi_00#6&2fe51c5&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
16:01:31.006: resolution: 1280x720
16:01:31.006: fps: 20.00 (interval: 500000)
16:01:31.006: format: MJPEG
16:01:31.006: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
16:01:31.006:
16:01:33.172: User switched to scene 'RocketLeague'
16:01:33.747: User switched to scene 'JustMe'
16:01:33.803: ---------------------------------
16:01:33.803: [DShow Device: 'Video Capture Device'] settings updated:
16:01:33.803: video device: Logitech HD Pro Webcam C920
16:01:33.803: video path: \\?\usb#vid_046d&pid_082d&mi_00#6&2fe51c5&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
16:01:33.803: resolution: 1280x720
16:01:33.803: fps: 20.00 (interval: 500000)
16:01:33.803: format: MJPEG
16:01:33.803: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
16:01:33.803:
16:01:36.104: User switched to scene 'RocketLeague'
16:01:45.294: Video Capture Device 2: DecodeDeviceId failed
16:01:45.294: Video Capture Device 2: Video configuration failed
16:01:45.295: User added source 'Video Capture Device 2' (dshow_input) to scene 'RocketLeague'
16:01:45.373: ---------------------------------
16:01:45.373: [DShow Device: 'Video Capture Device 2'] settings updated:
16:01:45.373: video device: Logitech HD Pro Webcam C920
16:01:45.373: video path: \\?\usb#vid_046d&pid_082d&mi_00#6&2fe51c5&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
16:01:45.373: resolution: 640x480
16:01:45.373: fps: 30.00 (interval: 333333)
16:01:45.373: format: I420
16:02:06.263: Video Capture Device 2: ResolutionValid failed
16:02:06.263: Video Capture Device 2: Video configuration failed
16:02:09.044: ---------------------------------
16:02:09.044: [DShow Device: 'Video Capture Device 2'] settings updated:
16:02:09.044: video device: Logitech HD Pro Webcam C920
16:02:09.044: video path: \\?\usb#vid_046d&pid_082d&mi_00#6&2fe51c5&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
16:02:09.044: resolution: 1280x720
16:02:09.044: fps: 30.00 (interval: 333333)
16:02:09.044: format: I420
16:02:12.248: ---------------------------------
16:02:12.248: [DShow Device: 'Video Capture Device 2'] settings updated:
16:02:12.248: video device: Logitech HD Pro Webcam C920
16:02:12.248: video path: \\?\usb#vid_046d&pid_082d&mi_00#6&2fe51c5&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
16:02:12.248: resolution: 1280x720
16:02:12.248: fps: 20.00 (interval: 500000)
16:02:12.248: format: I420
16:02:17.980: ---------------------------------
16:02:17.980: [DShow Device: 'Video Capture Device 2'] settings updated:
16:02:17.980: video device: Logitech HD Pro Webcam C920
16:02:17.980: video path: \\?\usb#vid_046d&pid_082d&mi_00#6&2fe51c5&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
16:02:17.980: resolution: 1280x720
16:02:17.980: fps: 20.00 (interval: 500000)
16:02:17.980: format: MJPEG
16:02:17.980: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
16:02:17.980:
16:02:21.447: ---------------------------------
16:02:21.447: [DShow Device: 'Video Capture Device 2'] settings updated:
16:02:21.447: video device: Logitech HD Pro Webcam C920
16:02:21.447: video path: \\?\usb#vid_046d&pid_082d&mi_00#6&2fe51c5&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
16:02:21.447: resolution: 1280x720
16:02:21.447: fps: 20.00 (interval: 500000)
16:02:21.447: format: MJPEG
16:02:21.447: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
16:02:21.447:
16:02:56.531: Settings changed (outputs)
16:02:56.531: ------------------------------------------------
16:03:30.984: [game-capture: 'Game Capture'] attempting to hook process: RocketLeague.exe
16:03:30.986: [game-capture: 'Game Capture'] using helper (compatibility hook)
16:03:30.987: [game-capture: 'Game Capture'] hook not loaded yet, retrying..
16:03:34.018: [game-capture: 'Game Capture'] attempting to hook process: RocketLeague.exe
16:03:34.071: [game-capture: 'Game Capture'] d3d9 shared texture capture successful
16:03:34.084: [game-capture: 'Game Capture'] shared texture capture successful
16:03:52.095: ---------------------------------
16:03:52.095: [x264 encoder: 'streaming_h264'] preset: veryfast
16:03:52.095: [x264 encoder: 'streaming_h264'] settings:
16:03:52.095: rate_control: CBR
16:03:52.095: bitrate: 2000
16:03:52.095: buffer size: 2000
16:03:52.095: crf: 0
16:03:52.095: fps_num: 30
16:03:52.095: fps_den: 1
16:03:52.095: width: 1280
16:03:52.095: height: 720
16:03:52.095: keyint: 60
16:03:52.095:
16:03:52.095: [x264 encoder: 'streaming_h264'] custom settings: scenecut=0
16:03:52.099: [Media Foundation AAC: 'Stream']: encoder created
16:03:52.099: bitrate: 160
16:03:52.099: channels: 2
16:03:52.099: sample rate: 44100
16:03:52.099: bits-per-sample: 16
16:03:52.099:
16:03:52.100: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-iad.twitch.tv/app...
16:03:52.137: [rtmp stream: 'adv_stream'] Interface: Intel(R) Ethernet Connection (2) I219-V (ethernet, 1000 mbps)
16:03:53.224: [rtmp stream: 'adv_stream'] Connection to rtmp://live-iad.twitch.tv/app successful
16:03:53.228: ==== Streaming Start ===============================================
 

dannytranlx

New Member
My god, are you me? I have the same issue with my 6700K, GTX 970 and this freaking C920 webcam. Glad to see I'm not alone, it's been really hard to research about this issue.

I've also tried to lower the quality, switch usb ports, change, re-install drivers, nothing helps. I'm really wondering what is wrong. Feeling like my next step would to try out XSplit to see if it's the same with my hardware.
 

IncredibleCarl

New Member
My god, are you me? I have the same issue with my 6700K, GTX 970 and this freaking C920 webcam. Glad to see I'm not alone, it's been really hard to research about this issue.

I've also tried to lower the quality, switch usb ports, change, re-install drivers, nothing helps. I'm really wondering what is wrong. Feeling like my next step would to try out XSplit to see if it's the same with my hardware.

I've tried all types of different software as well (XSplit, Bebo, etc..) ended up doing the same thing with those as well.
 
Top