2022-09-06 21:04:54 +04:00
2022-01-22 17:03:57 +02:00
2019-02-16 19:39:54 +03:00
2019-03-21 16:08:26 +03:00
2021-03-30 11:40:54 +08:00
2021-03-30 11:40:54 +08:00
2021-03-30 11:40:54 +08:00
wip
2019-05-29 17:42:43 +03:00
2021-03-30 18:39:11 +08:00
2021-03-30 11:40:54 +08:00
2021-03-30 11:40:54 +08:00
2021-03-30 14:23:47 +08:00
2018-06-25 22:09:27 +02:00
2021-03-30 14:23:47 +08:00
2019-03-21 21:54:07 +03:00
2022-08-24 20:54:42 +02:00
2021-03-30 11:40:54 +08:00
2022-08-24 20:54:42 +02:00
2022-09-06 07:39:00 -07:00
2021-03-30 11:40:54 +08:00
2021-03-30 11:40:54 +08:00
2015-04-01 19:50:17 -07:00
2014-04-11 19:52:37 +04:00
2018-08-27 15:52:38 +03:00
WIP
2018-12-13 01:11:06 +03:00
2021-03-30 14:23:47 +08:00
2019-03-22 15:46:00 +03:00
2021-03-30 11:40:54 +08:00
2021-03-30 14:23:47 +08:00
2022-08-24 20:54:42 +02:00
2021-03-30 11:40:54 +08:00
2019-03-21 16:08:26 +03:00
2019-03-22 01:34:49 +03:00
2019-03-21 21:54:07 +03:00
2021-03-30 14:23:47 +08:00

Go FFmpeg Bindings

Installation

Prerequisites

Current master branch supports all major Go versions, starting from 1.6.

Build/install FFmpeg

build lastest version of ffmpeg, obtained from https://github.com/FFmpeg/FFmpeg
There is one required option, which is disabled by default, you should turn on: --enable-shared

E.g.:

./configure --prefix=/usr/local/ffmpeg --enable-shared
make
make install

Add pkgconfig path:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/ffmpeg/lib/pkgconfig/

Ensure, that PKG_CONFIG_PATH contains path to ffmpeg's pkgconfig folder.

# check it by running
pkg-config --libs libavformat

It should print valid path to the avformat library.

Now, just run

go get github.com/3d0c/gmf
Other methods

This package uses pkg-config way to obtain flags, includes and libraries path, so if you have ffmpeg installed, just ensure, that your installation has them (pkgconfig/ folder with proper pc files).

Docker containers

Thanks to @ergoz you can try a docker container riftbit/ffalpine

Thanks to @denismakogon there is one more project, worth to mention https://github.com/denismakogon/ffmpeg-debian

Usage

Please see examples.

Support and Contribution

If something doesn't work, just fix it. Do not hesitate to pull request.

Credits

I borrowed the name from project, abandoned on code.google.com/p/gmf. Original code is available here in intitial commit from 03 Apr 2013.

Description
No description provided
Readme MIT 20 MiB
Languages
Go 100%