Skip to content

ToshY/docker-ffmpeg-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎬 Docker FFmpeg Compiler

Docker FFmpeg Compiler is a simple way to compile the FFmpeg binary for your linux system.

📝 Quickstart

🐋 Prerequisites

This project requires Docker. See the Docker installation guide to get started.

🚀 Setup

The easiest way to get started is by using the Makefile). Run make to see the help.

📦 Container

Compile

Build container to compile ffmpeg for version snapshot.

make compile VERSION="snapshot"

Note: You can substitute snapshot with the desired version, e.g. 5.1.2, to build an image for a specific release.

Start

Start container (in detached mode).

make start VERSION="snapshot"

Stop

Stop container.

make stop VERSION="snapshot"

Remove

Remove container.

make remove VERSION="snapshot"
💻️ Host machine

Copy

Copy the FFmpeg, FFprobe and FFplay binaries from container to host machine.

make copy VERSION="snapshot"

Note: This will copy the binaries to the $HOME/bin directory on the host machine.

Install

Install the package.list on host machine.

make install

🧰 Tinker

If you need either more or less libraries for your compiled binaries, you can edit the package.list and Dockerfile to your needs before building the image.

❕ License

Distributed under the MIT license. See LICENSE for more information.

Note: The purpose of this repository is purely to show on how to compile FFmpeg with several libraries, disregarding library specific licenses. Please check the FFmpeg License and Legal Considerations before compiling and/or using the compiled binary in production.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published