如何使用C#加入两个视频 [英] how to join two videos using C#
本文介绍了如何使用C#加入两个视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想加入视频文件.有什么办法可以加入.我使用文件流加入了两个视频.但是它不能很好地工作.如果有人知道,请帮助我.
Hi,
I want to join to video files. Is there any way to join. I used a file stream to join two videos. But its not working that much well. If any one knows please help me.
推荐答案
您好:
据我所知,我从未尝试过,但是我认为它对您来说很好!!
有关视频文件的简单提示:
它们都是关于帧的(换句话说就是图像)!!
因此,作为一个技巧,您可以阅读第一个视频帧并将其推入某个数组,然后阅读其他视频并将它们也插入
这是您可以使用的参考:
用于AviFile库的简单C#包装器 [ ^ ]
致以最诚挚的问候
祝你好运..
Hello there :
As I know and I never tried this ,But I think it will work fine for you !!
Simple hint about video files :
They are all about frames (in other word images) !!
So as a trick you may read the first video frames and push them into some array ,then read the other and insert them too
Here''s a reference you can use :
A Simple C# Wrapper for the AviFile Library[^]
Best regards and wishes
Good luck ..
这篇关于如何使用C#加入两个视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文