Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ahrm/lf-gadgets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A fork of lf-gadgets with better video thumbnails

For the original lf-gadgets documentation see https://github.com/slavistan/lf-gadgets .

Introduction

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:

2022-03-26_22-39

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:

2022-03-26_22-35

Instructions

Installation is pretty much like original lf-ueberzug, however we need ffmpeg for python:

python3 -m pip install ffmpeg-python

About

A collection of useful and nifty use cases and configurations for lf.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Roff 96.2%
  • Shell 3.5%
  • Python 0.3%