我正在尝试将具有 alpha 透明度的 .mov 文件转换为 .webm 文件,并一直在关注此线程以寻求帮助:使用 ffmpeg 将带 Alpha 的 mov 转换为带 Alpha 的 VP9 Webm https://stackoverflow.com/questions/34856236/convert-mov-with-alpha-to-vp9-webm-with-alpha-using-ffmpeg
我一直使用的命令行是
ffmpeg -r 24/1 -i Desktop/Skel_Walk_1.mov -c:v libvpx -pix_fmt yuva420p Desktop/Skel_Walk_1.webm
但是,当我运行该命令时,它出现了 2 个错误
Transparency encoding with auto_alt_ref does not work
and
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
我不太清楚这里的问题是什么,有什么建议吗,我很困惑!
我想我可能已经解决了这个问题,添加-auto-alt-ref 0
在输出解决这个问题之前!
工作命令
ffmpeg -i Desktop/Skel_Walk_1.mov -c:v libvpx -pix_fmt yuva420p -auto-alt-ref 0 Desktop/Skel_Walk_1.webm
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)