Skip to content

FFmpeg compiled to be compatible with LGPL v2.1, on Amazon Linux 2 and NO ACCESS TO NETWORK for advanced security requirements.

License

Notifications You must be signed in to change notification settings

giusedroid/ffmpeg-lgpl-amazonlinux2-no-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ffmpeg-lgpl-amazonlinux2-no-network

FFmpeg Docker container compiled to be compatible with LGPL starting from AmazonLinux2.
FFmpeg has been compiled as a single static binary to use it with AWS Lambda Layers.

Legal Notice about the usage of FFmpeg

This software uses code of FFmpeg licensed under the LGPLv2.1 and its source can be downloaded here.

A copy of the LGPLv2.1 is also available in this repository here.

Compilation Process

FFmpeg source code has NOT been modified for this software.
FFmpeg has been compiled with the following configuration.

ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7 (GCC)
  configuration: --prefix=/opt/ffmpeg_build --pkg-config-flags=--static --extra-cflags='-I/opt/ffmpeg_build/include -static' --extra-ldflags='-L/opt/ffmpeg_build/lib -static' --disable-debug --disable-doc --disable-ffplay --disable-network --bindir=/opt/bin
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

FFmpeg has been compiled without --enable-gpl and --enable-nonfree in order to comply with the terms of LGPLv2.1.
Additionally, this release has been compiled witn --disable-network for advanced security requirements.
You can have further details on the compilation process in the Dockerfile and in the local build script

You can check that the ffmpeg single binary has no dynamic dependencies by

Admin:~/environment $ ldd ./ffmpeg
        not a dynamic executable

Binaries

Standalone Binaries for FFmpeg and FFprobe compiled on Amazonlinux2 are available here.
These have been compiled with the same configuration set.

Release

You can find an achive with both FFmpeg and FFprobe static binaries for AmazonLinux2 here.

Docker

You can pull this image from DockerHub by doing the following

docker pull giusedroid/ffmpeg-lgpl:amazonlinux2-no-network

Buy Me a Beer

If you found this useful, please feel free to buy me a beer or a coffee.
Monzo

Follow me on Twitter

You can find me on Twitter as giusedroid

About

FFmpeg compiled to be compatible with LGPL v2.1, on Amazon Linux 2 and NO ACCESS TO NETWORK for advanced security requirements.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published