FFMPEG VAAPI + kmsgrab long test on Metro Exodus (Lutris/Wine) - SPOILERS
Long test of capturing gameplay with ffmpeg vaapi + kmsgrab. The test contains the entire last mission of Metro Exodus including the ending and credits.
Hardware:
CPU: AMD Ryzen 2700X
GPU: AMD Radeon VII (16GB)
RAM: 32 GB
Mouse: Logitech G703 + Powerplay Mousepad
Keyboard: Roccat Isku
Gamepad: Microsoft Xbox One Controller
Display: Samsung C32HG70 (32“)
Audio: Sennheiser Game One + Sennheiser GSX 1200 Pro
Software:
OS: Antergos
Kernel: Linux 5.0.7-zen
Driver: Mesa 19.0.2 / RADV
Wine: tkg-protonified-4.6 / DXVK 1.1 (r107.g044e3967)
Notes:
* I captured audio and video separately, because when done together, it always fails pretty early :/
* For capturing video:
sudo LIBVA_DRIVER_NAME=radeonsi \
ffmpeg -y \
-device /dev/dri/card0 \
-f kmsgrab \
-framerate 60 \
-vsync 0 \
-i - \
-vf 'hwmap=derive_device=vaapi,scale_vaapi=w=2560:h=1440:format=nv12' \
-c:v h264_vaapi \
-qp 22 \
out.mp4
* For capturing audio:
ffmpeg -y \
-f pulse \
-i default \
-c:a libopus \
-b:a 384k \
out.opus
* Joining them:
ffmpeg -i out.mp4 -i out.opus -c copy out.mkv
Other Videos By alex9k
Other Statistics
Metro: Exodus Statistics For alex9k
At present, alex9k has 652 views spread across 2 videos for Metro: Exodus, with his channel currently having around 2 hours worth of content for Metro: Exodus. This is less than 0.69% of the total video content that alex9k has uploaded to YouTube.