Installing Go
Set env
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/ffmpeg_build/lib/pkgconfig/
Check
pkg-config --libs libavformat
$ vi ~/.profile
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/ffmpeg_build/lib
Install
go get github.com/3d0c/gmf