Camera or capture card freezes or glitches during a stream

The evmux teamUpdated 4 min read

A camera that freezes or glitches every few minutes is usually starved of USB bandwidth or power, or is being put to sleep by power saving. Plug it straight into a USB 3 port on the computer, turn off USB power saving, close other apps that use the camera, and set it to 1080p or 720p. If it still glitches in another app, the cable, driver or device is at fault.

In short

  • Most freezes come from USB: a shared hub, a long or cheap cable, or too many devices on one controller.
  • Glitches at regular intervals often point to USB power saving putting the device to sleep.
  • A capture card needs an input format it supports. Set the camera HDMI output to 1080p.
  • In evmux, set the camera resolution to 1080p or 720p instead of Auto or 2160p.
  • Test the camera in another app to find out if the problem is the device or the setup.

What causes a camera to freeze or glitch?

A camera feed that stops, stutters or shows broken frames almost always has one of these causes:

  • Not enough USB bandwidth. Webcams and capture cards send a constant stream of video. If they share a hub or a USB controller with other busy devices, frames get lost.
  • Not enough power. Unpowered hubs, long cables and thin cables can drop the voltage a capture card needs.
  • USB power saving. The operating system can suspend a USB device it thinks is idle. This often shows up as a glitch at regular intervals.
  • Another app is using the camera. Video call apps and camera utilities running in the background can hold the camera or fight over it.
  • A format the capture card does not support. A camera sending a resolution or frame rate the card cannot take gives a black, frozen or flickering picture.
  • A resolution higher than the computer can handle. This is a performance problem, and it looks like choppy video rather than a freeze. See low FPS while live streaming.
  • Outdated drivers or firmware, or a faulty cable or device.

How do I fix USB problems?

  1. Plug in directly. Connect the camera or capture card to a port on the computer itself, not a hub, dock or monitor port. If you must use a hub, use one with its own power supply.
  2. Use the right port. Capture cards and 4K cameras usually need a USB 3 port. Use the cable that came with the device, or a short, good quality replacement.
  3. Spread devices out. If you use a webcam and a capture card, plug them into different ports, ideally on different sides of the computer, so they are less likely to share a controller.
  4. Unplug what you do not need. External drives, phone chargers and other USB devices take bandwidth and power from the same controllers.

How do I turn off USB power saving?

On Windows:

  1. Open Device Manager, expand Universal Serial Bus controllers, and open each USB Root Hub (and your camera, under Cameras).
  2. On the Power Management tab, untick “Allow the computer to turn off this device to save power”.
  3. In the Control Panel, open Power Options, edit your power plan’s advanced settings, and set USB selective suspend to Disabled, where your plan shows that option.

On macOS there is no per-port USB power setting. Keep a MacBook plugged in and turn off Low Power Mode in the Battery settings while you are live.

On any laptop, plug in the charger. Many laptops limit power and performance on battery.

How do I check settings in the browser and in evmux?

  1. Close other apps that use the camera. Quit video call apps and camera utilities, then reload the studio tab. Many cameras work in only one app at a time, especially on Windows.
  2. Check permissions. Allow camera access for the site in Chrome (the icon at the left of the address bar). Also check the system camera permission: Privacy & Security, then Camera, in macOS System Settings or in Windows Settings.
  3. Pick the device again. In evmux, open Settings with the gear in the bottom toolbar, go to Camera and select your camera or capture card.
  4. Lower the resolution. In the same Camera settings, the resolution can be Auto, 720p, 1080p, 1440p or 2160p. Choose 1080p, or 720p if it still struggles. evmux streams in 1080p, so a higher setting only adds load. An extra camera added with Add Camera has its own tab in Settings, then Camera, with its own resolution.

What if I use a capture card?

  • Set the camera output to 1080p. Many capture cards take only certain resolutions and frame rates. In the camera’s HDMI settings, choose 1080p at 30 or 60 frames per second (25 or 50 in PAL regions), and make sure the card supports it.
  • Use clean HDMI output. Turn off the on-screen display in the camera so the menus and focus boxes are not sent.
  • Keep the camera powered. Turn off auto power off, and use a mains adapter or dummy battery for long shows. Some cameras also stop or overheat after long periods of continuous output.
  • Check the HDMI cable. A loose or long HDMI cable causes flicker and dropouts just like a bad USB cable.

How do I know if the camera itself is faulty?

  1. Test in another app. Use the Camera app on Windows, or Photo Booth or QuickTime Player on a Mac. If it freezes there too, the problem is not the studio.
  2. Update drivers and firmware from the manufacturer’s site. Webcam makers often ship a utility that updates firmware and sets focus and exposure.
  3. Try another computer. If it fails there too, the camera, card or cable is faulty.

Once it works, run a short test recording before the show. If the picture is fine but your voice does not match your lips, see audio and video out of sync.

Questions, answered

Why does my webcam freeze only when I use a USB hub?

Every device on a hub shares one connection to the computer, and an unpowered hub also shares the power from one port. A webcam or capture card needs a steady share of both, so plug it directly into the computer or use a hub with its own power supply.

Does a USB 3 port matter for a webcam?

For many 1080p webcams USB 2 is enough, because they compress the video. Capture cards and 4K cameras send far more data and usually need a USB 3 port. The port is often marked SS or colored blue.

My camera works in other apps but glitches in the studio. What now?

Lower its resolution in the studio camera settings, turn off virtual background and beautification, and close other tabs and apps. If the glitch is choppy motion rather than a frozen picture, follow the low FPS steps.

Your next show starts in a browser tab.

Set up your studio in minutes. Your first stream is free.