Question / Help Video lag with a Logitech webcam...

Untuxable

New Member
I stream to Twitch using a Logitech C920 webcam, and the video from the camera consistently lags after prolonged use. The longer I stream using the camera, the longer the video lag is, but only with the camera feed, not any other aspect of the stream. I've tested the camera with other programs, but OBS is the only one where the lag starts building up. Is there anything you guys can think of to get rid of the lag?

If you need any more info, just ask and I'll add it.

Stream Log:
Code:
 13:00:46: OBS 0.6.4 (mac)
13:00:46: CPU Name: Intel(R) Core(TM) i7-2675QM CPU @ 2.20GHz
13:00:46: CPU Speed: 2200MHz
13:00:46: Physical Cores: 4, Logical Cores: 8
13:00:46: Physical Memory: 8192MB Total
13:00:46: OS Name: Mac OS X (NSMACHOperatingSystem)
13:00:46: OS Version: Version 10.9.5 (Build 13F34)
13:00:46: Kernel Version: 13.4.0
13:00:46: audio settings reset:
    samples per sec: 44100
    speakers:        2
    buffering (ms):  1000

13:00:47: convert_sampler_info: 1 <= max_anisotropy <= 16 violated, selected: 0, set: 1
13:00:47: convert_sampler_info: 1 <= max_anisotropy <= 16 violated, selected: 0, set: 1
13:00:47: convert_sampler_info: 1 <= max_anisotropy <= 16 violated, selected: 0, set: 1
13:00:47: convert_sampler_info: 1 <= max_anisotropy <= 16 violated, selected: 0, set: 1
13:00:47: convert_sampler_info: 1 <= max_anisotropy <= 16 violated, selected: 0, set: 1
13:00:47: convert_sampler_info: 1 <= max_anisotropy <= 16 violated, selected: 0, set: 1
13:00:47: convert_sampler_info: 1 <= max_anisotropy <= 16 violated, selected: 0, set: 1
13:00:47: convert_sampler_info: 1 <= max_anisotropy <= 16 violated, selected: 0, set: 1
13:00:47: convert_sampler_info: 1 <= max_anisotropy <= 16 violated, selected: 0, set: 1
13:00:47: convert_sampler_info: 1 <= max_anisotropy <= 16 violated, selected: 0, set: 1
13:00:47: video settings reset:
    base resolution:   1280x720
    output resolution: 1280x720
    fps:               30/1
13:00:49: couldn't intialize font code page conversion:  'x-mac-hebrew' to 'utf-8': errno = 22
13:00:49: couldn't intialize font code page conversion:  'x-mac-hebrew' to 'utf-8': errno = 22
13:00:49: couldn't intialize font code page conversion:  'x-mac-hebrew' to 'utf-8': errno = 22
13:00:49: couldn't intialize font code page conversion:  'x-mac-hebrew' to 'utf-8': errno = 22
13:00:49: couldn't intialize font code page conversion:  'x-mac-hebrew' to 'utf-8': errno = 22
13:00:51: couldn't intialize font code page conversion:  'x-mac-hebrew' to 'utf-8': errno = 22
13:00:51: couldn't intialize font code page conversion:  'x-mac-hebrew' to 'utf-8': errno = 22
13:00:51: couldn't intialize font code page conversion:  'x-mac-hebrew' to 'utf-8': errno = 22
13:00:51: couldn't intialize font code page conversion:  'x-mac-hebrew' to 'utf-8': errno = 22
13:00:51: couldn't intialize font code page conversion:  'x-mac-hebrew' to 'utf-8': errno = 22
13:00:51: couldn't intialize font code page conversion:  'x-mac-hebrew' to 'utf-8': errno = 22
13:00:53: output 'default_file_output' (flv_output) created
13:00:53: output 'default_stream' (rtmp_output) created
13:00:53: encoder 'default_h264' (obs_x264) created
13:00:53: encoder 'default_aac' (ffmpeg_aac) created
13:00:53: service 'default_service' (rtmp_common) created
13:00:53: coreaudio: device 'Logitech Camera' initialized
13:00:53: source 'Mic/Aux 2' (coreaudio_input_capture) created
13:00:53: source 'Console Games' (scene) created
13:00:53: source 'TSG logo' (image_source) created
13:00:53: source 'Game' (display_capture) created
13:00:53: source 'Outro Screen' (image_source) created
13:00:53: source 'Asset' (image_source) created
13:00:53: source 'Flame Logo' (image_source) created
13:00:53: source 'Display Capture' (display_capture) created
13:00:53: Video Capture Device: Selected device 'Logitech Camera'
13:00:54: Video Capture Device: Using preset 1280x720
13:00:54: source 'Video Capture Device' (av_capture_input) created
13:01:18: Video Capture Device: Selected device 'FaceTime HD Camera (Built-in)'
13:01:18: Video Capture Device: Using preset 1280x720
13:01:19: Video Capture Device: Selected device 'Logitech Camera'
13:01:19: Video Capture Device: Using preset 1280x720
13:04:13: source 'Video Capture Device' destroyed
13:04:17: Video Capture Device: No device selected
13:04:17: source 'Video Capture Device' (av_capture_input) created
13:04:18: Video Capture Device: Selected device 'Logitech Camera'
13:04:18: Video Capture Device: Using preset 1280x720
13:10:23: [x264 encoder: 'default_h264'] preset: veryfast
13:10:23: [x264 encoder: 'default_h264'] settings:
    bitrate:     850
    buffer size: 850
    fps_num:     30
    fps_den:     1
    width:       1280
    height:      720
    keyint:      60
    cbr:         on
