在 C# 中分割、编码和合并视频部分
可以将文件分成许多部分。是否可以对每个部分进行编码,然后再次将它们连接起来?这个想法是在多台计算机上对一个视频进行编码。 在.NET中 谢谢
It is possible to split file into many parts.Is it possible every part encode and after that join them again? The idea is to encode one video on more computers.
In .NET
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
看一下 DirectShow .NET - 它具有一些视频捕获和编辑功能,尽管您还是需要熟悉通用的处理算法和方法。
Take a look at DirectShow .NET - it has some functionality for video capture and editing, although you still need to be familiar with general processing algorithms and methods.
这两篇文章可能可以为您指明正确的方向:
Stephen Toub 的 DVR-MS 文章。
涵盖读取,还包括拆分和连接。分割和连接的内容可能可以应用于任何 DirectShow 过滤器,而不仅仅是 DVR-MS 文件。
使用 Windows Media Foundation 进行托管编码< /strong>
WMF 团队推出的样本确实很棒。我建议您也查看他们发布的所有其他示例,因为这些示例涵盖了配音等内容。
希望这会有所帮助!
These two articles can probably point you in the right direction:
Stephen Toub's DVR-MS article.
Covers reading but also splitting and joining. The splitting and joining stuff can probably be applied to any DirectShow filter, not just DVR-MS files.
Managed Encoding with Windows Media Foundation
Really awesome sample put out by the WMF team. I'd recommend checking out all the other samples they've posted as well, as those cover things like dubbing etc.
Hope this helps!
您可以从 C# 代码中调用 ffmpeg.exe 来完成此操作。还有一些库可以完成此任务。
You can call ffmpeg.exe from your c# code to accomplish this. There are also some libraries that are available to accomplish this.