Question / Help Audio Clipping caused by Webcam?

EDIT: I managed to solve the problem using this guide!


I've been having problems with my audio for a while now, and since no solution I have found on the internet has really satisfied me, I thought I'd ask you guys about it!



The Problem:

Both my audio output (headphones) and my audio input (microphone) have started clipping and skipping ever since I got a USB audio interface (all the important hardware is listed below)




Attempted Solutions:

I searched around the internet to find a way to combat this and it seemed like I was having similar issues to people in this thread, this thread and this video. The solution suggested in those threads, which is to turn down my webcam resolution has worked to an extend, confirming that my problem source is probably the same. However turning down my webcams resolution is not a satisfying solution for me, it also doesnt fully fix it. In the clips linked above my webcam resolution was set to 640x380 and the problem still occurred.

Other solutions I have attempted:

  • Changing my audio interfaces buffer size
  • Uninstalling all unneeded USB drivers
  • Changing my Webcams Video Format to MJPEG

The Question:

It seems like this is a problem of my Motherboard not being able to handle the ammount of data going through it, since changing my webcam settings helped with the clipping? Maybe a new motherboard, or changes in my current BIOS settings could help? I'm by no means a hardware expert so I hope someone on here who has more knowledge in these topics can possibly help me out? I really dont want to put my Webcam resolution down to 160p just to get my audio to work.

Hardware:
  • USB Audio Interface: Focusrite Scarlett 2i2
  • Webcam: Logitech c920
  • Motherboard: ASRock H77 Pro4/MVP
  • Processor: i5-3470 3.20GHz
 
Last edited:

Suslik V

Active Member
Please post a log with your issue! Here's how...

Edit:
1920x1080x8 bit_per_channel
we have RGB = R + G + B = 3 channels
transfer: 1920 * 1080 * 8 * 3 = 49766400 bits per frame
rate = transfer * fps
fps = 30; rate = 49766400 * 30 = 1`492`992`000 bits per second
fps = 60; rate = 49766400 * 60 = 2`985`984`000 bits per second


If cam YUV uses 4:2:0 subsampling, then we have:

Y = 1920 * 1080 * 8 = 16588800
U = (1920/2) * (1080/2) * 8 = 4147200
V = (1920/2) * (1080/2) * 8 = 4147200
transfer: YUV = Y + U + V = 16588800 + 4147200 + 4147200 = 24883200 bits per frame (:2 times lower)
rate = transfer * fps
fps = 30; rate = 24883200 * 30 = 746`496`000 bits per second
fps = 60; rate = 24883200 * 60 = 1`492`992`000 bits per second


If cam YUV uses 4:2:2 subsampling, then we have:

Y = 1920 * 1080 * 8 = 16588800
U = (1920/2) * 1080 * 8 = 8294400
V = (1920/2) * 1080 * 8 = 8294400
transfer: YUV = Y + U + V = 16588800 + 8294400 + 8294400 = 33177600 bits per frame (:1.5 times lower)
rate = transfer * fps
fps = 30; rate = 33177600 * 30 = 995`328`000 bits per second
fps = 60; rate = 33177600 * 60 = 1`990`656`000 bits per second


USB 2.0, 480 Mbit/s 480`000`000 bits per second

1280x720@30fps 4:2:0 = 331`776`000
44100x16 bit mono = 705`600
(48000x24 stereo = 2`304`000)

Maybe I miss something...
So compression required, low resolution/fps is preferred. Anyway, try two different ports from your PC (not "doubled" ones).
 
Last edited:
Please post a log with your issue! Here's how...
USB 2.0, 480 Mbit/s 480`000`000 bits per second

1280x720@30fps 4:2:0 = 331`776`000
44100x16 bit mono = 705`600
(48000x24 stereo = 2`304`000)

Maybe I miss something...
So compression required, low resolution/fps is preferred. Anyway, try two different ports from your PC (not "doubled" ones).

So with these setting it should work without compression? Also My Webcam is using the USB 3.0 port.
 
Top