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

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

问题描述

在浏览网页项目之后,我没有看到有任何证据表明可以生成网络视频。我看到Windows和Quicktime的驱动程序,但没有证据表明支持最常见的实用程序ffmpeg。

After looking over the web project I see no evidence of a 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天全站免登陆