视频文件 [英] video files

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

问题描述

我是C#的初学者,我想创建一个视频播放器,为此我使用DirectX.AudioVideoPlayback,但是我只能播放avi,mpg,mpeg,wmv文件类型.有人可以提示我如何播放其他文件类型(例如mkv,cam,vob,xvid等)吗?

任何帮助表示赞赏.
谢谢.

I''m a beginner to C# and I want to create a video player and for that I''m using DirectX.AudioVideoPlayback, but I can play only avi,mpg,mpeg,wmv file types. Can anyone give me a hint how to play other file types (like mkv,cam,vob,xvid, etc.)?

Any help is appreciated.
Thanks.

推荐答案

如果您想演奏其他类型,则可以使用sharpffmpeg( ^ ]).
If you want to play other types, then you can use sharpffmpeg (http://code.google.com/p/ffmpeg-sharp/[^]).


我在互联网上搜索了ffmpeg-sharp.dll,并将其添加为对我的项目的引用,但我不知道如何使用它.你能帮我吗?

谢谢
I searched on the internet for ffmpeg-sharp.dll and added it as a reference to my project, but I don''t know how to use it. Could you help me, please?

Thanks


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

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