Windows 10 上的 ffmpeg h264_amf 失败,CreateComponent(AMFVideoEncoderVCE_AVC) 失败

问题描述 投票:0回答:1

尝试在 Windows 10 上使用 ffmpeg(版本 7.0-essentials_build-www.gyan.dev)的硬件编码

命令

ffmpeg -i <input_file> -v verbose -c:v h264_amf -acodec copy -y <output_file>

错误

[h264_amf @ 0000014dc3388580] AMF initialisation succeeded via D3D11.
[h264_amf @ 0000014dc3388900] CreateComponent(AMFVideoEncoderVCE_AVC) failed with error 36
[vost#0:0/h264_amf @ 0000014dc3bf7c80] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.

如何解决这个问题?

ffmpeg h.264
1个回答
0
投票

错误 36 是

AMF_ENCODER_NOT_PRESENT
即您的 GPU 没有用于编码的固定功能块。

© www.soinside.com 2019 - 2024. All rights reserved.