A fork of lf-gadgets with better video thumbnails
For the original lf-gadgets documentation see https://github.com/slavistan/lf-gadgets .
I use lf-ueberzug to get a preview of documents in command line which works pretty well for images and PDF files. However, for video files, pretty often I get something like this:
Now you'd be excused for thinking that the preview feature is not active in this image. Unfortunately lf-ueberzug
by default uses the first frame of the video which is usually completely black. In this fork we use the middle frame of the video instead, which looks much better:
Installation is pretty much like original lf-ueberzug
, however we need ffmpeg
for python:
python3 -m pip install ffmpeg-python