视频转换为 WMV
我目前在工作中正在进行的一个项目需要能够将视频从其他格式转换为WMV格式。 我们需要能够将几乎所有常用的视频格式转换为 WMV 格式。 我正在寻找一个解决方案分配,例如 On2 的 flix 引擎将其他视频类型转换为 .flv
视频。 我知道 Windows 提供的编码器,但它可以转换的视频类型列表非常有限。 如果您有任何建议或意见,或者推荐我可以用来执行此操作的软件,请告诉我。 我需要能够批量进行转换,并且需要能够使用 C# 以编程方式进行转换。
A project I am currently working on at work requires the ability to convert videos from other formats to the WMV format. We need to be able to convert virtually any video format that is commonly used to a WMV format. I am looking for a solution allot like On2's flix engine converts other video types to .flv
videos. I am aware of the encoder that windows offers, but it has a very limited list of video types that it can convert from. Please let me know if you have any suggestions or opinions, or recommendation of software I can use to do this. I need to be able to do the conversions in batch and I need to be able to do them programmatically with C#.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您看过 ffmpeg 吗?
它似乎是许多开源视频转换实用程序的核心,所以我想您可以在您描述的场景中使用它。
Have you had a look at ffmpeg?
It seems to be at the core of many open source video conversion utilities, so I imagine you could use it in the scenario you describe.
SUPER,这个名字确实涵盖了负载!
SUPER, the name is really covering the load!
好吧,首先您必须能够解码文件格式。 您需要使用 directshow 进行设置,这很难使用。 您可以查看用 C# 编写的 directshow 文件播放器的 mediaportal 项目。 您可以重新编码视频和音频并将它们混合到 .wmv 文件中,而不是在 directshow 图表末尾使用视频渲染器。 这是一个非常复杂的项目,需要做好。 你本质上必须模仿玩家玩任何格式和处理失败的能力。
Well, first you have to be able to decode the file format. You need to set this up with directshow, which is very hard to work with. You can take a look at the mediaportal project for a directshow file player written in C#. Instead of using the video renderer at the end of the directshow graph, you would reencode the video and audio and mux them into a .wmv file. This is a very involved project to get right. You essentially have to mimic a player's ability to play any format and handle failure.
我对 Quick Media Converter 的使用感到非常满意。
I've been very satisfied using Quick Media Converter.