Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 10, 2022. It is now read-only.

videotools/ffmpeg-build

Repository files navigation

NOTE : Please use https://github.com/jrottenberg/ffmpeg for now

FFmpeg Build Docker image

Docker Stars Docker pulls Travis Build Status Docker Automated build

This project prepares a development Docker image for FFmpeg. It compiles FFmpeg from sources following instructions from the Compilation Guide. All the generated libs are left in the final image to be reuse.

You can test the latest build of this image by running docker pull videotools/ffmpeg-build.

This image can be used as a base for an encoding farm.

It is on purpose very large as it contains all the lib for ffmpeg, feel free to extend and generate yours with multistage:


FROM base AS release
MAINTAINER Julien Rottenberg <julien@rottenberg.info>
CMD ["--help"]
ENTRYPOINT ["ffmpeg"]
ENV LD_LIBRARY_PATH=/usr/local/lib
COPY --from=build /usr/local /usr/local/
# Let's make sure the app built correctly
# Convenient to verify on https://hub.docker.com/r/videotools/ffmpeg-build/builds console output

Ubuntu builds

You can use videotools/ffmpeg-build to get the latest build based on ubuntu.

How the 'recent images' was generated
 $ curl --silent https://hub.docker.com/v2/repositories/videotools/ffmpeg-build/tags/?page_size=500 | jq -cr ".results|sort_by(.name)|reverse[]|.sz=(.full_size/1048576|floor|tostring+\"mb\")|[.name,( (20-(.name|length))*\" \" ),.sz,( (8-(.sz|length))*\" \"),.last_updated[:10]]|@text|gsub(\"[,\\\"\\\]\\\[]\";null)" | grep 2018-08

Please use Github issues to report any bug or missing feature.

See what's inside the beast

docker run -it --entrypoint='bash' videotools/ffmpeg-build:VERSION
for i in ogg amr vorbis theora mp3lame opus vpx xvid fdk x264 x265;do echo $i; find /usr/local/ -name *$i*;done

Keep up to date

See Dockerfile-env to update a version

Contribute

# Add / fix stuff
${EDITOR} templates/
# Generates the Dockerfile for all variants
./update.py
# Test a specific variant
docker build -t my-build docker-images/VERSION/
# Make sure all variants pass before Travis does
find ffmpeg/ -name Dockerfile | xargs dirname | parallel --no-notice -j 4 --results logs docker build -t {} {}

Commit the templates files THEN all the generated Dockerfile for a merge request. So it's easier to review the template change.

About

Docker image with ffmpeg libraries

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /