Skip to content

Commit

Permalink
docs: v0.4 will use ffmpeg for video preview
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Dec 9, 2024
1 parent 38d481a commit 93705eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/configuration/yazi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
15 changes: 7 additions & 8 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 93705eb

Please sign in to comment.