vMix Forums
»
General
»
Hardware Compatibility
»
UVC webcams dropping input frames?
Rank: Advanced Member
Groups: Registered
Joined: 7/11/2015(UTC) Posts: 354 Location: NJ
Thanks: 9 times Was thanked: 45 time(s) in 38 post(s)
|
I have just noticed that any of my webcams that use the Windows USB Video Camera driver (notebook's camera, Logitech c930e and c925e), according to Vmix statistics are showing numbers for source dropped that increment by about 10 per second.
Webcams that use the Logitech driver are not affected.
Any idea what's going on here?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/11/2015(UTC) Posts: 354 Location: NJ
Thanks: 9 times Was thanked: 45 time(s) in 38 post(s)
|
Here's a screen capture showing the UVC camera's source dropped incrementing, while the Logitech driver stays stable. Any ideas?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/11/2015(UTC) Posts: 354 Location: NJ
Thanks: 9 times Was thanked: 45 time(s) in 38 post(s)
|
It looks like my problem was that when defining the input, I was using video format "Default" Switching to video format "MJPG" solved the problem for the UVC cameras.
Alternately, checking the "Use VMR" box and selecting "Default" also seems to work.
Oh, I did run into a related issue... I had most of the lights in the room turned off for some of my testing, and the camera evidently slowed its shutter speed, causing dropped frames. Turn up the lights, dropped frames ended.
So, which approach is better with UVC on Windows 10? "MJPG" with no VMR or "Default" with VMR
????
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
by coincidence I read (and tried) this today, maybe is of some help ? webcamsetting
|
1 user thanked doggy for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/1/2015(UTC) Posts: 1,151 Location: Houston TX Thanks: 319 times Was thanked: 263 time(s) in 233 post(s)
|
The Logitech proprietary driver associated with the C910/C920 is rather famous for being a CPU hog. In particular, the Right Light and auto-focus features can tax a host system. The OBS/Xsplit community have good guidance on switching to using the UVC driver.
Beyond that, you may have issues with USB bandwidth. Using "Default" video encoding usually results in YUY2, which being uncompressed, will consume most of a USB 2.0 link. That means you can only have one camera per USB 2.0 bus, and not shared with other high bandwidth stuff.
If you change the video encoding to MJPEG you reduce the data over the USB bus by 10x. That gives you a lot more flexibility to combine USB devices without getting into bus bandwidth problems.
If you change the video encoding to H264 the data rate from the camera is even less, but you end up with a couple of seconds of latency since H264 is a Long-GOP based compression scheme.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/11/2015(UTC) Posts: 354 Location: NJ
Thanks: 9 times Was thanked: 45 time(s) in 38 post(s)
|
Mjgraves,
To be clear, the issue I was having was not with the Logitech drivers, it was with any cameras (Logitech c930e, c925 or the notebook's built in webcam) that use the UVC driver.
I don't put more than one webcam on a USB channel.
So the question remains, purely from an image quality standpoint... am I better off using MJPG with the newer vMix video system, or using VMR with the default format?
Thanks.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/1/2015(UTC) Posts: 1,151 Location: Houston TX Thanks: 319 times Was thanked: 263 time(s) in 233 post(s)
|
According to Martin: "VMR should not be used unless instructed to do so by support, it is used for diagnosing some issues." Since dropping frames is generally related to USB bandwidth, I suggest switching to MJPEG encoding.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/11/2015(UTC) Posts: 354 Location: NJ
Thanks: 9 times Was thanked: 45 time(s) in 38 post(s)
|
Sounds like a fine plan... that's what I've done
|
|
|
|
vMix Forums
»
General
»
Hardware Compatibility
»
UVC webcams dropping input frames?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close