Skip to content

Instantly share code, notes, and snippets.

@blackhalt blackhalt/
Last active Feb 10, 2019

What would you like to do?
Video Thumbnail Renew
#For Nemo, Nautilus actions: Exec=/blabla/ '%P/%f'
# Ar specsimboliem neJiet :/
# gg=$(echo -n "$aa" | iconv -f UTF8 -t ASCII//TRANSLIT | tr ' ' '_')
fn=$(echo -n "file://`readlink -f $1`" | md5sum | awk '{print $1}')
find $HOME/.cache/thumbnails/ -name "$fn." -exec rm {} \;
ffmpegthumbnailer -s 128 -i "$1" -o $HOME/.cache/thumbnails/normal/"$fn".png -c png -t 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.