Question / Help My webcam freezes, log inside

iMizok

New Member
Here is log, webcam freezes after streaming for about... 15 minutes? sometimes less time sometimes more. regardless it freezes. PLEASE HELP

Code:
14:33:59: Open Broadcaster Software v0.584b - 32bit (´・ω・`)
14:33:59: -------------------------------
14:33:59: CPU Name: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz
14:33:59: CPU Speed: 2594MHz
14:33:59: Physical Memory:  4095MB Total, 4095MB Free
14:33:59: stepping id: 9, model 58, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 4, total cores 2
14:33:59: monitor 1: pos={0, 0}, size={1366, 768}
14:33:59: Windows Version: 6.2 Build 9200 
14:33:59: Aero is Enabled
14:33:59: -------------------------------
14:33:59: OBS Modules:
14:33:59: Base Address     Module
14:33:59: 00070000         OBS.exe
14:33:59: 66CE0000         OBSApi.dll
14:33:59: 67FE0000         DShowPlugin.dll
14:33:59: 67C50000         GraphicsCapture.dll
14:33:59: 67C30000         NoiseGate.dll
14:33:59: 67C10000         PSVPlugin.dll
14:33:59: ------------------------------------------
14:33:59: Adapter 1
14:33:59:   Video Adapter: Intel(R) HD Graphics 4000
14:33:59:   Video Adapter Dedicated Video Memory: 33554432
14:33:59:   Video Adapter Shared System Memory: 1711276032
14:33:59:   Video Adapter Output 1: pos={0, 0}, size={1366, 768}, attached=true
14:33:59: =====Stream Start: 2013-11-24, 14:33:59===============================================
14:33:59:   Multithreaded optimizations: On
14:33:59:   Base resolution: 1366x768
14:33:59:   Output resolution: 1364x768
14:33:59: ------------------------------------------
14:33:59: Loading up D3D10 on Intel(R) HD Graphics 4000...
14:33:59: ------------------------------------------
14:33:59: Audio Format: 44100hz
14:33:59: Playback device Default
14:33:59: ------------------------------------------
14:33:59: Using desktop audio input: Speakers (Realtek High Definition Audio)
14:33:59: ------------------------------------------
14:33:59: Using auxilary audio input: Microphone Array (Realtek High Definition Audio)
14:33:59: ------------------------------------------
14:33:59: Audio Encoding: AAC
14:33:59:     bitrate: 128
14:33:59: ------------------------------------------
14:33:59:     device: TOSHIBA Web Camera - HD,
14:33:59:     device id \\?\usb#vid_04f2&pid_b361&mi_00#7&9e9ec3f&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
14:33:59:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-666666
14:33:59:     use buffering: false - 0, fourCC: 'YUY2'
14:33:59:     audio device: Microphone Array (Realtek High Definition Audio),
14:33:59:     audio device id (null),
14:33:59: 
14:33:59:     device audio info - bits per sample: 16, channels: 2, samples per sec: 44100, block size: 4
14:34:00: Using directshow input
14:34:00: Scene buffering time set to 400
14:34:00: ------------------------------------------
14:34:00: Video Encoding: x264
14:34:00:     fps: 20
14:34:00:     width: 1364, height: 768
14:34:00:     preset: veryfast
14:34:00:     profile: high
14:34:00:     keyint: 40
14:34:00:     CBR: yes
14:34:00:     CFR: yes
14:34:00:     max bitrate: 2000
14:34:00:     buffer size: 2000
14:34:00: ------------------------------------------
14:34:00: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
14:34:00: MMDeviceAudioSource: Frequency for device 'Microphone Array (Realtek High Definition Audio)' is 384000, samples per sec is 48000
14:34:26: Using graphics capture
14:35:41: Using graphics capture
14:35:53: Using graphics capture
14:36:00: SharedTexCapture hooked
14:36:01: SharedTexCapture hooked
14:36:32: Total frames encoded: 3019, total frames duplicated: 0 (0.00%)
14:36:32: Total frames rendered: 3022, number of late frames: 0 (0.00%) (it's okay for some frames to be late)
14:36:32: 
14:36:32: Profiler time results:
14:36:32: 
14:36:32: ==============================================================
14:36:32: video thread frame - [100%] [avg time: 1.352 ms] [children: 49.9%] [unaccounted: 50.1%]
14:36:32: | scene->Preprocess - [36.5%] [avg time: 0.493 ms]
14:36:32: | GPU download and conversion - [13.4%] [avg time: 0.181 ms] [children: 11.7%] [unaccounted: 1.7%]
14:36:32: | | flush - [4.36%] [avg time: 0.059 ms]
14:36:32: | | CopyResource - [6.8%] [avg time: 0.092 ms]
14:36:32: | | conversion to 4:2:0 - [0.518%] [avg time: 0.007 ms]
14:36:32: Convert444Thread - [100%] [avg time: 1.354 ms] [children: 98.8%] [unaccounted: 1.18%]
14:36:32: | Convert444toNV12 - [98.8%] [avg time: 1.338 ms]
14:36:32: encoder thread frame - [100%] [avg time: 1.315 ms]
14:36:32: ==============================================================
14:36:32: 
14:36:32: 
14:36:32: Profiler CPU results:
14:36:32: 
14:36:32: ==============================================================
14:36:32: video thread frame - [cpu time: avg 1.53 ms, total 4625 ms] [avg calls per frame: 1]
14:36:32: | scene->Preprocess - [cpu time: avg 0.072 ms, total 218.75 ms] [avg calls per frame: 1]
14:36:32: | GPU download and conversion - [cpu time: avg 0.082 ms, total 250 ms] [avg calls per frame: 1]
14:36:32: | | flush - [cpu time: avg 0.036 ms, total 109.375 ms] [avg calls per frame: 1]
14:36:32: | | CopyResource - [cpu time: avg 0.036 ms, total 109.375 ms] [avg calls per frame: 1]
14:36:32: | | conversion to 4:2:0 - [cpu time: avg 0 ms, total 0 ms] [avg calls per frame: 1]
14:36:32: Convert444Thread - [cpu time: avg 0.871 ms, total 2625 ms] [avg calls per frame: 1]
14:36:32: | Convert444toNV12 - [cpu time: avg 0.871 ms, total 2625 ms] [avg calls per frame: 1]
14:36:32: encoder thread frame - [cpu time: avg 1.437 ms, total 4328.13 ms] [avg calls per frame: 1]
14:36:32: ==============================================================
14:36:32: 
14:36:32: =====Stream End: 2013-11-24, 14:36:32=================================================
14:36:33: =====Stream Start: 2013-11-24, 14:36:33===============================================
14:36:33:   Multithreaded optimizations: On
14:36:33:   Base resolution: 1366x768
14:36:33:   Output resolution: 1364x768
14:36:33: ------------------------------------------
14:36:33: Loading up D3D10 on Intel(R) HD Graphics 4000...
14:36:33: ------------------------------------------
14:36:33: Audio Format: 44100hz
14:36:33: Playback device Default
14:36:33: ------------------------------------------
14:36:33: Using desktop audio input: Speakers (Realtek High Definition Audio)
14:36:33: ------------------------------------------
14:36:33: Using auxilary audio input: Microphone Array (Realtek High Definition Audio)
14:36:33: ------------------------------------------
14:36:33: Audio Encoding: AAC
14:36:33:     bitrate: 128
14:36:33: ------------------------------------------
14:36:33:     device: TOSHIBA Web Camera - HD,
14:36:33:     device id \\?\usb#vid_04f2&pid_b361&mi_00#7&9e9ec3f&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global,
14:36:33:     chosen type: YUY2, usingFourCC: false, res: 640x480 - 640x480, frameIntervals: 333333-666666
14:36:33:     use buffering: false - 0, fourCC: 'YUY2'
14:36:33:     audio device: Microphone Array (Realtek High Definition Audio),
14:36:33:     audio device id (null),
14:36:33: 
14:36:33:     device audio info - bits per sample: 16, channels: 2, samples per sec: 44100, block size: 4
14:36:34: Using directshow input
14:36:34: Using graphics capture
14:36:34: Scene buffering time set to 400
14:36:34: ------------------------------------------
14:36:34: Video Encoding: x264
14:36:34:     fps: 20
14:36:34:     width: 1364, height: 768
14:36:34:     preset: veryfast
14:36:34:     profile: high
14:36:34:     keyint: 40
14:36:34:     CBR: yes
14:36:34:     CFR: yes
14:36:34:     max bitrate: 2000
14:36:34:     buffer size: 2000
14:36:34: ------------------------------------------
14:36:34: MMDeviceAudioSource: Frequency for device 'Speakers (Realtek High Definition Audio)' is 384000, samples per sec is 48000
14:36:34: MMDeviceAudioSource: Frequency for device 'Microphone Array (Realtek High Definition Audio)' is 384000, samples per sec is 48000
14:36:36: Using RTMP service: Twitch / Justin.tv
14:36:36:   Server selection: rtmp://live-jfk.justin.tv/app
14:36:36:   Interface: Realtek PCIe FE Family Controller (ethernet, 100 mbps)
14:36:36: SharedTexCapture hooked
14:36:36: Completed handshake with rtmp://live-jfk.justin.tv/app in 352 ms.
14:36:38: SO_SNDBUF was at 65536
14:36:38: SO_SNDBUF is now 65536
14:36:39: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 131072 (buffer: 6483 / 272384)
14:36:40: RTMPPublisher::SocketLoop: Increasing send buffer to ISB 262144 (buffer: 0 / 272384)
14:39:56: Using Window Capture
14:44:21: Using Window Capture
14:59:38: Total frames encoded: 27676, total frames duplicated: 67 (0.24%)
14:59:38: Number of frames skipped due to encoder lag: 7 (0.03%)
14:59:38: Total frames rendered: 27673, number of late frames: 5 (0.02%) (it's okay for some frames to be late)
14:59:39: RTMPPublisher::SocketLoop: Graceful loop exit
14:59:39: Average send payload: 8228 bytes, average send interval: 30 ms
14:59:39: Number of times waited to send: 0, Waited for a total of 0 bytes
14:59:39: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
14:59:39: Number of bytes sent: 368271808
14:59:39: 
14:59:39: Profiler time results:
14:59:39: 
14:59:39: ==============================================================
14:59:39: video thread frame - [100%] [avg time: 1.992 ms] [children: 72.2%] [unaccounted: 27.8%]
14:59:39: | scene->Preprocess - [58.5%] [avg time: 1.166 ms]
14:59:39: | GPU download and conversion - [13.7%] [avg time: 0.273 ms] [children: 12.1%] [unaccounted: 1.56%]
14:59:39: | | flush - [7.08%] [avg time: 0.141 ms]
14:59:39: | | CopyResource - [4.87%] [avg time: 0.097 ms]
14:59:39: | | conversion to 4:2:0 - [0.201%] [avg time: 0.004 ms]
14:59:39: Convert444Thread - [100%] [avg time: 1.333 ms] [children: 98.9%] [unaccounted: 1.05%]
14:59:39: | Convert444toNV12 - [98.9%] [avg time: 1.319 ms]
14:59:39: encoder thread frame - [100%] [avg time: 2.102 ms]
14:59:39: ==============================================================
14:59:39: 
14:59:39: 
14:59:39: Profiler CPU results:
14:59:39: 
14:59:39: ==============================================================
14:59:39: video thread frame - [cpu time: avg 1.086 ms, total 30078.1 ms] [avg calls per frame: 1]
14:59:39: | scene->Preprocess - [cpu time: avg 0.29 ms, total 8046.88 ms] [avg calls per frame: 1]
14:59:39: | GPU download and conversion - [cpu time: avg 0.346 ms, total 9578.13 ms] [avg calls per frame: 1]
14:59:39: | | flush - [cpu time: avg 0.172 ms, total 4765.63 ms] [avg calls per frame: 1]
14:59:39: | | CopyResource - [cpu time: avg 0.137 ms, total 3796.88 ms] [avg calls per frame: 1]
14:59:39: | | conversion to 4:2:0 - [cpu time: avg 0.005 ms, total 156.25 ms] [avg calls per frame: 1]
14:59:39: Convert444Thread - [cpu time: avg 1.62 ms, total 44828.1 ms] [avg calls per frame: 1]
14:59:39: | Convert444toNV12 - [cpu time: avg 1.611 ms, total 44578.1 ms] [avg calls per frame: 1]
14:59:39: encoder thread frame - [cpu time: avg 0.951 ms, total 26312.5 ms] [avg calls per frame: 1]
14:59:39: ==============================================================
14:59:39: 
14:59:39: =====Stream End: 2013-11-24, 14:59:39=================================================


Last game capture log:
2013-11-24, 14:35:53: we're booting up: 
14:35:53: D3D9 Present
14:35:53: (half life scientist) everything..  seems to be in order
14:36:01: D3D9EndScene called
14:36:01: D3DPRESENT_PARAMETERS {
14:36:01: 	BackBufferWidth: 1
14:36:01: 	BackBufferHeight: 1
14:36:01: 	BackBufferFormat: D3DFMT_A8R8G8B8
14:36:01: 	BackBufferCount: 1
14:36:01: 	MultiSampleType: D3DMULTISAMPLE_NONE
14:36:01: 	MultiSampleQuality: 0
14:36:01: 	SwapEffect: D3DSWAPEFFECT_COPY
14:36:01: 	hDeviceWindow: 65552
14:36:01: 	Windowed: true
14:36:01: 	EnableAutoDepthStencil: false
14:36:01: 	AutoDepthStencilFormat: D3DFMT_UNKNOWN
14:36:01: 	Flags: None
14:36:01: 	FullScreen_RefreshRateInHz: 0
14:36:01: 	PresentationInterval: 1
14:36:01: };
14:36:01: successfully set up d3d9 hooks
14:36:01: D3D9SwapPresent called
14:36:01: DoD3D9GPUHook: success - d3d9ex
14:36:01: D3DSURFACE_DESC {
14:36:01: 	Format: D3DFMT_A8R8G8B8
14:36:01: 	Type: D3DRTYPE_SURFACE
14:36:01: 	Usage: D3DUSAGE_RENDERTARGET 
14:36:01: 	Pool: D3DPOOL_DEFAULT
14:36:01: 	MultiSampleType: D3DMULTISAMPLE_NONE
14:36:01: 	MultiSampleQuality: 0
14:36:01: 	Width: 1
14:36:01: 	Height: 1
14:36:01: };
14:36:01: successfully capturing d3d9 frames via GPU
14:36:23: ---------------------- Cleared D3D9 Capture ----------------------
14:36:23: received restart event, capturing
720
14:36:00: };
14:36:00: successfully capturing d3d9 frames via GPU
14:36:36: ---------------------- Cleared D3D9 Capture ----------------------
14:36:36: received restart event, capturing
14:36:36: DoD3D9GPUHook: success - d3d9ex
14:36:36: D3D9EndScene called
14:36:36: D3D9SwapPresent called
14:36:38: D3DSURFACE_DESC {
14:36:38: 	Format: D3DFMT_X8R8G8B8
14:36:38: 	Type: D3DRTYPE_SURFACE
14:36:38: 	Usage: D3DUSAGE_RENDERTARGET 
14:36:38: 	Pool: D3DPOOL_DEFAULT
14:36:38: 	MultiSampleType: D3DMULTISAMPLE_NONE
 

hilalpro

Member
If you've already created a global source you can delete the old device/cam source and recreate a new global one by right clicking on the sources field Add>global source.
 

iMizok

New Member
is there any way you can skype with me or something and explain to me how to get this right? please?
 

dodgepong

Administrator
Community Helper
1. Click the "Global sources" button and make sure your webcam is there, then close the Global Sources box.
2. Right-click the Sources box, select Add > Global Sources > (Your webcam)

That should add the webcam as a global source to your scene.

I'm not sure that adding it as a global source would fix webcam freezes though, if you're not changing scenes all the time.
 
Top