Split, encode and join video parts in C#

帅比萌擦擦* 提交于 2019-12-08 03:06:38

问题


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


回答1:


You can call ffmpeg.exe from your c# code to accomplish this. There are also some libraries that are available to accomplish this.




回答2:


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.




回答3:


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!



来源:https://stackoverflow.com/questions/2844398/split-encode-and-join-video-parts-in-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!