build: simplified the dockerfile to install ffmpeg via apt

This commit is contained in:
Trevor Mears
2026-01-17 18:38:15 -08:00
parent 95591a0c84
commit 8304e7abe1
2 changed files with 10 additions and 30 deletions
+3 -2
View File
@@ -415,10 +415,11 @@ class TranscodeSession extends EventEmitter {
// Scale on VAAPI
args.push('-vf', `scale_vaapi=w=-2:h=${height}`);
// VAAPI encoder with quality setting
// Note: -global_quality is the portable way to set quality for VAAPI
args.push(
'-c:v', 'h264_vaapi',
'-rc_mode', 'CQP',
'-qp', String(qp),
'-global_quality', String(qp),
'-bf', '3'
);
}