You are not logged in.
Pages: 1
Probably my Nth attempt to make a half-decent thumbnailer for video files, this one should also work with png images, producing 100x100px jpegs.
Usage
videothumb *.mp4
Download
https://raw.githubusercontent.com/bront … videothumb
warning: work in progress.
Last edited by brontosaurusrex (2016-08-02 21:30:54)
Offline
madoromi: Example command line? (Actually I couldn't find the executable at all with the one from Debian repos, not that I really tried hard)
Last edited by brontosaurusrex (2016-08-03 07:58:20)
Offline
^
sudo apt-get install ffmpegthumbnailer
and the thumbnails automagically show up in PCManFM and Thunar (if they're set to show preview thumbnails).
EDIT: Logout/login necessary to have video thumbnails show up in PCManFM
Last edited by pvsage (2016-08-03 08:21:08)
Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009
Offline
@pvsage: I'am thinking part of html/bb/markdown code generator, something that can be run on headless server.
Offline
Oh; in that case:
~$ ffmpegthumbnailer -h
Usage: ffmpegthumbnailer [options]
Options:
-i<s> : input file
-o<s> : output file
-s<n> : thumbnail size (use 0 for original size) (default: 128)
-t<n|s> : time to seek to (percentage or absolute time hh:mm:ss) (default: 10%)
-q<n> : image quality (0 = bad, 10 = best) (default: 8)
-c : override image format (jpeg or png) (default: determined by filename)
-a : ignore aspect ratio and generate square thumbnail
-f : create a movie strip overlay
-w : workaround issues in old versions of ffmpeg
-v : print version number
-h : display this help
should get you started.
Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009
Offline
Debian says
Package ffmpegthumbnailer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
So you compiled that?
Last edited by brontosaurusrex (2016-08-03 09:32:15)
Offline
BunsenLabs, Debian Stable:
apt-cache policy ffmpegthumbnailer
ffmpegthumbnailer:
Installed: (none)
Candidate: 2.0.8-2+b4
Version table:
2.0.8-2+b4 0
500 http://ftp.uk.debian.org/debian/ jessie/main amd64 Packages
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Right, I had some pining going on, thanks, will test.
so far (ffmpegthumbnailer 2.0.8 ):
cons:
- Can't do fill-the-box resize like this: ( so some scripting will still be needed )
- meaningless errors: "Not a native file, thumbnailing will likely fail"
pros:
- it is fast
Last edited by brontosaurusrex (2016-08-03 10:25:51)
Offline
Pages: 1