Question / Help Dropped Frames with Logitech Webcam C270

JobDraconis

New Member
Hi!

I think I solved my other stability problem but now I noticed another problem.
When I switch scenes I drop almost 100 frames each time if there is a webcam on that scene. I used a Logitech Webcam C270.

Here is my latest log
Code:
17:38:48: Open Broadcaster Software v0.522b - 64bit ( ^ω^)
17:38:48: -------------------------------
17:38:48: CPU Name: AMD Phenom(tm) II X4 965 Processor
17:38:48: CPU Speed: 3684MHz
17:38:48: Physical Memory:  8153MB Total, 5809MB Free
17:38:48: stepping id: 3, model 4, family 15, type 0, extmodel 8, extfamily 0, HTT 1, logical cores 4, total cores 4
17:38:48: monitor 1: pos={0, 0}, size={1920, 1080}
17:38:48: monitor 2: pos={1920, 0}, size={1280, 1024}
17:38:48: Windows Version: 6.1 Build 7601 S
17:38:48: Aero is Disabled
17:38:48: -------------------------------
17:38:48: OBS Modules:
17:38:48: Base Address     Module
17:38:48: 000000003FBC0000 OBS.exe
17:38:48: 00000000E54F0000 OBSApi.dll
17:38:48: 00000000E6B30000 DShowPlugin.dll
17:38:48: 00000000E5920000 GraphicsCapture.dll
17:38:48: 00000000E6B10000 NoiseGate.dll
17:38:48: ------------------------------------------
17:38:48: Adapter 1
17:38:48:   Video Adapter: ATI Radeon HD 4800 Series
17:38:48:   Video Adapter Dedicated Video Memory: 2123374592
17:38:48:   Video Adapter Shared System Memory: 4006277120
17:38:48: =====Stream Start: 2013-06-16, 17:38:48===============================================
17:38:48:   Multithreaded optimizations: On
17:38:48:   Base resolution: 1920x1080
17:38:48:   Output resolution: 1280x720
17:38:48: ------------------------------------------
17:38:48: Loading up D3D10...
17:38:48: Playback device Default
17:38:48: ------------------------------------------
17:38:48: Using desktop audio input: Realtek Digital Output(Optical) (Realtek High Definition Audio)
17:38:48: ------------------------------------------
17:38:48: Using auxilary audio input: Microphone (HD Webcam C270)
17:38:48: ------------------------------------------
17:38:48: Audio Encoding: MP3
17:38:48:     bitrate: 128
17:38:48: Using text output
17:38:48: Using bitmap image
17:38:48: Using Monitor Capture
17:38:48: ------------------------------------------
17:38:48: Video Encoding: x264
17:38:48:     fps: 30
17:38:48:     width: 1280, height: 720
17:38:48:     preset: veryfast
17:38:48:     CBR: no
17:38:48:     CFR: no
17:38:48:     max bitrate: 3500
17:38:48:     buffer size: 3500
17:38:48:     quality: 8
17:38:48: ------------------------------------------
17:38:50: Total frames rendered: 46, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
17:38:50: =====Stream End: 2013-06-16, 17:38:50=================================================
17:38:51: =====Stream Start: 2013-06-16, 17:38:51===============================================
17:38:51:   Multithreaded optimizations: On
17:38:51:   Base resolution: 1920x1080
17:38:51:   Output resolution: 1280x720
17:38:51: ------------------------------------------
17:38:51: Loading up D3D10...
17:38:51: Playback device Default
17:38:51: ------------------------------------------
17:38:51: Using desktop audio input: Realtek Digital Output(Optical) (Realtek High Definition Audio)
17:38:51: ------------------------------------------
17:38:51: Using auxilary audio input: Microphone (HD Webcam C270)
17:38:51: ------------------------------------------
17:38:51: Audio Encoding: MP3
17:38:51:     bitrate: 128
17:38:51: Using text output
17:38:51: Using bitmap image
17:38:51: Using Monitor Capture
17:38:51: ------------------------------------------
17:38:51: Video Encoding: x264
17:38:51:     fps: 30
17:38:51:     width: 1280, height: 720
17:38:51:     preset: veryfast
17:38:51:     CBR: no
17:38:51:     CFR: no
17:38:51:     max bitrate: 3500
17:38:51:     buffer size: 3500
17:38:51:     quality: 8
17:38:51: ------------------------------------------
17:38:58: Using RTMP service: Twitch / Justin.tv
17:38:58:   Server selection: rtmp://live-iad-backup.justin.tv/app
17:38:58: SO_SNDBUF was at 8192
17:38:58: SO_SNDBUF is now 65536
17:39:28: Total frames rendered: 1115, number of frames that lagged: 0 (0.00%) (it's okay for some frames to lag)
17:39:29: RTMPPublisher::SocketLoop: Aborting due to bStopping
17:39:29: Number of times waited to send: 0, Waited for a total of 0 bytes
17:39:29: Number of b-frames dropped: 0 (0%), Number of p-frames dropped: 0 (0%), Total 0 (0%)
17:39:29: =====Stream End: 2013-06-16, 17:39:29=================================================
17:39:43: =====Stream Start: 2013-06-16, 17:39:43===============================================
17:39:43:   Multithreaded optimizations: On
17:39:43:   Base resolution: 1920x1080
17:39:43:   Output resolution: 1280x720
17:39:43: ------------------------------------------
17:39:43: Loading up D3D10...
17:39:43: Playback device Default
17:39:43: ------------------------------------------
17:39:43: Using desktop audio input: Realtek Digital Output(Optical) (Realtek High Definition Audio)
17:39:43: ------------------------------------------
17:39:43: Using auxilary audio input: Microphone (HD Webcam C270)
17:39:43: ------------------------------------------
17:39:43: Audio Encoding: MP3
17:39:43:     bitrate: 128
17:39:43: Using text output
17:39:43: Using bitmap image
17:39:43: ------------------------------------------
17:39:43:     device: Logitech HD Webcam C270,
17:39:43:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&2a5b1f6&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:39:43:     chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'I420'
17:39:43:     audio device: Disable,
17:39:43:     audio device id Disabled,
17:39:43: 
17:39:44: Using directshow input
17:39:44: Using Monitor Capture
17:39:45: ------------------------------------------
17:39:45: Video Encoding: x264
17:39:45:     fps: 30
17:39:45:     width: 1280, height: 720
17:39:45:     preset: veryfast
17:39:45:     CBR: no
17:39:45:     CFR: no
17:39:45:     max bitrate: 3500
17:39:45:     buffer size: 3500
17:39:45:     quality: 8
17:39:45: ------------------------------------------
17:39:51: Using RTMP service: Twitch / Justin.tv
17:39:51:   Server selection: rtmp://live-iad-backup.justin.tv/app
17:39:52: SO_SNDBUF was at 8192
17:39:52: SO_SNDBUF is now 65536
Warning -- Capture BitBlt failed..  just so you know
17:40:51: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:40:51:   New Scene
17:40:51: Using text output
17:40:51: Using bitmap image
17:40:51: Using Window Capture
17:40:55: ------------------------------------------
17:40:55:     device: Logitech HD Webcam C270,
17:40:55:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&2a5b1f6&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:40:55:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
17:40:55:     audio device: (null),
17:40:55:     audio device id (null),
17:40:55: 
17:40:56: Using directshow input
17:41:00: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:41:00:   New Scene
17:41:00: Using text output
17:41:00: Using bitmap image
17:41:00: Using Monitor Capture
17:41:07: ------------------------------------------
17:41:07:     device: Logitech HD Webcam C270,
17:41:07:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&2a5b1f6&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:41:07:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
17:41:07:     audio device: (null),
17:41:07:     audio device id (null),
17:41:07: 
17:41:07: Using directshow input
17:41:12: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:41:12:   New Scene
17:41:12: Using text output
17:41:12: Using bitmap image
17:41:12: ------------------------------------------
17:41:12:     device: Logitech HD Webcam C270,
17:41:12:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&2a5b1f6&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:41:12:     chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'I420'
17:41:12:     audio device: Disable,
17:41:12:     audio device id Disabled,
17:41:12: 
17:41:12: Using directshow input
17:41:12: Using Monitor Capture
17:41:13: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:41:13:   New Scene
17:41:13: Using text output
17:41:13: Using bitmap image
17:41:13: ------------------------------------------
17:41:13:     device: Logitech HD Webcam C270,
17:41:13:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&2a5b1f6&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:41:13:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
17:41:13:     audio device: (null),
17:41:13:     audio device id (null),
17:41:13: 
17:41:14: Using directshow input
17:41:14: Using Monitor Capture
17:41:15: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:41:15:   New Scene
17:41:15: Using text output
17:41:15: Using bitmap image
17:41:15: ------------------------------------------
17:41:15:     device: Logitech HD Webcam C270,
17:41:15:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&2a5b1f6&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:41:15:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
17:41:15:     audio device: (null),
17:41:15:     audio device id (null),
17:41:15: 
17:41:15: Using directshow input
17:41:16: Using Window Capture
17:41:21: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:41:21:   New Scene
17:41:21: Using text output
17:41:21: Using bitmap image
17:41:22: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:41:22:   New Scene
17:41:22: Using text output
17:41:22: Using bitmap image
Warning -- DShowPlugin: Invalid audio device: name '(null)', path '(null)'
17:41:22: DShowPlugin: No audio pin, result = 80004005
17:41:22: ------------------------------------------
17:41:22:     device: Logitech HD Webcam C270,
17:41:22:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&2a5b1f6&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:41:22:     chosen type: I420, usingFourCC: false, res: 1280x960 - 1280x960, frameIntervals: 333333-2000000, fourCC: 'I420'
17:41:22:     audio device: (null),
17:41:22:     audio device id (null),
17:41:22: 
17:41:23: Using directshow input
17:41:23: Using Window Capture
17:41:24: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:41:24:   New Scene
17:41:24: Using Monitor Capture
17:41:25: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:41:25:   New Scene
17:41:25: Using text output
17:41:25: Using bitmap image
17:41:25: ------------------------------------------
17:41:25:     device: Logitech HD Webcam C270,
17:41:25:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&2a5b1f6&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:41:25:     chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'I420'
17:41:25:     audio device: Disable,
17:41:25:     audio device id Disabled,
17:41:25: 
17:41:25: Using directshow input
17:41:25: Using Monitor Capture
17:43:34: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:43:34:   New Scene
17:43:34: Using Monitor Capture
17:43:41: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
17:43:41:   New Scene
17:43:41: Using text output
17:43:41: Using bitmap image
17:43:41: ------------------------------------------
17:43:41:     device: Logitech HD Webcam C270,
17:43:41:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&2a5b1f6&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
17:43:41:     chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'I420'
17:43:41:     audio device: Disable,
17:43:41:     audio device id Disabled,
17:43:41: 
17:43:41: Using directshow input
17:43:41: Using Monitor Capture
18:02:13: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:02:13:   New Scene
18:02:13: Using Monitor Capture
18:02:16: ++++++++++++++++++++++++++++++++++++++++++++++++++++++
18:02:16:   New Scene
18:02:16: Using text output
18:02:16: Using bitmap image
18:02:16: ------------------------------------------
18:02:16:     device: Logitech HD Webcam C270,
18:02:16:     device id \\?\usb#vid_046d&pid_0825&mi_00#6&2a5b1f6&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083},
18:02:16:     chosen type: I420, usingFourCC: false, res: 320x240 - 320x240, frameIntervals: 333333-2000000, fourCC: 'I420'
18:02:16:     audio device: Disable,
18:02:16:     audio device id Disabled,
18:02:16: 
18:02:16: Using directshow input
18:02:16: Using Monitor Capture
18:09:44: Total frames rendered: 53635, number of frames that lagged: 111 (0.21%) (it's okay for some frames to lag)
18:09:51: RTMPPublisher::SocketLoop: Aborting due to bStopping
18:09:51: Number of times waited to send: 0, Waited for a total of 0 bytes
18:09:51: Number of b-frames dropped: 312 (0.58%), Number of p-frames dropped: 330 (0.62%), Total 642 (1.2%)
18:09:51: =====Stream End: 2013-06-16, 18:09:51=================================================
18:10:31: 
18:10:31: Profiler results:
18:10:31: 
18:10:31: ==============================================================
18:10:31: frame - [100%] [avg time: 19.979 ms] [avg calls per frame: 1] [children: 97.1%] [unaccounted: 2.88%]
18:10:31: | scene->Preprocess - [80.1%] [avg time: 15.996 ms] [avg calls per frame: 1]
18:10:31: | video encoding and uploading - [17.1%] [avg time: 3.407 ms] [avg calls per frame: 1] [children: 16.7%] [unaccounted: 0.32%]
18:10:31: | | CopyResource - [0.185%] [avg time: 0.037 ms] [avg calls per frame: 0]
18:10:31: | | conversion to 4:2:0 - [0.035%] [avg time: 0.007 ms] [avg calls per frame: 0]
18:10:31: | | call to encoder - [15.9%] [avg time: 3.174 ms] [avg calls per frame: 0]
18:10:31: | | sending stuff out - [0.626%] [avg time: 0.125 ms] [avg calls per frame: 0]
18:10:31: ==============================================================
18:10:31:

I hope i streamed long enough to make it valuable.

In the end I cand probably live with thoses dropped frame, but I had no such problem before the newers OBS version.

Let me know! thanks.
 
Mmm, you weren't really dropping too many frames to really matter, IMO. However, 3500 bitrate is a bit much for 720p30fps. You could drop to 3000 and probably not notice any quality loss, and it's very possible it would eliminate and dropped frames.
 
Back
Top