Video Previews

Pierre Neidhardt edited this page Apr 15, 2015 · 3 revisions

Since 1.7.0, ranger supports video previews. More generally, you can define rules in the configuration file to convert any file type into an image and display that image as a preview with w3mimgdisplay.

Video previews are disabled by default. To turn them on:

  1. install w3mimgdisplay. It's used to draw images into the terminal. On archlinux, the package is called "w3m", on debian it's "w3m-img"
  2. install ffmpegthumbnailer. It's used to generate a thumbnail of a video
  3. get a recent config file, e.g. by typing ranger --copy-config=scope
  4. Uncomment the rule in the below the line "Image preview for videos, disabled by default:"