Changes between Version 3 and Version 4 of Hardware/VAAPI
- Timestamp:
- Sep 30, 2017, 11:55:17 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Hardware/VAAPI
v3 v4 195 195 }}} 196 196 197 Capture the screen from the first active KMS plane: 198 {{{ 199 ffmpeg_g -device /dev/dri/card0 -f kmsgrab -i - -vf 'hwmap=derive_device=vaapi,scale_vaapi=w=1920:h=1080:format=nv12' -c:v h264_vaapi -qp 24 output.mp4 200 }}} 201 Compared to capturing through X as in the previous examples, this should use much less CPU (all surfaces stay on the GPU side) and can work outside X (on VTs or in Wayland), but can only capture whole planes and requires DRM master or CAP_SYS_ADMIN to run. 202 197 203 198 204 === Transcode ===
