2023-11-17 15:57:20 -08:00
2021-06-01 21:38:47 -04:00
2018-10-03 23:00:39 +03:00
2019-08-16 21:13:35 +03:00
2019-03-08 23:44:37 +02:00
2019-03-08 23:44:37 +02:00
2019-01-27 23:15:51 +02:00
2019-12-29 00:11:39 +02:00
2019-01-27 23:15:51 +02:00
2019-08-16 21:37:13 +03:00
2019-03-08 23:44:37 +02:00
2023-08-28 19:17:19 -04:00
2020-06-11 02:43:26 +03:00
2020-06-11 02:43:26 +03:00
2019-01-27 23:15:51 +02:00
2021-06-01 21:38:47 -04:00
2021-06-01 21:38:47 -04:00
2020-08-02 17:37:36 +03:00
2019-01-28 00:30:25 +02:00
2019-08-08 20:37:27 +03:00
2019-12-29 00:14:36 +02:00
2019-03-09 17:11:17 +02:00
2021-12-11 12:14:53 +02:00
2022-03-24 14:33:36 +02:00
2021-06-01 21:38:47 -04:00
2019-01-27 23:15:51 +02:00

GoDoc Build Status

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
S
Description
Go media thumbnailer
Readme MIT
23 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 63.6%
C 33%
Makefile 2.4%
Dockerfile 1%