Ranger Video Thumbnails - Linux TUI May 12, 2019

from gotbletu·

https://github.com/ranger/ranger/wiki/Video-Previews Since 1.7.0, ranger supports video previews. More generally, you can define rules in the scope.sh configuration file to convert any file type into an image. The image is then displayed as a preview using the configured previewimagesmethod (see Image Previews). Video previews are disabled by default. To turn them on: Make sure that displaying previews for images works, according to Image Previews Install ffmpegthumbnailer. It's used to generate a thumbnail of a video. Get a recent scope.sh config file, e.g. by typing ranger --copy-config=scope. Uncomment the video rule in scope.sh, inside the handle_image function (search for ffmpegthumbnailer if you …



https://github.com/ranger/ranger/wiki/Video-Previews Since 1.7.0, ranger supports video previews. More generally, you can define rules in the scope.sh configuration file to convert any file type into an image. The image is then displayed as a preview using the configured previewimagesmethod (see Image Previews). Video previews are disabled by default. To turn them on: Make sure that displaying previews for images works, according to Image Previews Install ffmpegthumbnailer. It's used to generate a thumbnail of a video. Get a recent scope.sh config file, e.g. by typing ranger --copy-config=scope. Uncomment the video rule in scope.sh, inside the handleimage function (search for ffmpegthumbnailer if you can't find it). Get an rc.conf (ranger --copy- config=rc) and change the line with set previewscript to point to your custom scope.sh. Done!