Skip to content

caijinhai/goav

 
 

Repository files navigation

Golang 1.16 work with ffmpeg 4.1.6. Forked from here

run example

with compile ffmpeg:

export FFMPEG_ROOT=/home/caijinhai/tmp/ffmpeg
export CGO_LDFLAGS="-L$FFMPEG_ROOT/lib/ -lavcodec -lavformat -lavutil -lswscale -lswresample -lavdevice -lavfilter"
export CGO_CFLAGS="-I$FFMPEG_ROOT/include"
export PKG_CONFIG_PATH="$FFMPEG_ROOT/lib/pkgconfig"

export LD_LIBRARY_PATH=$FFMPEG_ROOT/lib:$LD_LIBRARY_PATH

cd example
go run decode.go ${test_mp4_path}

About

Golang bindings for FFmpeg libraries

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%