movie thumbnailer (mtn)
fork from http://moviethumbnail.sourceforge.net/
Movie Thumbnailer (mtn) saves thumbnails (screenshots) of movie or video files to image files (jpg, png).
It uses FFmpeg's libavcodec as its engine, so it supports all popular codecs, e.g. h.265/hevc, h.264, mpeg1, mpeg2, mp4, vc1, wmv, xvid, divx...
mtn was originaly developed by tuit (tuitfun); though most of its magic is actually done
by FFmpeg libraries. For documents, please see in the doc directory and at
https://gitlab.com/movie_thumbnailer/mtn/wikis/home .
- ffmpeg (>=3.1)
- gd (>=2.0.33)
git clone https://gitlab.com/movie_thumbnailer/mtn.git
cd src
# USER_CFLAGS is optional
make USER_CFLAGS=-DMTN_DEF_FONTNAME=\\\"DefaultFont.ttf\\\"
make install
See wiki page
dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E �dora).noarch.rpm
dnf install ffmpeg-devel gd-devel make gcc-c
Debian 9 , Ubuntu 17.10, LinuxMint 19, MX Linux 18, ...
sudo apt-get install libgd-dev libavutil-dev libavcodec-dev libavformat-dev libswscale-dev make
sudo pacman -Sy ffmpeg gd
OpenSUSE 15
zypper install ffmpeg-4-libavcodec-devel ffmpeg-4-libavdevice-devel ffmpeg-4-libavformat-devel ffmpeg-4-libswscale-devel gd-devel freetype2-devel libjpeg62-devel make gcc
CentOS 7
yum localinstall https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm
yum install ffmpeg-devel gd-devel make gcc-c
pkg install gmake ffmpeg libgd
gmake
Install msys2 and open a MinGW64 terminal:
# update package database
pacman -Sy
# install dependencies
pacman -S mingw-w64-x86_64-make mingw-w64-x86_64-gcc mingw-w64-x86_64-ffmpeg mingw-w64-x86_64-libgd
# build mtn
mingw32-make.exe
(more information in wiki)
macOS (brew)
If you don't want to contribute please refer to the installation guide here instead.
brew install ffmpeg libgd
make
sudo make install