Hi all!
Tell me please which current ffmpeg docker image is right to use go-libav with it?
For example I'm trying use it with ffmpeg3.1.3 from https://hub.docker.com/r/alfpark/ffmpeg
In my case in Dockerfile has next steps:
FROM alfpark/ffmpeg:3.1.3.as ffmpeg
FROM golang:alpine
RUN apk add --update --no-cache \
git faac\
musl-dev coreutils build-base nasm ca-certificates curl tar \
openssl-dev zlib-dev yasm-dev lame-dev freetype-dev opus-dev \
rtmpdump-dev x264-dev x265-dev xvidcore-dev libass-dev libwebp-dev \
libvorbis-dev libogg-dev libtheora-dev libvpx-dev pkgconfig
COPY --from=ffmpeg /usr/local /usr/local
//create my go repo and app
....
ENTRYPOINT /go/bin/run_my_go_app
In my app I just try register all codecs avformat.RegisterAll()
But it return's me error
# github.com/myrepo/vendor/github.com/imkira/go-libav/avcodec
/usr/lib/gcc/x86_64-alpine-linux-musl/8.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lfaac
collect2: error: ld returned 1 exit status
At the same time I'll add faac package at the begging
Thanks!
Hi all! Tell me please which current ffmpeg docker image is right to use go-libav with it? For example I'm trying use it with ffmpeg3.1.3 from https://hub.docker.com/r/alfpark/ffmpeg In my case in Dockerfile has next steps:
In my app I just try register all codecs
avformat.RegisterAll()
But it return's me errorAt the same time I'll add faac package at the begging Thanks!