From 93705ebb135a54ced51de070b90733a5a9d0ae3d Mon Sep 17 00:00:00 2001 From: sxyazi Date: Mon, 9 Dec 2024 12:13:38 +0800 Subject: [PATCH] docs: v0.4 will use ffmpeg for video preview --- docs/configuration/yazi.md | 2 +- docs/installation.md | 15 +++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/configuration/yazi.md b/docs/configuration/yazi.md index 32d2d29f..2b93cc80 100644 --- a/docs/configuration/yazi.md +++ b/docs/configuration/yazi.md @@ -373,7 +373,7 @@ Yazi comes with the these previewer plugins: - json: bridge between `jq` and the preview, providing async concurrent rendering - noop: no operation - image: presentation layer of built-in image preview, offering mixed preview capabilities -- video: bridge between `ffmpegthumbnailer` and the preview, offering mixed preview capabilities +- video: bridge between `ffmpeg` and the preview, offering mixed preview capabilities - pdf: bridge between `pdftoppm` and the preview, offering mixed preview capabilities - archive: bridge between 7-Zip and the preview, offering mixed preview and concurrent rendering capabilities diff --git a/docs/installation.md b/docs/installation.md index 653fdf50..34c6959a 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -12,8 +12,7 @@ To use Yazi, you must have the following prerequisites installed: Yazi can be **optionally** extended with other command line tools to enable additional features. - [nerd-fonts](https://www.nerdfonts.com/) ([_recommended_](/docs/faq#dont-like-nerd-fonts)) -- [`ffmpegthumbnailer`](https://github.com/dirkvdb/ffmpegthumbnailer) (for video thumbnails) -- [`ffmpeg`](https://www.ffmpeg.org/) (for video preview on the upcoming Yazi v0.4) +- [`ffmpeg`](https://www.ffmpeg.org/) (for video thumbnails) - [7-Zip](https://www.7-zip.org/) (for archive extraction and preview) - [`jq`](https://jqlang.github.io/jq/) (for JSON preview) - [`poppler`](https://poppler.freedesktop.org/) (for PDF preview) @@ -37,20 +36,20 @@ Most packages on this page are maintained by the community, and they **_may not ## Arch Linux ```sh -sudo pacman -S yazi ffmpegthumbnailer ffmpeg p7zip jq poppler fd ripgrep fzf zoxide imagemagick +sudo pacman -S yazi ffmpeg p7zip jq poppler fd ripgrep fzf zoxide imagemagick ``` If you want to use the latest Git version, you can install it from [AUR](https://aur.archlinux.org/packages/yazi-git/) or [Arch Linux CN](https://github.com/archlinuxcn/repo/): ```sh -paru -S yazi-git ffmpegthumbnailer ffmpeg p7zip jq poppler fd ripgrep fzf zoxide imagemagick +paru -S yazi-git ffmpeg p7zip jq poppler fd ripgrep fzf zoxide imagemagick ``` You can also install the [official nightly release binary](https://github.com/sxyazi/yazi/releases/tag/nightly) from [AUR](https://aur.archlinux.org/packages/yazi-nightly-bin), which is built from the latest code within the past 6 hours: ```sh -paru -S yazi-nightly-bin ffmpegthumbnailer ffmpeg p7zip jq poppler fd ripgrep fzf zoxide imagemagick +paru -S yazi-nightly-bin ffmpeg p7zip jq poppler fd ripgrep fzf zoxide imagemagick ``` ## Nix @@ -220,7 +219,7 @@ First, make sure that Homebrew is fully up-to-date with `brew update`. Then you can install Yazi (and the optional dependencies): ```sh -brew install yazi ffmpegthumbnailer ffmpeg sevenzip jq poppler fd ripgrep fzf zoxide imagemagick font-symbols-only-nerd-font +brew install yazi ffmpeg sevenzip jq poppler fd ripgrep fzf zoxide imagemagick font-symbols-only-nerd-font ``` If you prefer to use the most recent code, use the `--HEAD` flag when installing Yazi. @@ -232,13 +231,13 @@ brew install yazi --HEAD ## MacPorts ```bash -sudo port install yazi ffmpegthumbnailer ffmpeg 7zip jq poppler fd ripgrep fzf zoxide ImageMagick +sudo port install yazi ffmpeg 7zip jq poppler fd ripgrep fzf zoxide ImageMagick ``` ## NetBSD ```sh -pkgin install yazi ffmpegthumbnailer ffmpeg7 p7zip jq poppler fd ripgrep fzf zoxide ImageMagick +pkgin install yazi ffmpeg7 p7zip jq poppler fd ripgrep fzf zoxide ImageMagick ``` ## Windows