Skip to content

Commit 024301e

Browse files
committed
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).
1 parent 8ab14c4 commit 024301e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkgs/by-name/ya/yazi/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
jq
1010
poppler-utils
1111
_7zz
12-
ffmpeg
12+
ffmpeg-headless
1313
fd
1414
ripgrep
1515
fzf
@@ -27,7 +27,7 @@
2727
jq,
2828
poppler-utils,
2929
_7zz,
30-
ffmpeg,
30+
ffmpeg-headless,
3131
fd,
3232
ripgrep,
3333
fzf,

0 commit comments

Comments
 (0)