如何创建 WebM 视频文件? [英] How to create a WebM video file?

查看:34
本文介绍了如何创建 WebM 视频文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

浏览网页后,我发现无法生成 WebM 视频.我看到了适用于 Windows 和 QuickTime 的驱动程序,但没有证据表明支持最常见的实用程序 FFmpeg.

After looking around the web, I found no way to generate a WebM video. I see drivers for Windows and QuickTime, but no evidence that the most common utility FFmpeg is being supported.

是否有任何开源转换器可以生成 WebM?

Is there any open source converter that produces WebM?

推荐答案

您可以使用 ffmpeg 转换为 WebM.确保使用 --enable-libvpx--enable-libvorbis 标志编译它(参见 FFmpeg 编译指南),或访问 FFmpeg 下载 包含支持的构建链接的页面.之后,您可以使用以下命令(我使用 input.flv 作为我的示例输入文件):

You can use ffmpeg to convert to WebM. Make sure to compile it with the --enable-libvpx and --enable-libvorbis flags (see FFmpeg compile guides), or visit the FFmpeg Download page for links to builds that include support. After that, you can use the following command (I'm using input.flv as my example input file):

ffmpeg -i input.flv -vcodec libvpx -acodec libvorbis output.webm

有关其他信息,请参阅FFmpeg vpx (WebM) 编码指南.

For additional information, see the FFmpeg vpx (WebM) Encoding Guide.

这篇关于如何创建 WebM 视频文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