- Notifications
You must be signed in to change notification settings - Fork169
3d0c/gmf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Current master branch supports all major Go versions, starting from 1.6.
build lastest version of ffmpeg, obtained fromhttps://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-sharedmakemake install
Add pkgconfig path:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/ffmpeg/lib/pkgconfig/
Ensure, thatPKG_CONFIG_PATH
contains path to ffmpeg's pkgconfig folder.
# check it by runningpkg-config --libs libavformat
It should print valid path to the avformat library.
Now, just run
go get github.com/3d0c/gmf
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 properpc
files).
Thanks to@ergoz you can try a docker containerriftbit/ffalpine
Thanks to@denismakogon there is one more project, worth to mentionhttps://github.com/denismakogon/ffmpeg-debian
Please seeexamples.
If something doesn't work, just fix it. Do not hesitate to pull request.
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.