Skip to content

amitkma/python-ffmpeg

Repository files navigation

Python FFmpeg Docker Image

Build Status pre-commit.ci status

This repository contains a Docker image for Python with FFmpeg installed. This image is designed to provide a lightweight and efficient environment for running Python applications that require FFmpeg.

Table of Contents

Features

  • Python 3.12 and 3.13
  • FFmpeg installed
  • Lightweight slim base image
  • Pre-configured for development with pre-commit hooks

Usage

Pulling the Image

You can pull the pre-built Docker image from Docker Hub:

docker pull amitkma/python-ffmpeg:3.12-slim

Running a Container

You can run a container from the pre-built image:

docker run -it amitkma/python-ffmpeg:3.12-slim

This will start a container with Python 3.12 and FFmpeg installed.

Development

Building the Image

To build the Docker image locally, run the following command:

docker build -t python-ffmpeg:3.12-slim 3.12/

Pre-commit Hooks

The repository includes pre-commit hooks for various checks and lints. To install the hooks, run the following command:

pip install -r requirements.txt
pre-commit install

The pre-commit configuration is defined in .pre-commit-config.yaml.

Contributing

We welcome contributions! Please see the PULL_REQUEST_TEMPLATE.md for guidelines on how to contribute.

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for details.

    Copyright 2025 Sunserg Technologies Pvt Ltd

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Author

Amit Kumar

About

Docker image for Python with FFmpeg installed

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •