项目作者: alfg

项目描述 :
A Dockerfile FFmpeg from source. Built on Alpine Linux.
高级语言: Dockerfile
项目地址: git://github.com/alfg/docker-ffmpeg.git
创建时间: 2016-12-20T04:19:53Z
项目社区:https://github.com/alfg/docker-ffmpeg

开源协议:MIT License

下载


docker-ffmpeg

An FFmpeg Dockerfile built from source. Built on Alpine Linux.

  • ffmpeg 4.4 (compiled from source). See FFmpeg Build for build configuration.

Docker Stars
Docker Pulls
Docker Automated build
Build Status

Usage

  • Pull Docker image and run:

    1. docker pull alfg/ffmpeg
    2. docker run -it --rm alfg/ffmpeg ffmpeg -buildconf
  • or build and run container from source:

  1. docker build -t ffmpeg .
  2. docker run -it ffmpeg ffmpeg -buildconf
  • or use as a base image in your Dockerfile:

    1. FROM alfg/ffmpeg:latest
  • Example using a mounted volume:

    1. docker run -v ${PWD}:/opt/tmp/ -it --rm alfg/ffmpeg ffmpeg -i /opt/tmp/input.mp4 -c copy output.mp4

FFmpeg Snapshot Builds

For building ffmpeg from snapshot, see snapshot/Dockerfile for FFmpeg snapshot builds including support for libaom-av1.

Or pull from the Docker tag:

  1. docker pull alfg/ffmpeg:snapshot

The snapshot tag may be out of date. Build from snapshot/Dockerfile to get the latest build.

FFmpeg Build

  1. ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
  2. built with gcc 10.2.1 (Alpine 10.2.1_pre1) 20201203
  3. configuration: --enable-version3 --enable-gpl --enable-nonfree --enable-small --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libopus --enable-libfdk-aac --enable-libass --enable-libwebp --enable-librtmp --enable-librav1e --enable-postproc --enable-avresample --enable-libfreetype --enable-openssl --disable-debug --disable-doc --disable-ffplay --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib --extra-libs='-lpthread -lm' --prefix=/opt/ffmpeg
  4. libavutil 56. 70.100 / 56. 70.100
  5. libavcodec 58.134.100 / 58.134.100
  6. libavformat 58. 76.100 / 58. 76.100
  7. libavdevice 58. 13.100 / 58. 13.100
  8. libavfilter 7.110.100 / 7.110.100
  9. libavresample 4. 0. 0 / 4. 0. 0
  10. libswscale 5. 9.100 / 5. 9.100
  11. libswresample 3. 9.100 / 3. 9.100
  12. libpostproc 55. 9.100 / 55. 9.100
  13. configuration:
  14. --enable-version3
  15. --enable-gpl
  16. --enable-nonfree
  17. --enable-small
  18. --enable-libmp3lame
  19. --enable-libx264
  20. --enable-libx265
  21. --enable-libvpx
  22. --enable-libtheora
  23. --enable-libvorbis
  24. --enable-libopus
  25. --enable-libfdk-aac
  26. --enable-libass
  27. --enable-libwebp
  28. --enable-librtmp
  29. --enable-librav1e
  30. --enable-postproc
  31. --enable-avresample
  32. --enable-libfreetype
  33. --enable-openssl
  34. --disable-debug
  35. --disable-doc
  36. --disable-ffplay
  37. --extra-cflags=-I/opt/ffmpeg/include
  38. --extra-ldflags=-L/opt/ffmpeg/lib
  39. --extra-libs='-lpthread -lm'
  40. --prefix=/opt/ffmpeg

Resources

License

MIT