You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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 error
At the same time I'll add faac package at the begging
Thanks!
The text was updated successfully, but these errors were encountered: