vifm: Fix video thumbnail preview
This commit is contained in:
parent
32bf7d1f38
commit
f7a4dedfb8
1 changed files with 2 additions and 3 deletions
|
@ -413,9 +413,8 @@ filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
|
||||||
fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
|
fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
|
||||||
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
|
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
|
||||||
\*.as[fx]
|
\*.as[fx]
|
||||||
\ tput cup %py %px > /dev/tty && ffmpeg -y -hide_banner -loglevel panic -i %c -ss 00:00:01.000 -vframes 1 /tmp/tempfile.jpg > /dev/null && kitty +kitten icat --transfer-mode=file --place=%pwx%ph@%pxx%py /tmp/tempfile.jpg %N
|
" needs to be %pu uncached or it flickers itself into oblivion :(
|
||||||
\ %pc
|
\ exist chafa && ffmpeg -y -hide_banner -loglevel panic -i %c -ss 00:00:01.000 -vframes 1 /tmp/tempfile.jpg && chafa -f iterm --size %pwx%ph /tmp/tempfile.jpg %pd %pu %N || echo chafa not found,
|
||||||
\ kitty +kitten icat --transfer-mode=file --place=%pwx%ph@%pxx%py --clear %N,
|
|
||||||
\ ffprobe -pretty %c 2>&1
|
\ ffprobe -pretty %c 2>&1
|
||||||
|
|
||||||
" Web
|
" Web
|
||||||
|
|
Loading…
Reference in a new issue