13:10:23: Using ffmpeg "aac" aac encoder
13:10:23: FFmpeg AAC: bitrate: 96, channels: 2
13:10:23: [rtmp stream: 'default_stream'] Connecting to RTMP URL rtmp://live-iad.twitch.tv/app...
13:10:24: [rtmp stream: 'default_stream'] Connection to rtmp://live-iad.twitch.tv/app successful
14:24:56: source 'Video Capture Device' destroyed
14:25:02: Video Capture Device: No device selected
14:25:02: source 'Video Capture Device' (av_capture_input) created
14:25:04: Video Capture Device: Selected device 'Logitech Camera'
14:25:04: Video Capture Device: Using preset 1280x720
15:31:45: [rtmp stream: 'default_stream'] User stopped the stream
15:31:45: Output 'default_stream': stopping
15:31:45: Output 'default_stream': Total frames: 254449
15:31:45: Output 'default_stream': Number of skipped frames: 0 (0%)
15:31:45: Output 'default_stream': Number of dropped frames: 1042 (0.409512%)
15:32:08: source 'Mic/Aux 2' destroyed
15:32:08: Freeing OBS context data
15:32:08:     8 user source(s) were remaining
15:32:08: source 'Console Games' destroyed
15:32:08: source 'TSG logo' destroyed
15:32:08: source 'Game' destroyed
15:32:08: source 'Video Capture Device' destroyed
15:32:08: source 'Display Capture' destroyed
15:32:08: source 'Asset' destroyed
15:32:08: source 'Flame Logo' destroyed
15:32:08: source 'Outro Screen' destroyed
15:32:08:     1 source(s) were remaining
15:32:08: output 'default_stream' destroyed
15:32:08: output 'default_file_output' destroyed
15:32:08:     2 output(s) were remaining
15:32:08: encoder 'default_aac' destroyed
15:32:08: encoder 'default_h264' destroyed
15:32:08:     2 encoder(s) were remaining
15:32:08: service 'default_service' destroyed
15:32:08:     1 service(s) were remaining
15:32:08: Number of memory leaks: 1 [code]
 

jdm12983

Member
I tried using you posted log (I'm assuming that's an OBS log right?) but it isn't a complete log according to the site.

Need to attach it (the log) as a file. Or post it on another site to be able to be downloaded if you can't post it here.
 

DaBlueWombat

New Member
+1 to this problem. I just got the same camera and am having the same problem. My game capture and audio are in sync. but my video is delayed and gets worse overtime.
 
Top