Question / Help Webcam Randomly Dropping below 5FPS.

Delcady

New Member
Hello,

Occasionally when I'm streaming my webcam will suddenly jump to a very low FPS. To the point where it looks like I'm running a slideshow, I am using a logitech c920. I have provided a log from my last stream, I lost connection to OBS throughout the evening but it did reconnect. In order for me to fix the webcam issues I open the video capture deactivate it and then reactivate it and this suddenly fixes the issue. The problem seems to happen very rarely from when I'm in game to when I'm don't have a game open. I have no idea what is causing this problem. I have made sure to go through the FPS drops list, which is pinned.

  1. 15:33:28.586: CPU Name: AMD FX(tm)-8350 Eight-Core Processor
  2. 15:33:28.586: CPU Speed: 4000MHz
  3. 15:33:28.586: Physical Cores: 4, Logical Cores: 8
  4. 15:33:28.586: Physical Memory: 8173MB Total, 4646MB Free
  5. 15:33:28.586: Windows Version: 10.0 Build 15063 (revision: 674; 64-bit)
  6. 15:33:28.586: Running as administrator: true
  7. 15:33:28.586: Aero is Enabled (Aero is always on for windows 8 and above)
  8. 15:33:28.587: Portable mode: false
  9. 15:33:28.602: OBS 20.1.0 (64bit, windows)
  10. 15:33:28.602: ---------------------------------
  11. 15:33:28.603: ---------------------------------
  12. 15:33:28.603: audio settings reset:
  13. 15:33:28.603: samples per sec: 44100
  14. 15:33:28.603: speakers: 2
  15. 15:33:28.605: ---------------------------------
  16. 15:33:28.605: Initializing D3D11...
  17. 15:33:28.605: Available Video Adapters:
  18. 15:33:28.607: Adapter 1: AMD Radeon (TM) R7 370 Series Graphics
  19. 15:33:28.607: Dedicated VRAM: 4276273152
  20. 15:33:28.607: Shared VRAM: 4285294592
  21. 15:33:28.607: output 1: pos={0, 0}, size={1920, 1080}, attached=true
  22. 15:33:28.607: output 2: pos={1920, 0}, size={1680, 1050}, attached=true
  23. 15:33:28.609: Loading up D3D11 on adapter AMD Radeon (TM) R7 370 Series Graphics (0)
  24. 15:33:28.617: D3D11 loaded successfully, feature level used: 45056
  25. 15:33:29.564: ---------------------------------
  26. 15:33:29.564: video settings reset:
  27. 15:33:29.564: base resolution: 1920x1080
  28. 15:33:29.564: output resolution: 1280x720
  29. 15:33:29.564: downscale filter: Bicubic
  30. 15:33:29.564: fps: 30/1
  31. 15:33:29.564: format: NV12
  32. 15:33:29.566: Audio monitoring device:
  33. 15:33:29.566: name: Default
  34. 15:33:29.566: id: default
  35. 15:33:29.568: ---------------------------------
  36. 15:33:29.578: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
  37. 15:33:29.637: [CoreAudio encoder]: Adding CoreAudio AAC encoder
  38. 15:33:29.667: [AMF] Version 2.2.2 loaded (Compiled: 1.4.4.0, Runtime: 1.4.2.0, Library: 1;4;2;0;17.10.3211.1031;201707041820;CL#1429932).
  39. 15:33:29.730: [AMF] <Id: 1> Unable to create H264/AVC encoder, error AMF_ENCODER_NOT_PRESENT (code 36)
  40. 15:33:29.744: [AMF] <Id: 2> Unable to create H265/HEVC encoder, error AMF_FAIL (code 1)
  41. 15:33:29.773: [AMF] <Id: 3> Unable to create H264/AVC encoder, error AMF_ENCODER_NOT_PRESENT (code 36)
  42. 15:33:29.792: [AMF] <Id: 4> Unable to create H265/HEVC encoder, error AMF_FAIL (code 1)
  43. 15:33:29.793: [AMF] [H264/AVC] Not supported by any GPU, disabling...
  44. 15:33:29.793: [AMF] [H265/HEVC] Not supported by any GPU, disabling...
  45. 15:33:29.867: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
  46. 15:33:29.869: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
  47. 15:33:29.872: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
  48. 15:33:29.877: Failed to load 'en-US' text for module: 'obs-browser.dll'
  49. 15:33:29.877: [browser_source: 'Version: 1.29.0']
  50. 15:33:29.934: LoadLibrary failed for 'nvEncodeAPI64.dll': The specified module could not be found.
  51. 15:33:29.934: (126)
  52. 15:33:30.244: Couldn't find VLC installation, VLC video source disabled
  53. 15:33:30.254: No blackmagic support
  54. 15:33:30.459: ---------------------------------
  55. 15:33:30.459: Loaded Modules:
  56. 15:33:30.459: win-wasapi.dll
  57. 15:33:30.459: win-mf.dll
  58. 15:33:30.459: win-dshow.dll
  59. 15:33:30.459: win-decklink.dll
  60. 15:33:30.459: win-capture.dll
  61. 15:33:30.459: vlc-video.dll
  62. 15:33:30.459: text-freetype2.dll
  63. 15:33:30.459: rtmp-services.dll
  64. 15:33:30.459: obs-x264.dll
  65. 15:33:30.459: obs-vst.dll
  66. 15:33:30.459: obs-transitions.dll
  67. 15:33:30.459: obs-text.dll
  68. 15:33:30.459: obs-qsv11.dll
  69. 15:33:30.459: obs-outputs.dll
  70. 15:33:30.459: obs-filters.dll
  71. 15:33:30.459: obs-ffmpeg.dll
  72. 15:33:30.459: obs-browser.dll
  73. 15:33:30.459: image-source.dll
  74. 15:33:30.459: frontend-tools.dll
  75. 15:33:30.459: enc-amf.dll
  76. 15:33:30.459: coreaudio-encoder.dll
  77. 15:33:30.459: ---------------------------------
  78. 15:33:30.459: ==== Startup complete ===============================================
  79. 15:33:30.509: All scene data cleared
  80. 15:33:30.509: ------------------------------------------------
  81. 15:33:30.550: WASAPI: Device 'Speakers (3- High Definition Audio Device)' initialized
  82. 15:33:30.621: WASAPI: Device 'Microphone (HD Pro Webcam C920)' initialized
  83. 15:33:30.681: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
  84. 15:33:31.936: [Media Source 'Media Source']: settings:
  85. 15:33:31.936: input: C:/Users/andre/Downloads/hello.m4v
  86. 15:33:31.936: input_format: (null)
  87. 15:33:31.936: is_looping: no
  88. 15:33:31.936: is_hw_decoding: yes
  89. 15:33:31.936: is_clear_on_media_end: yes
  90. 15:33:31.936: restart_on_activate: yes
  91. 15:33:31.936: close_when_inactive: no
  92. 15:33:31.950: error: A non-intra slice in an IDR NAL unit.
  93. 15:33:31.950: error: decode_slice_header error
  94. 15:33:31.952: [Media Source 'Media Source 2']: settings:
  95. 15:33:31.952: input: C:/Users/andre/Pictures/AndrewStartingSoon.gif
  96. 15:33:31.952: input_format: (null)
  97. 15:33:31.952: is_looping: yes
  98. 15:33:31.952: is_hw_decoding: yes
  99. 15:33:31.952: is_clear_on_media_end: no
  100. 15:33:31.952: restart_on_activate: yes
  101. 15:33:31.952: close_when_inactive: no
  102. 15:33:31.986: error: A non-intra slice in an IDR NAL unit.
  103. 15:33:31.986: error: decode_slice_header error
  104. 15:33:31.997: Switched to scene 'Scene 2'
  105. 15:33:32.002: ------------------------------------------------
  106. 15:33:32.002: Loaded scenes:
  107. 15:33:32.002: - scene 'Scene 2':
  108. 15:33:32.002: - source: 'Game Capture' (game_capture)
  109. 15:33:32.002: - source: 'Alerts' (browser_source)
  110. 15:33:32.002: - source: 'cam' (dshow_input)
  111. 15:33:32.002: - filter: 'Crop' (crop_filter)
  112. 15:33:32.002: - source: 'Follows/Subs' (browser_source)
  113. 15:33:32.002: - source: 'Nowplaying' (image_source)
  114. 15:33:32.002: - source: 'Text (GDI+)' (text_gdiplus)
  115. 15:33:32.002: - filter: 'Scroll' (scroll_filter)
  116. 15:33:32.002: - scene 'BRB':
  117. 15:33:32.002: - source: 'Media Source' (ffmpeg_source)
  118. 15:33:32.002: - source: 'Image' (image_source)
  119. 15:33:32.002: - scene 'Stream Starting':
  120. 15:33:32.002: - source: 'Media Source 2' (ffmpeg_source)
  121. 15:33:32.002: - filter: 'Scaling/Aspect Ratio' (scale_filter)
  122. 15:33:32.002: - filter: 'Crop/Pad' (crop_filter)
  123. 15:33:32.002: ------------------------------------------------
  124. 15:33:32.078: ---------------------------------
  125. 15:33:32.078: [DShow Device: 'cam'] settings updated:
  126. 15:33:32.078: video device: Logitech HD Pro Webcam C920
  127. 15:33:32.078: video path: \\?\usb#vid_046d&pid_082d&mi_00#8&244b8e41&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
  128. 15:33:32.078: resolution: 1280x720
  129. 15:33:32.078: fps: 30.00 (interval: 333333)
  130. 15:33:32.078: format: MJPEG
  131. 15:33:32.117: using video device audio: no
  132. 15:33:32.117: audio device: Microphone (3- High Definition Audio Device)
  133. 15:33:32.117: sample rate: 44100
  134. 15:33:32.117: channels: 2
  135. 15:33:32.117: audio type: Capture
  136. 15:33:32.118: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
  137. 15:33:32.118:
  138. 15:33:44.948: ---------------------------------
  139. 15:33:44.948: [DShow Device: 'cam'] settings updated:
  140. 15:33:44.948: video device: Logitech HD Pro Webcam C920
  141. 15:33:44.948: video path: \\?\usb#vid_046d&pid_082d&mi_00#8&244b8e41&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
  142. 15:33:44.948: resolution: 1280x720
  143. 15:33:44.948: fps: 30.00 (interval: 333333)
  144. 15:33:44.948: format: MJPEG
  145. 15:33:44.969: using video device audio: no
  146. 15:33:44.969: audio device: Microphone (3- High Definition Audio Device)
  147. 15:33:44.969: sample rate: 44100
  148. 15:33:44.969: channels: 2
  149. 15:33:44.969: audio type: Capture
  150. 15:33:44.970: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
  151. 15:33:44.970:
  152. 15:33:49.175: ==== Shutting down ==================================================
  153. 15:33:49.184: Switched to scene '(null)'
  154. 15:33:49.297: WASAPI: Device 'Speakers (3- High Definition Audio Device)' Terminated
  155. 15:33:49.302: WASAPI: Device 'Microphone (HD Pro Webcam C920)' Terminated
  156. 15:33:49.328: All scene data cleared
  157. 15:33:49.328: ------------------------------------------------
  158. 15:33:49.368: Freeing OBS context data
  159. 15:33:49.420: == Profiler Results =============================
  160. 15:33:49.420: run_program_init: 3557.21 ms
  161. 15:33:49.420: ┣OBSApp::AppInit: 15.673 ms
  162. 15:33:49.420: ┃ ┗OBSApp::InitLocale: 1.52 ms
  163. 15:33:49.420: ┗OBSApp::OBSInit: 3532.03 ms
  164. 15:33:49.420: ┣obs_startup: 2.016 ms
  165. 15:33:49.420: ┗OBSBasic::OBSInit: 3495.15 ms
  166. 15:33:49.420: ┣OBSBasic::InitBasicConfig: 0.516 ms
  167. 15:33:49.420: ┣OBSBasic::ResetAudio: 0.263 ms
  168. 15:33:49.420: ┣OBSBasic::ResetVideo: 962.767 ms
  169. 15:33:49.420: ┣OBSBasic::InitOBSCallbacks: 0.005 ms
  170. 15:33:49.420: ┣OBSBasic::InitHotkeys: 1.106 ms
  171. 15:33:49.420: ┣obs_load_all_modules: 891.068 ms
  172. 15:33:49.420: ┃ ┣obs_init_module(coreaudio-encoder.dll): 57.467 ms
  173. 15:33:49.420: ┃ ┣obs_init_module(enc-amf.dll): 146.115 ms
  174. 15:33:49.420: ┃ ┣obs_init_module(frontend-tools.dll): 3.766 ms
  175. 15:33:49.420: ┃ ┣obs_init_module(image-source.dll): 0.012 ms
  176. 15:33:49.420: ┃ ┣obs_init_module(obs-browser.dll): 1.124 ms
  177. 15:33:49.420: ┃ ┣obs_init_module(obs-ffmpeg.dll): 27.899 ms
  178. 15:33:49.420: ┃ ┣obs_init_module(obs-filters.dll): 0.068 ms
  179. 15:33:49.420: ┃ ┣obs_init_module(obs-outputs.dll): 0.016 ms
  180. 15:33:49.420: ┃ ┣obs_init_module(obs-qsv11.dll): 246.715 ms
  181. 15:33:49.420: ┃ ┣obs_init_module(obs-text.dll): 3.132 ms
  182. 15:33:49.420: ┃ ┣obs_init_module(obs-transitions.dll): 0.005 ms
  183. 15:33:49.420: ┃ ┣obs_init_module(obs-vst.dll): 0.001 ms
  184. 15:33:49.420: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
  185. 15:33:49.420: ┃ ┣obs_init_module(rtmp-services.dll): 3.143 ms
  186. 15:33:49.420: ┃ ┣obs_init_module(text-freetype2.dll): 0.197 ms
  187. 15:33:49.420: ┃ ┣obs_init_module(vlc-video.dll): 0.035 ms
  188. 15:33:49.420: ┃ ┣obs_init_module(win-capture.dll): 0.198 ms
  189. 15:33:49.420: ┃ ┣obs_init_module(win-decklink.dll): 2.728 ms
  190. 15:33:49.420: ┃ ┣obs_init_module(win-dshow.dll): 5.039 ms
  191. 15:33:49.420: ┃ ┣obs_init_module(win-mf.dll): 171.879 ms
  192. 15:33:49.420: ┃ ┣obs_init_module(win-wasapi.dll): 0.008 ms
  193. 15:33:49.420: ┃ ┗reset_win32_symbol_paths: 0.193 ms
  194. 15:33:49.420: ┣OBSBasic::ResetOutputs: 36.813 ms
  195. 15:33:49.420: ┣OBSBasic::CreateHotkeys: 0.267 ms
  196. 15:33:49.420: ┣OBSBasic::InitService: 1.977 ms
  197. 15:33:49.420: ┣OBSBasic::InitPrimitives: 2.812 ms
  198. 15:33:49.420: ┗OBSBasic::Load: 1501.04 ms
  199. 15:33:49.420: obs_hotkey_thread(25 ms): min=0.003 ms, median=0.006 ms, max=7.019 ms, 99th percentile=0.07 ms, 100% below 25 ms
  200. 15:33:49.420: audio_thread(Audio): min=0 ms, median=0.088 ms, max=11.729 ms, 99th percentile=0.681 ms
  201. 15:33:49.420: obs_video_thread(33.3333 ms): min=0.428 ms, median=2.526 ms, max=1341.6 ms, 99th percentile=10.59 ms, 99.639% below 33.333 ms
  202. 15:33:49.420: ┣tick_sources: min=0.001 ms, median=0.017 ms, max=1338.94 ms, 99th percentile=1.366 ms
  203. 15:33:49.420: ┣render_displays: min=0.001 ms, median=1.895 ms, max=34.043 ms, 99th percentile=9.77 ms
  204. 15:33:49.421: ┗output_frame: min=0.421 ms, median=0.606 ms, max=6.058 ms, 99th percentile=1.516 ms
  205. 15:33:49.421: ┣gs_context(video->graphics): min=0.149 ms, median=0.228 ms, max=5.611 ms, 99th percentile=0.98 ms
  206. 15:33:49.421: ┃ ┣render_video: min=0.045 ms, median=0.093 ms, max=0.61 ms, 99th percentile=0.384 ms
  207. 15:33:49.421: ┃ ┃ ┣render_main_texture: min=0.003 ms, median=0.052 ms, max=0.595 ms, 99th percentile=0.279 ms
  208. 15:33:49.421: ┃ ┃ ┣render_output_texture: min=0.004 ms, median=0.014 ms, max=0.329 ms, 99th percentile=0.053 ms
  209. 15:33:49.421: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.015 ms, max=0.173 ms, 99th percentile=0.039 ms
  210. 15:33:49.421: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.008 ms, max=0.201 ms, 99th percentile=0.026 ms
  211. 15:33:49.421: ┃ ┣download_frame: min=0 ms, median=0.006 ms, max=3.18 ms, 99th percentile=0.025 ms
  212. 15:33:49.421: ┃ ┗gs_flush: min=0.03 ms, median=0.125 ms, max=1.616 ms, 99th percentile=0.426 ms
  213. 15:33:49.421: ┗output_video_data: min=0.294 ms, median=0.379 ms, max=1.207 ms, 99th percentile=0.858 ms
  214. 15:33:49.421: video_thread(video): min=0.001 ms, median=0.001 ms, max=0.032 ms, 99th percentile=0.005 ms
  215. 15:33:49.421: =================================================
  216. 15:33:49.421: == Profiler Time Between Calls ==================
  217. 15:33:49.421: obs_hotkey_thread(25 ms): min=24.225 ms, median=25.106 ms, max=43.398 ms, 66.3403% within ±2% of 25 ms (0.244798% lower, 33.4149% higher)
  218. 15:33:49.421: obs_video_thread(33.3333 ms): min=25.577 ms, median=33.333 ms, max=1341.61 ms, 97.83% within ±2% of 33.333 ms (0.904159% lower, 1.26582% higher)
  219. 15:33:49.421: =================================================
  220. 15:33:49.436: Number of memory leaks: 17
I have included a second log, which went over into the next day as the stream was over 8 hours:

https://pastebin.com/tzHPdZB1

I have also included a highlight of what I mean -

https://www.twitch.tv/videos/184445798

Please let me know if you need anymore info, this issue is driving me mad :(
 
Top