Skip to content

About

Linux userspace capture driver for the AVerMedia ExtremeCap U3 (CV710)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

cv710userspace

A standalone capture app for the AVerMedia ExtremeCap U3 (CV710), USB ID 07ca:0710. Preview HDMI video and stereo audio in an SDL3 window, or send video to a virtual camera on Linux. For direct OBS capture on Linux, see the companion avmcv710 kernel driver.

Build on Linux

You'll need a C++17 compiler, CMake 3.18 or newer, pkg-config, libusb 1.0, SDL3, and libao. Install the development packages for your distribution:

# Fedora
sudo dnf install cmake gcc-c++ pkgconf-pkg-config libusb1-devel SDL3-devel libao-devel

# Arch Linux
sudo pacman -S cmake gcc pkgconf libusb sdl3 libao

# Debian or Ubuntu releases that package SDL3
sudo apt install cmake g++ pkg-config libusb-1.0-0-dev libsdl3-dev libao-dev
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel
ctest --test-dir build --output-on-failure

See WINDOWS.md for the experimental Windows build.

Start a preview

On a systemd-based Linux desktop, install the udev rule so your active session can open the device. Use the 70- install prefix so the rule runs before systemd's seat ACL rule. After reloading the rules, unplug and reconnect the CV710.

sudo install -m 0644 99-avermedia-cv710.rules /etc/udev/rules.d/70-avermedia-cv710.rules
sudo udevadm control --reload-rules
./build/src/cli/cv710userspace

Use HDMI input over USB 3. The app takes exclusive access to the capture interface. Stop OBS or any other active CV710 capture session before launching it. On Linux, libusb can detach a bound kernel driver to claim the interface.

Key Action
Tab or O Toggle the diagnostics HUD
C Cycle color profiles
F / G Enter or leave fullscreen
R Resynchronize the parser on the next frame marker
Esc Quit

Run ./build/src/cli/cv710userspace -h for options. Use -g for video only, -s for audio only, -v for a diagnostic summary, or -V for live timing diagnostics. The preview supports -c yuy2, -S 2 for half-scale output, and --aspect auto to preserve the incoming picture's aspect ratio.

Send video to OBS

Install v4l2loopback for your running kernel, then make a virtual video device. Choose an unused device number if /dev/video99 already exists.

sudo modprobe v4l2loopback video_nr=99 exclusive_caps=1 card_label=CV710
./build/src/cli/cv710userspace -d /dev/video99

Add a Video Capture Device (V4L2) in OBS and select the CV710 loopback device. Audio routes separately through SDL.

Route audio

The app plays embedded HDMI audio through an SDL output. With video loopback, it prefers an available audio loopback device and can fall back to your desktop speakers. Use -g to disable audio, or choose the output explicitly:

./build/src/cli/cv710userspace --list-audio-devices
./build/src/cli/cv710userspace -d /dev/video99 --audio-device "Loopback"

For example, sudo modprobe snd-aloop creates an ALSA loopback device. Run with --audio-loopback to require a loopback output. In OBS, capture the matching loopback input or virtual sink monitor as a separate audio source.

Hardware frame-rate conversion

--convert half requests CVX8897 hardware conversion for supported progressive input modes. For example, a 1080p60 input can produce about 30 capture frames per second at the same resolution. --list-cvx8897 lists the available tables. A converter mode change can briefly interrupt the preview while HDMI relocks.

The default --convert native leaves the converter state alone. If a previous session enabled half-rate capture, use --convert reset or power-cycle the CV710 to restore native cadence.

Project notes

  • Official Windows driver compatibility notice: Using this software (or previously running older builds that replayed AT88SC commands, or replacing the Windows USB driver via Zadig/WinUSB) carries a chance that the device will stop working with the official AVerMedia driver on Windows. In particular, older captures that replayed AT88SC CryptoMemory challenges permanently decrement the hardware's non-volatile authentication counters to 0x00, which causes the official Windows/macOS driver (CryptoCheck) to reject the card (irreversible on the chip). While current builds strip all AT88SC commands, there is still a chance the card may stop working with the official driver on Windows. Use at your own risk.
  • The preview supports unencrypted HDMI. Component capture remains unsupported.
  • See PROTOCOL.md for USB framing and ISSUES.md for known limitations and troubleshooting.

Legal

This is an independent interoperability project. AVerMedia has no affiliation with the project and has not authorized or endorsed it. The AVerMedia and ExtremeCap names identify the supported hardware.

This project is based on Chris Sawczuk's lgx2userspace and uses SDL3 and libusb. The application is distributed under the MIT License, without warranty. The bundled preview font carries its own SIL Open Font License. The standby screens are drawn by the project.

About

Linux userspace capture driver for the AVerMedia ExtremeCap U3 (CV710)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages