专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像 官方专业版轩辕镜像 官方专业版官方专业版
首页个人中心搜索镜像

交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 1072982923

linuxserver/ffmpeg Docker 镜像 - 轩辕镜像

ffmpeg
linuxserver/ffmpeg
linuxserver/ffmpeg是LinuxServer团队优化的轻量级Docker镜像,集成FFmpeg全功能多媒体处理工具,支持音视频编解码、格式转换、滤镜特效及流媒体推流/拉流。镜像采用高效打包技术,体积小巧且兼容多架构平台,持续同步官方更新确保功能前沿。适用于开发者批量处理音视频文件、搭建媒体服务器实时转码或家庭影院系统自动化格式转换,为多媒体处理提供高效稳定的容器化解决方案。
172 收藏0 次下载
😎 镜像稳了,发布才敢点回车
版本下载
😎 镜像稳了,发布才敢点回车

![linuxserver.io]([***]

The LinuxServer.io team brings you another container release featuring:

  • regular and timely application updates
  • easy user mappings (PGID, PUID)
  • custom base image with s6 overlay
  • weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
  • regular security updates

Find us at:

  • Blog - all the things you can do with our containers including How-To guides, opinions and much more!
  • *** - realtime support / chat with the community and the team.
  • Discourse - post on our community forum.
  • Fleet - an online web interface which displays all of our maintained images.
  • GitHub - view the source for all of our repositories.
  • Open Collective - please *** helping us by either donating or contributing to our budget

linuxserver/ffmpeg

![Scarf.io pulls]([] ![GitHub Stars]([] ![GitHub Release]([] ![GitHub Package Repository]([] ![GitLab Container Registry]([] ![Quay.io]([] ![Docker Pulls]([] ![Docker Stars]([] ![Jenkins Build]([***]

FFmpeg - A complete, cross-platform solution to record, convert and stream audio and video.

![ffmpeg]([***]

Supported Architectures

We utilise the docker manifest for multi-platform awareness. More information is available from docker here and our announcement here.

Simply pulling lscr.io/linuxserver/ffmpeg:latest should retrieve the correct image for your arch, but you can also pull specific arch images via tags.

The architectures supported by this image are:

ArchitectureAvailableTag
x86-64✅amd64-<version tag>
arm64✅arm64v8-<version tag>
armhf❌

Usage

Unlike most of our container library this image is meant to be run ephemerally from the command line parsing user input for a custom FFmpeg command. You will need to understand some Docker basics to use this image and be familiar with how to construct an FFmpeg command. In the commands below we will be bind mounting our current working directory from the CLI to /config, the assumption is that input.mkv is in your current working directory.

If an input file is detected we will run FFmpeg as that user/group so the output file will match its permissions. The image supports Hardware acceleration on x86 pay close attention to the variables for the examples below.

Included Intel Drivers (latest versions compiled):
  • iHD Driver: Supports gen8+ (default for Intel)

  • i965 Driver: Supports gen5+ (for gen5-gen9.5 it can be enabled by setting env var LIBVA_DRIVER_NAME=i965 in docker arguments)

  • Libva (VAAPI): Supports gen5+ with i965 driver and gen8+ with iHD driver

  • Qsv Dispatcher: OneVPL (supports both OneVPL and MSDK runtimes and should automatically switch)

  • Qsv Runtime:

    • OneVPL: Supports gen12+
    • MSDK (libmfx): Supports gen8 - gen12
Basic Transcode
bash
docker run --rm -it \
  -v $(pwd):/config \
  linuxserver/ffmpeg \
  -i /config/input.mkv \
  -c:v libx264 \
  -b:v 4M \
  -vf scale=1280:720 \
  -c:a copy \
  /config/output.mkv
Hardware accelerated (VAAPI) (click for more info)
bash
docker run --rm -it \
  --device=/dev/dri:/dev/dri \
  -v $(pwd):/config \
  linuxserver/ffmpeg \
  -vaapi_device /dev/dri/renderD128 \
  -i /config/input.mkv \
  -c:v h264_vaapi \
  -b:v 4M \
  -vf 'format=nv12|vaapi,hwupload,scale_vaapi=w=1280:h=720' \
  -c:a copy \
  /config/output.mkv
Hardware accelerated (QSV) (click for more info)
bash
docker run --rm -it \
  --device=/dev/dri:/dev/dri \
  -v $(pwd):/config \
  linuxserver/ffmpeg \
  -hwaccel qsv \
  -c:v h264_qsv \
  -i /config/input.mkv \
  -c:v h264_qsv \
  -global_quality 25 \
  /config/output.mkv
Nvidia Hardware accelerated (click for more info)

Nvidia support requires Nvidia container toolkit and the Nvidia drivers installed on the host.

bash
docker run --rm -it \
  --runtime=nvidia \
  -v $(pwd):/config \
  linuxserver/ffmpeg \
  -hwaccel nvdec \
  -i /config/input.mkv \
  -c:v h264_nvenc \
  -b:v 4M \
  -vf scale=1280:720 \
  -c:a copy \
  /config/output.mkv
Vulkan support

Vulkan support has been added to x86_64 (tested with Intel and AMD iGPU) (click for more info).

bash
docker run --rm -it \
  --device=/dev/dri:/dev/dri \
  -v $(pwd):/config \
  -e ANV_VIDEO_DECODE=1 \
  linuxserver/ffmpeg \
  -init_hw_device "vulkan=vk:0" \
  -hwaccel vulkan \
  -hwaccel_output_format vulkan \
  -i /config/input.mkv \
  -f null - -benchmark
Vulkan supports three drivers
  • ANV: To enable for Intel, set the env var ANV_VIDEO_DECODE=1
  • RADV: To enable on AMD, set the env var RADV_PERFTEST=video_decode
  • NVIDIA: To enable on Nvidia, install Nvidia Vulkan Beta drivers on the host per this article

Building locally

If you want to make local modifications to these images for development purposes or just to customize the logic:

bash
git clone [***]
cd docker-ffmpeg
docker build \
  --no-cache \
  --pull \
  -t lscr.io/linuxserver/docker-ffmpeg:latest .

The ARM variants can be built on x86_64 hardware using multiarch/qemu-user-static

bash
docker run --rm --privileged multiarch/qemu-user-static:register --reset

Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.

Versions

  • 06.01.26: - Remove mpp from aarch64 build due to upstream DMCA removal. Bump harfbuzz, libdav1d, libdrm, libpng, libva, libvpl, mesa, opus, shaderc and vulkan-sdk.
  • 01.12.25: - Bump ffmpeg to 8.0.1.
  • 19.11.25: - Bump aom, freetype, harfbuzz, Intel drivers and libs, kvazaar, libdav1d, libdrm, mesa, mpp, openjpeg, shaderc, svt-av1 and vulkan-sdk.
  • 23.08.25: - Bump ffmpeg to 8.0. Bump harfbuzz, Intel drivers and libs, libdovi, libdrm, libpng, mesa, ogg, rav1e, shaderc, svt-av1, vulkan-sdk, webp and zimg.
  • 06.08.25: - Bump svt-av1.
  • 07.06.25: - Bump harfbuzz, libass, libdovi, libplacebo, libpng, mesa, rav1e, shaderc, libvpx and vulkan-sdk.
  • 04.06.25: - Add libdrm and rkmpp to arm64 image.
  • 21.04.25: - Bump aom, Intel drivers and libs, harfbuzz, mesa, svt-av1, libvpx, libtheora, vulkan-sdk and vvenc.
  • 07.03.25: - Bump ffmpeg to 7.1.1, Bump aom, fontconfig, Intel drivers and libs, harfbuzz, libdav1d, libdovi, libdrm, liblc3, libpng, mesa, openjpeg, shaderc, svt-av1, vulkan-sdk, vvenc and webp.
  • 26.11.24: - Bump libaom, mesa, rist, srt and libx265.
  • 07.11.24: - Bump harfbuzz, Intel drivers and libs, libdav1d, mesa, svtav1, vpx, vulkan sdk and vvenc.
  • 05.10.24: - Add support for libvvenc on aarch64. Bump mesa.
  • 30.09.24: - Bump ffmpeg for 7.1. Add support for libvvenc (amd64 only) and liblc3. Bump libfribidi and libharfbuzz.
  • 24.09.24: - Let ffmpeg terminate gracefully on docker stop/restart. Bump libharfbuzz, libpng, mesa, shaderc and libx265.
  • 09.09.24: - Add libzmq.
  • 31.08.24: - Bump libaom, libdrm, libvpl, mesa and svtav1. Enable nvdec/nvenc on arm64 (untested).
  • 17.08.24: - Bump ffmpeg, freetype, libdovi and mesa.
  • 14.08.24: - Add SRT and libRIST.
  • 01.08.24: - Add libdav1d. Bump libharfbuzz, various Intel drivers and libs, libass, libdrm, libplacebo, libva, mesa, svtav1, and vulkan sdk.
  • 21.06.24: - Bump mesa and libaom. Update lib path for rav1e.
  • 08.06.24: - Bump ffmpeg, fribidi, libdrm, mesa and vpx.
  • 26.05.24: - Rebase to Ubuntu Noble. Bump libass, libharfbuzz and vulkan-sdk.
  • 22.05.24: - Bump Mesa to 24.1.0.
  • 20.05.24: - Bump libsvtav1.
  • 09.05.24: - Bump libaom, fribidi, kvazaar, various Intel drivers and libs, Mesa, opus, shaderc, webp and x265.
  • 11.04.24: - Explicitly disable libdrm on aarch64, add new lib libxcb-shm0. Add quick test at the end of build.
  • 10.04.24: - Compile ffmpeg with libfribidi, libharfbuzz and libfontconfig, compile libharfbuzz.
  • 05.04.24: - Bump ffmpeg to 7.0, bump libdovi, libva, mesa and vulkan-sdk.
  • 16.03.24: - Bump libaom, mesa, openjpeg, opus, shaderc and svtav1.
  • 11.02.24: - Add Zimg support.
  • 09.02.24: - Bump ffmpeg to 6.1.1, bump other deps.
  • 08.02.24: - Enable cuda-llvm, clean up rustc.
  • 01.02.24: - Bump Mesa to v24.
  • 21.01.24: - Add alsa support.
  • 18.01.24: - Let the wrapper pass the ffmpeg exit code to docker run. Bump various libs.
  • 01.01.24: - Add rav1e support. Bump libaom, fdkaac, libdrm, libvmaf, libvpl, mesa and svt-av1.
  • 06.12.23: - Add libplacebo and libdobi to x86_64.
  • 05.12.23: - Bump Mesa. Fix vdpau. Fix AMD VAAPI.
  • 25.11.23: - Compile Mesa from source. Add proper Vulkan support (env var ENABLE_VULKAN=true no longer needed)(tested with Intel).
  • 22.11.23: - Add shaderc and (preliminary) Vulkan support (via env var ENABLE_VULKAN=true) to x86_64. Bump Intel drivers and other libs.
  • 13.11.23: - Bump FFmpeg to 6.1.
  • 02.11.23: - Remove --enable-small from ffmpeg build options to add back some features.
  • 05.10.23: - Add support for SVT-AV1. Update various libraries.
  • 16.08.23: - Added support for WebP formats.
  • 11.08.23: - Add optional i965 driver for gen5+ support.
  • 14.06.23: - Switch to latest iHD for Intel, add qsv support.
  • 13.06.23: - Bump to 6.0, update shared libraries, deprecate armhf, combine bin stage.
  • 14.12.22: - Rebase to Jammy, bump to 5.1.2.
  • 19.06.22: - Rebase to Focal.
  • 26.08.21: - Add support for libOpenCL.
  • 01.07.21: - Bump to 4.4.
  • 17.06.20: - Bump to 4.3.
  • 16.06.20: - Add support for libvmaf.
  • 01.08.19: - Initial release.
查看更多 ffmpeg 相关镜像 →
jrottenberg/ffmpeg logo
jrottenberg/ffmpeg
FFmpeg 2.8 - 3.x - 4.x Docker镜像,由FFmpeg开发者版权所有(C) 2000-2017,从源码编译,支持多种基础镜像和硬件加速。
46650M+ pulls
上次更新:未知
thinkz/ffmpeg logo
thinkz/ffmpeg
基于Alpine 3.12构建的包含librtmp的FFmpeg镜像,提供音视频转码、剪辑等处理能力,同时支持RTMP协议的推流与拉流操作。
10K+ pulls
上次更新:未知
mnomitch/ffmpeg logo
mnomitch/ffmpeg
暂无描述
100K+ pulls
上次更新:未知
abema/ffmpeg logo
abema/ffmpeg
暂无描述
100K+ pulls
上次更新:未知
ndviet/ffmpeg logo
ndviet/ffmpeg
用于测试和贡献jrottenberg/ffmpeg项目的Docker镜像,提供便捷的开发与测试环境,支持FFmpeg相关功能验证、代码贡献及项目协作。
10K+ pulls
上次更新:未知
minidocks/ffmpeg logo
minidocks/ffmpeg
轻量级FFmpeg镜像,提供完整的跨平台音视频记录、转换和流式传输解决方案
210K+ pulls
上次更新:未知

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

登录仓库拉取

通过 Docker 登录认证访问私有仓库

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

Docker Compose

Docker Compose 项目配置

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

MacOS OrbStack

MacOS OrbStack 容器配置

宝塔面板

在宝塔面板一键配置镜像

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

极空间

极空间 NAS 系统配置服务

爱快路由

爱快 iKuai 路由系统配置

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

专属域名拉取

无需登录使用专属域名

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

轩辕镜像免费版与专业版有什么区别?

免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。

轩辕镜像支持哪些镜像仓库?

专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。

流量耗尽错误提示

当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。

410 错误问题

通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。

manifest unknown 错误

先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。

镜像拉取成功后,如何去掉轩辕镜像域名前缀?

使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
linuxserver/ffmpeg
官方博客Docker 镜像使用技巧与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
咨询镜像拉取问题请 提交工单,官方技术交流群:1072982923
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
咨询镜像拉取问题请提交工单,官方技术交流群:
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
官方邮箱:点击复制邮箱
©2024-2026 源码跳动
官方邮箱:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.