Git Product home page Git Product logo

mtn's Introduction

Description

Movie Thumbnailer (mtn) saves thumbnails (screenshots) of video files to image files (jpg, png, webp, avif). 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 wiki at https://gitlab.com/movie_thumbnailer/mtn/wikis/home .

Dependency

  • ffmpeg (>=3.1)
  • gd (>=2.0.33)

Getting source

git clone https://gitlab.com/movie_thumbnailer/mtn.git

Installation

From source

cd src
# USER_CFLAGS is optional
make USER_CFLAGS=-DGB_F_FONTNAME=\\\"DefaultFont.ttf\\\"
make install

From community repository

See wiki page

Getting build dependencies

Fedora

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 9+, Ubuntu 18.04+, LinuxMint 19+, MX Linux 18+, ...

sudo apt-get install libgd-dev libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libswscale-dev make  

Archlinux, Manjaro

sudo pacman -Sy ffmpeg gd

OpenSUSE 15

zypper install ffmpeg-4-libavcodec-devel ffmpeg-4-libavdevice-devel ffmpeg-4-libavfilter-devel ffmpeg-4-libavformat-devel ffmpeg-4-libswscale-devel gd-devel freetype2-devel libjpeg62-devel make gcc 

RHEL 8+

dnf install https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm
dnf install ffmpeg-devel gd-devel make gcc-c++    

RHEL 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++    

FreeBSD

pkg install gmake ffmpeg libgd
gmake

Windows

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

Links

mtn's People

Contributors

f4bio avatar kchiem avatar vitkabele avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zipper9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.