Dependencies:
Ubuntu/Debian:
sudo apt install libyaml-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libsdl2-devArch Linux:
sudo pacman -S libyaml ffmpeg sdl2Build:
mkdir build && cd build
# Release mode (default, no AddressSanitizer)
cmake .. -DCMAKE_BUILD_TYPE=Release
make
# Debug mode (with AddressSanitizer)
cmake .. -DCMAKE_BUILD_TYPE=Debug
make| Target | Description | Usage |
|---|---|---|
player |
GUI video player (SDL2) | ./gui/player <video> [dec_config.yaml] |
dspeed |
Decode speed benchmark | ./perf/dspeed <video> [dec_config.yaml] |
roundtrip |
Encode-decode roundtrip test | ./test/roundtrip <input> <output> <enc_config.yaml> |
random |
Synthetic encode benchmark | ./test/random <output> |
h26x |
H.264/H.265 transcode test | ./test/h26x <input> <output> |
vpx |
VP8/VP9 transcode test | ./test/vpx <input> <output> |
av1 |
AV1 transcode test | ./test/av1 <input> <output> |
h264_nvenv |
NVENC H.264 transcode | ./test/h264_nvenv <input> <output> |
av1_nvenv |
NVENC AV1 transcode | ./test/av1_nvenv <input> <output> |
test_hash |
Hash table unit tests | ./test/test_hash |