https://github.com/astropilot/mtn
Movie Thumbnailer is CLI thumbnail generator using FFmpeg. Forked from https://gitlab.com/movie_thumbnailer/mtn
https://github.com/astropilot/mtn
Last synced: 6 days ago
JSON representation
Movie Thumbnailer is CLI thumbnail generator using FFmpeg. Forked from https://gitlab.com/movie_thumbnailer/mtn
- Host: GitHub
- URL: https://github.com/astropilot/mtn
- Owner: Astropilot
- License: gpl-2.0
- Created: 2021-09-04T13:10:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-04T13:20:14.000Z (almost 5 years ago)
- Last Synced: 2025-12-01T10:40:36.670Z (7 months ago)
- Language: C
- Size: 922 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.txt
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Description
===========
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 .
Dependency
==========
- ffmpeg (>=3.1)
- gd (>=2.0.33)
Getting source
==============
```sh
git clone https://gitlab.com/movie_thumbnailer/mtn.git
```
Installation
============
From source
-----------
```sh
cd src
# USER_CFLAGS is optional
make USER_CFLAGS=-DMTN_DEF_FONTNAME=\\\"DefaultFont.ttf\\\"
make install
```
From community repository
-----------
See [wiki](https://gitlab.com/movie_thumbnailer/mtn/wikis/home#install-from-community-repository) page
Getting build dependencies
==========================
**[Fedora](https://getfedora.org/)**
```sh
dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
dnf install ffmpeg-devel gd-devel make gcc-c++
```
**[Debian](https://www.debian.org/)** 9+, **[Ubuntu](https://www.ubuntu.com/)** 17.10, **[LinuxMint](https://linuxmint.com)** 19, **[MX Linux](https://mxlinux.org/)** 18, ...
```sh
sudo apt-get install libgd-dev libavutil-dev libavcodec-dev libavformat-dev libswscale-dev make
```
**[Archlinux](https://www.archlinux.org/), [Manjaro](https://manjaro.org/)**
```sh
sudo pacman -Sy ffmpeg gd
```
**[OpenSUSE](http://opensuse.org/)** 15
```sh
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](https://centos.org/)** 7+
```sh
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++
```
**[FreeBSD](https://www.freebsd.org/)**
```sh
pkg install gmake ffmpeg libgd
gmake
```
Windows
=======
Install msys2 and open a MinGW64 terminal:
```sh
# 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](https://gitlab.com/movie_thumbnailer/mtn/-/wikis/Building-on-Windows))
macOS [(brew)](https://brew.sh/)
=====
If you don't want to contribute please refer to the installation guide
[here](https://gitlab.com/movie_thumbnailer/mtn/wikis/home#macos-homebrew)
instead.
```sh
brew install ffmpeg libgd
make
sudo make install
```
Links
=====
* [FFmpeg project](http://www.ffmpeg.org)
* [libgd project](https://libgd.github.io)
* [MinGW](http://mingw-w64.org)
* [msys2](https://www.msys2.org/)
* [RPM Fusion repository](https://rpmfusion.org/)
* [RPM Macros](https://docs.fedoraproject.org/en-US/packaging-guidelines/RPMMacros/)
* [GitLab yaml](https://docs.gitlab.com/ee/ci/yaml/README.html)