错误“使用auto_alt_ref进行透明编码不起作用”;当将带有Alpha的.mov转换为带有ffmpeg的带有alpha的.webm时 [英] Error "Transparency encoding with auto_alt_ref does not work" when converting a .mov with Alpha to .webm with alpha with ffmpeg
问题描述
我正在尝试将具有Alpha透明度的.mov文件转换为.webm文件,并一直在关注以下线程以寻求帮助:使用ffmpeg将带有Alpha的mov转换为带有Alpha的VP9 Webm
I am trying to convert a .mov file with alpha transparency into a .webm file and have been following this thread for help: Convert mov with Alpha to VP9 Webm with Alpha Using ffmpeg
我一直在使用的命令行是
The command line I have been using is
ffmpeg -r 24/1 -i Desktop/Skel_Walk_1.mov -c:v libvpx -pix_fmt yuva420p Desktop/Skel_Walk_1.webm
但是当我去运行命令时,它会出现2个错误
However when I go to run the command it comes up with 2 errors
Transparency encoding with auto_alt_ref does not work
和
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0
- maybe incorrect parameters such as bit_rate, rate, width or height
我不太确定这是什么问题,有什么建议,我非常愿意
I am not too sure what the problem is here, any suggestions, I am very confused!
推荐答案
我想我可能已经解决了这个问题,添加了 -auto-alt-ref 0
在输出之前解决了这个问题!
I think I may have solved this, adding -auto-alt-ref 0
before the output fixed this issue!!
工作命令
ffmpeg -i Desktop/Skel_Walk_1.mov -c:v libvpx -pix_fmt yuva420p -auto-alt-ref 0 Desktop/Skel_Walk_1.webm
这篇关于错误“使用auto_alt_ref进行透明编码不起作用”;当将带有Alpha的.mov转换为带有ffmpeg的带有alpha的.webm时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!