ntv2/README.md

1.6 KiB

ntv2

AJA Video Linux driver updated for kernel 6.1.

Fork

The Linux driver code from AJA Video, the manufacturer, fails to build with later 5.x and newer 6.x Linux kernels.

Build

Thusly.

git clone https://spacecruft.org/deepcrayon/ntv2
cd ntv2/
rm -rf cmake-build/

cmake -S . -B cmake-build -G "Unix Makefiles" -DAJA_INSTALL_HEADERS=ON -DAJA_INSTALL_SOURCES=ON -DAJA_DEPLOY_LIBS=ON -DAJA_BUILD_OPENSOURCE=ON -DAJA_BUILD_DOCS=ON -DAJA_BUILD_SHARED=ON

cmake --build cmake-build -j$(nproc)

sudo cmake --install cmake-build

cd ajadriver/linux
make clean
make -j$(nproc)

cd ../../bin

sudo bash ./load_ajantv2

Status

Confirmed working hardware:

  • AJA Video Corvid 88.

  • AJA Video Kona 4.

  • AJA Video Kona 3G.

Confirmed working kernel, from Debian Bookworm (12/stable) updates:

  • Linux host 6.1.0-11-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.38-4 (2023-08-08) x86_64 GNU/Linux

Module builds and loads ok on ppc64le, but picture is glitchy, bad.

Applications

Works with OBS Studio AJA Video module.

Works with Norihiro's OBS AJA Output Filter

Upstream

See README-AJA.md for AJA Video's docs.

Code from manufacturer:

Manufacturer's website:

Some patch bits from Red-Swingline pull request for the V4L2 driver:

Copyright

Unofficial project, not related to AJA Video.

Upstream sources under their respective copyrights.

License

MIT.

Copyright © 2023, Jeff Moe.