在C#4.0中打开视频文件 [英] opening video file in C# 4.0

查看:136
本文介绍了在C#4.0中打开视频文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用C#4.0

我想打开视频文件和视频流

I am working on C# 4.0

i want to open video file and video stream

//create empty AVI file
 AviManager newFile = new AviManager("video_with_logo.avi", false);

 //open video stream without logo
 VideoStream oldStream = oldFile.GetVideoStream();


错误:-


Errors:-

Error   1   The type or namespace name 'AviManager' could not be found (are you missing a using directive or an assembly reference?)    



适当的代码将很有用

在此先感谢



Appropriate code will be of great use

Thanks in advance

推荐答案

亲爱的朋友,

这些链接将对您有很大帮助:-

http://social.msdn.microsoft.com /Forums/zh-CN/winforms/thread/53d1071b-26d9-406a-877c-3b33eedf8a4c/ [ http://www.c-sharpcorner.com/UploadFile/mgold/PlayingVideo11242005002218AM/PlayingVideo.aspx [ ^ ]

如果可以帮助您,请别忘了将此标记为您的答案.

谢谢
Dear Friend,

These links will be of much help to you:-

http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/53d1071b-26d9-406a-877c-3b33eedf8a4c/[^]

http://www.c-sharpcorner.com/UploadFile/mgold/PlayingVideo11242005002218AM/PlayingVideo.aspx[^]

Don''t forget to mark this as your answer if it helps you out.

Thanks


也许您正在使用此功能: http://sourceforge.net/projects/avimanager/ [^ ].

但是,如果不使用它,就无法使用它.将其包含在您的解决方案中,添加引用,查找类型的完全限定名称(带有名称空间).

如果您不熟悉这两个概念,则不准备开发高级应用程序.首先了解解决方案,项目和装配,以及一个装配如何使用另一个装配.如果先学习一个非常简单的示例,然后再进行更高级的操作,则会节省大量时间.

—SA
Perhaps you are using this: http://sourceforge.net/projects/avimanager/[^].

But you cannot use it without using it. Include it in your solution, add a reference, look for a fully-qualified name of the type (with a namespace).

If you are not familiar with either of these concepts, you are not ready for development of advanced applications; first learn about solutions, projects and assemblies and on how one assembly can use another one. You will save a lot of time if you learn it an a very simple example first, before doing anything more advanced.

—SA


解决方案2

我真的很抱歉,您的advce没有任何意义,我的Google搜索引擎无法理解C#4.0中avimanager clas的引用


我对任何人都罚款


所以在简单的节点上,请告诉我如何在c#4.0中打开视频文件(无法播放)
Solution2

i am really sorry,your advce not making any sense my google search enginegot exhausted in understanding reference for avimanager clas in C#4.0


i dint fine any one


so on simple node please tell me how to open video file in c#4.0 (its not playing)


这篇关于在C#4.0中打开视频文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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