如何在C#中将不同的视频(具有不同或相同的格式)合并为一种格式 [英] How to merge different videos(with different or same format) into one format in C#

查看:127
本文介绍了如何在C#中将不同的视频(具有不同或相同的格式)合并为一种格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我是C#的新手,我正在寻找一个功能

Hi Guys,

I am new in C# and i am looking for a functionality

How to merge different videos(with different or same format) into one video in c#





任何帮助都将不胜感激。



我尝试了什么:



我尝试了几个链接但是还不值得。



Any help would be appreciated.

What I have tried:

I tried few links but not worthy yet.

推荐答案

这不是一个简单的任务。例如,您的所有视频的帧速率,高度和宽度是否相似?由于您不熟悉C#,我建议您使用从头开始构建的工具包。我相信leadtools有一个合适的(更多细节这里 [ ^ ])。如果做不到这一点,你可能不得不依靠 DirectShow.NET [ ^ ];看看DESCombine示例以获得更好的想法。
This isn't that simple a task. Are all your videos similar framerates, heights and widths for instance? As you are new to C#, I would recommend using a Toolkit that is built from the ground up for this. I believe that leadtools has one that is suitable (more details here[^]). Failing that, you're probably going to have to fall back on DirectShow.NET[^]; take a look at the DESCombine example to get a better idea.


这篇关于如何在C#中将不同的视频(具有不同或相同的格式)合并为一种格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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