Skip to content

Go media thumbnailer

License

Notifications You must be signed in to change notification settings

UnChaotic/thumbnailer

This branch is 1 commit ahead of meowmin/thumbnailer:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5a8efa9 · Sep 11, 2025

History

179 Commits
Jun 2, 2021
Oct 8, 2017
Aug 2, 2020
Oct 4, 2018
Aug 17, 2019
Nov 8, 2023
Jan 28, 2019
Aug 2, 2020
Dec 11, 2021
Mar 9, 2019
May 2, 2024
Jan 28, 2019
Dec 29, 2019
Jan 28, 2019
Mar 9, 2019
Aug 17, 2019
Apr 19, 2024
May 2, 2024
Aug 29, 2023
Mar 9, 2019
May 3, 2025
May 3, 2025
May 2, 2024
Jun 2, 2021
Sep 22, 2019
Aug 9, 2019
May 26, 2024
Jan 28, 2019
May 26, 2024
Feb 18, 2020
Feb 18, 2020
Sep 11, 2025
Jun 2, 2021
Feb 11, 2021
Jun 20, 2020
Jan 28, 2019

Repository files navigation

GoDoc

thumbnailer

Package thumbnailer provides a more efficient media thumbnailer than available with native Go processing libraries through ffmpeg bindings.

Use

go get -u github.com/bakape/thumbnailer/v2

to install the library in your project.

For a comprehensive list of file formats supported by default see main.go:Process().

Dependencies

  • Go >= 1.10
  • C11 compiler
  • make
  • pkg-config
  • pthread
  • ffmpeg >= 4.1 libraries (libavcodec, libavutil, libavformat, libswscale)

NB:

  • ffmpeg should be compiled with all the dependency libraries for formats you want to process. On most Linux distributions you should be fine with the packages in the stock repositories.
  • Ubuntu patches to ffmpeg on some Ubuntu versions <19.10 break this library. In this case, please compile from unmodified ffmpeg sources using:
sudo apt build-dep ffmpeg
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
git checkout n4.1
./configure
make -j`nproc`
sudo make install

About

Go media thumbnailer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 61.3%
  • C 35.4%
  • Makefile 2.3%
  • Dockerfile 1.0%