2019-03-21 21:54:07 +03:00
2019-03-21 16:08:26 +03:00
2019-02-16 19:39:54 +03:00
2019-03-21 16:08:26 +03:00
2019-03-21 21:54:07 +03:00
2019-03-21 21:54:07 +03:00
2015-04-01 19:50:17 -07:00
2015-04-01 19:50:17 -07:00
2018-08-27 15:52:38 +03:00
2019-03-21 16:08:26 +03:00
2019-03-21 21:54:07 +03:00
2019-03-21 21:54:07 +03:00
2018-06-25 22:09:27 +02:00
2018-09-07 14:35:26 +03:00
2018-06-25 22:09:27 +02:00
2019-03-21 21:54:07 +03:00
2019-03-21 21:54:07 +03:00
2019-03-21 21:54:07 +03:00
2019-03-21 21:54:07 +03:00
2018-08-27 15:52:38 +03:00
2019-03-21 21:54:07 +03:00
2019-03-21 21:54:07 +03:00
2019-03-21 21:54:07 +03: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
2019-03-21 21:54:07 +03:00
2019-03-21 21:54:07 +03:00
2018-07-18 16:08:31 +03:00
2018-07-18 16:08:31 +03:00
2019-03-21 21:54:07 +03:00
2019-03-21 21:54:07 +03:00
2019-03-21 16:08:26 +03:00
2019-03-21 16:08:26 +03:00
2019-03-21 21:54:07 +03:00
2019-03-21 21:54:07 +03:00
2015-04-01 19:50:17 -07:00
2014-03-13 19:50:57 +04:00
2019-03-21 16:08:26 +03:00

Go FFmpeg Bindings

Installation

Prerequisites

Current master branch requires go 1.6.
Older versions available in branches go1.2 and go1.5.

Build

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).

Usage

Please see examples and tests.

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%