Sign inSign up

dockette/ffmegapeg

Sponsored OSS

By dockette

•Updated about 11 hours ago

🐳 FFmpeg with extra codecs

Image
0

7.2K

dockette/ffmegapeg repository overview

⁠Dockette / FFMEGAPEG

Examples of ffmpeg in Docker.

GitHub Actions Docker Hub pulls GitHub Sponsors Support/Discussions

šŸ•¹ 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.

⁠Features

  • ffmpeg and ffprobe from jrottenberg/ffmpeg:9.0-scratch, in /usr/local/bin
  • Base debian:trixie-slim with git; LD_LIBRARY_PATH is set for the copied libraries
  • Default command is /bin/bash

⁠Usage

docker 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"]

⁠Versions

VersionRelease
dockette/ffmegapeg:9.0-YYYY.MM.DDrelease YYYY.MM.DD
dockette/ffmegapeg:9.0latest release
dockette/ffmegapeg:YYYY.MM.DDrelease YYYY.MM.DD
dockette/ffmegapeg:latestlatest build of master

All versions copy ffmpeg from jrottenberg/ffmpeg:9.0-scratch. Releases are listed on GitHub⁠.

⁠Development

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

⁠Maintenance

See how to contribute⁠ to this package. Consider to support⁠ f3l1x. Thank you for using this package.

Tag summary

Content type

Image

Digest

sha256:82ebeccec…

Size

98.5 MB

Last updated

about 11 hours ago

docker pull dockette/ffmegapeg

This week's pulls

Pulls:

28

Oct 26 to Nov 1