yazi: use ffmpeg-headless for video previews

The bundled video previewer only invokes `ffmpeg` and `ffprobe`
(yazi-plugin/preset/plugins/video.lua), never `ffplay`. The full
ffmpeg's `ffplay` links SDL, which transitively pulls in gtk3, gtk4,
zenity, gst-plugins-bad and flite.

Closure: 1.1G -> 494M.

Matches what comparable in-tree thumbnailers already do
(ffmpegthumbnailer, mcat, yt-dlp, navidrome).
This commit is contained in:
r-vdp
2026-04-19 13:11:27 +02:00
parent 8ab14c42c4
commit 024301e1b6
+2 -2
View File
@@ -9,7 +9,7 @@
jq
poppler-utils
_7zz
ffmpeg
ffmpeg-headless
fd
ripgrep
fzf
@@ -27,7 +27,7 @@
jq,
poppler-utils,
_7zz,
ffmpeg,
ffmpeg-headless,
fd,
ripgrep,
fzf,