š³ FFmpeg with extra codecs
7.2K
Examples of ffmpeg in Docker.
š¹ f3l1x.ioā | š» f3l1xā | š¦ @xf3l1xā
Examples of ffmpegā in Docker. The image copies the ffmpeg and ffprobe from
jrottenberg/ffmpeg:9.0-scratch into debian:trixie-slim. Use the same pattern in your own image.
ffmpeg and ffprobe from jrottenberg/ffmpeg:9.0-scratch, in /usr/local/bindebian:trixie-slim with git; LD_LIBRARY_PATH is set for the copied libraries/bin/bashdocker run --rm -it dockette/ffmegapeg:latest ffmpeg -version
Copy ffmpeg into your own image:
FROM jrottenberg/ffmpeg:9.0-scratch AS ffmpeg
FROM debian:trixie-slim
ENV LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64
RUN apt update && \
apt install -y YOUR_DEPS && \
apt clean -y && \
apt autoclean -y && \
apt autoremove -y && \
rm -rf /var/lib/apt/lists/* /var/lib/log/* /tmp/* /var/tmp/*
COPY --from=ffmpeg /bin/ffmpeg /bin/ffprobe /usr/local/bin/
COPY --from=ffmpeg /lib /lib
COPY --from=ffmpeg /share /share
COPY ./app /app
ENTRYPOINT ["/app"]
| Version | Release |
|---|---|
dockette/ffmegapeg:9.0-YYYY.MM.DD | release YYYY.MM.DD |
dockette/ffmegapeg:9.0 | latest release |
dockette/ffmegapeg:YYYY.MM.DD | release YYYY.MM.DD |
dockette/ffmegapeg:latest | latest build of master |
All versions copy ffmpeg from jrottenberg/ffmpeg:9.0-scratch. Releases are listed on GitHubā .
make build # build the image for linux/amd64 and linux/arm64
make test # check ffmpeg and ffprobe
make run # open a shell in the image
make version # print VERSION
make release # set today's date in VERSION
See how to contributeā to this package. Consider to supportā f3l1x. Thank you for using this package.
Content type
Image
Digest
sha256:82ebeccecā¦
Size
98.5 MB
Last updated
about 7 hours ago
docker pull dockette/ffmegapegPulls:
28
Oct 26 to Nov 1