lsiodev/ffmpegdocker 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
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
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
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 has been added to x86_64 (tested with Intel and AMD iGPU) (click for more info).
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
Note: Vulkan supports three drivers:
ANV_VIDEO_DECODE=1RADV_PERFTEST=video_decodeIf you want to make local modifications to these images for development purposes or just to customize the logic:
git clone [***] cd docker-ffmpeg docker build \ --no-cache \ --pull \ -t linuxserver/ffmpeg:latest .
The ARM variants can be built on x86_64 hardware using multiarch/qemu-user-static
docker run --rm --privileged multiarch/qemu-user-static:register --reset
Once registered you can define the dockerfile to use with -f Dockerfile.aarch64.
ENABLE_VULKAN=true no longer needed)(tested with Intel).ENABLE_VULKAN=true) to x86_64. Bump Intel drivers and other libs.--enable-small from ffmpeg build options to add back some features.


manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务