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

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

官方QQ群: 1072982923

热门搜索:openclaw🔥nginx🔥redis🔥mysqlopenjdkcursorweb2apimemgraphzabbixetcdubuntucorednsjdk
ffmpeg

linuxserver/ffmpeg

linuxserver

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

173 次收藏下载次数: 0状态:社区镜像维护者:linuxserver仓库类型:镜像最近更新:8 天前
使用轩辕镜像,把时间还给真正重要的事。点击查看
版本下载
使用轩辕镜像,把时间还给真正重要的事。点击查看

https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png]([***]

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.
  • https://github.com/linuxserver - view the source for all of our repositories.
  • Open Collective - please *** helping us by either donating or contributing to our budget

https://github.com/linuxserver/docker-ffmpeg

![Scarf.io pulls]([] ![GitLab Container Registry]([] ![Quay.io]([] ![Jenkins Build]([]

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

https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/ffmpeg.png]([***]

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 https://github.com/NVIDIA/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 https://github.com/linuxserver/docker-ffmpeg.git
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.03.26: - Add support for SoX Resampler. Bump freetype, harfbuzz, Intel drivers and libs, libplacebo, libpng, mesa, shaderc, svtav1, vpx, vulkan-sdk and vvenc.
  • 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

jrottenberg
FFmpeg 2.8 - 3.x - 4.x Docker镜像,由FFmpeg开发者版权所有(C) 2000-2017,从源码编译,支持多种基础镜像和硬件加速。
468 次收藏5000万+ 次下载
23 天前更新
opencoconut/ffmpeg logo

opencoconut/ffmpeg

opencoconut
基于Alpine Linux的轻量级FFmpeg Docker镜像,体积仅106.7 MB(远小于传统~350 MB),包含FFmpeg 3.0.2版本及多种编解码器,适用于高效音视频编解码与格式转换。
30 次收藏100万+ 次下载
9 年前更新
sjourdan/ffmpeg logo

sjourdan/ffmpeg

sjourdan
基于Alpine的FFmpeg Docker镜像,包含ffmpeg、ffserver、ffprobe和qt-faststart工具,提供最新静态构建,适用于音视频转码、流媒体服务及媒体文件分析。
3 次收藏50万+ 次下载
10 年前更新
datarhei/ffmpeg logo

datarhei/ffmpeg

datarhei
用于H.264处理的FFmpeg开发镜像
8 次收藏50万+ 次下载
3 年前更新
rafalkrypa/ffmpeg logo

rafalkrypa/ffmpeg

rafalkrypa
基于最小化Alpine Linux容器的最新FFmpeg静态构建镜像,通过多阶段构建实现极小体积,仅包含FFmpeg静态二进制文件。
3 次收藏10万+ 次下载
7 年前更新
alfg/ffmpeg logo

alfg/ffmpeg

alfg
基于Alpine Linux从源代码构建的FFmpeg Docker镜像。
7 次收藏10万+ 次下载
3 年前更新

轩辕镜像配置手册

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

Docker 配置

登录仓库拉取

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

专属域名拉取

无需登录使用专属域名

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

Harbor 镜像源配置

Harbor Proxy Repository 对接专属域名

Portainer 镜像源配置

Portainer Registries 加速拉取

Nexus 镜像源配置

Nexus3 Docker Proxy 内网缓存

系统配置

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

MacOS OrbStack

MacOS OrbStack 容器配置

Docker Compose

Docker Compose 项目配置

NAS 设备

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

极空间

极空间 NAS 系统配置服务

网络设备

爱快路由

爱快 iKuai 路由系统配置

宝塔面板

在宝塔面板一键配置镜像

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

镜像拉取常见问题

使用与功能问题

配置了专属域名后,docker search 为什么会报错?

docker search 限制

Docker Hub 上有的镜像,为什么在轩辕镜像网站搜不到?

站内搜不到镜像

机器不能直连外网时,怎么用 docker save / load 迁镜像?

离线 save/load

docker pull 拉插件报错(plugin v1+json)怎么办?

插件要用 plugin install

WSL 里 Docker 拉镜像特别慢,怎么排查和优化?

WSL 拉取慢

轩辕镜像安全吗?如何用 digest 校验镜像没被篡改?

安全与 digest

第一次用轩辕镜像拉 Docker 镜像,要怎么登录和配置?

新手拉取配置

错误码与失败问题

docker pull 提示 manifest unknown 怎么办?

manifest unknown

docker pull 提示 no matching manifest 怎么办?

no matching manifest(架构)

镜像已拉取完成,却提示 invalid tar header 或 failed to register layer 怎么办?

invalid tar header(解压)

Docker pull 时 HTTPS / TLS 证书验证失败怎么办?

TLS 证书失败

Docker pull 时 DNS 解析超时或连不上仓库怎么办?

DNS 超时

Docker 拉取出现 410 Gone 怎么办?

410 Gone 排查

出现 402 或「流量用尽」提示怎么办?

402 与流量用尽

Docker 拉取提示 UNAUTHORIZED(401)怎么办?

401 认证失败

遇到 429 Too Many Requests(请求太频繁)怎么办?

429 限流

docker login 提示 Cannot autolaunch D-Bus,还算登录成功吗?

D-Bus 凭证提示

为什么会出现「单层超过 20GB」或 413,无法加速拉取?

413 与超大单层

账号 / 计费 / 权限

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

免费版与专业版区别

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

支持的镜像仓库

镜像拉取失败还会不会扣流量?

失败是否计费

麒麟 V10 / 统信 UOS 提示 KYSEC 权限不够怎么办?

KYSEC 拦截脚本

如何在轩辕镜像申请开具发票?

申请开票

怎么修改轩辕镜像的网站登录和仓库登录密码?

修改登录密码

如何注销轩辕镜像账户?要注意什么?

注销账户

配置与原理类

写了 registry-mirrors,为什么还是走官方或仍然报错?

mirrors 不生效

怎么用 docker tag 去掉镜像名里的轩辕域名前缀?

去掉域名前缀

如何拉取指定 CPU 架构的镜像(如 ARM64、AMD64)?

指定架构拉取

用轩辕镜像拉镜像时快时慢,常见原因有哪些?

拉取速度原因

查看全部问题→

用户好评

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

用户头像

oldzhang

运维工程师

Linux服务器

5

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

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