Image Details
docker.io/linuxserver/ffmpeg:8.0.1sha256:211841bb80a0d1faccbe7547ac5034ec02b94d5dd2a4128468006e7052662068sha256-a4EFTOErHXxmzetxBkZCbAglfCcJ/eH8LwsgWtKTePo=linux/amd648.0.1Source Configuration
The image is defined in/images/ffmpeg/default.nix:
images/ffmpeg/default.nix
Usage
In a Nix Flake
Reference the FFmpeg image in your flake:flake.nix
Build and Load
Build the image and load it into Docker or Podman:Direct Usage
Use the image directly without a flake:Common Use Cases
Video Transcoding
Video Transcoding
Use FFmpeg for batch video transcoding in CI/CD pipelines:
Audio Extraction
Audio Extraction
Extract audio tracks from video files:
Format Conversion
Format Conversion
Convert between different video formats:
Thumbnail Generation
Thumbnail Generation
Generate video thumbnails:
In NixOS Configuration
Use the FFmpeg image in a NixOS container configuration:configuration.nix
Why LinuxServer.io?
The LinuxServer.io FFmpeg image is chosen for:- Regular Updates: Maintained by the LinuxServer.io team with timely security patches
- Complete Build: Includes most FFmpeg features and codecs
- Good Documentation: Well-documented image with clear usage examples
- Security: Runs as non-root user and follows best practices
Troubleshooting
Hash Mismatch Error
Hash Mismatch Error
If you encounter a hash mismatch error, the upstream image may have changed. To fix:
- Update the digest in the source file
- Run the build to get the new hash
- Update the
hashfield with the new value
Permission Denied
Permission Denied
If you get permission errors when mounting volumes:
Image Not Found After Load
Image Not Found After Load
After loading, verify the image name and tag:
Next Steps
Nix Image
Explore the official Nix container image
Images Overview
Back to images overview
