C#Vlc ActiveX播放rtsp流 [英] C# Vlc ActiveX Play rtsp stream

查看:587
本文介绍了C#Vlc ActiveX播放rtsp流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现将rtsp流嵌入和播放到VLC Activex控件时遇到问题。
一旦我已经成功,但是现在我不知道为什么,
我试图在WPF托管vlc控件,但是它不起作用,它说像dll丢失了,无法导入ActiveX控件我遵循了一些我认为很好的解决方案,但没有人提供帮助...
我已经注册了它,并尝试了更多操作。.
它的AxAXVLC dll上缺少dll。
并说:

I have found a problem to embed and playing rtsp stream to VLC activex control. Once i already succeeded but now i cant i dont know why, Im trying to host at WPF a vlc control but its dont work , Its says like a dll is missing , "Failed to import the ActiveX control" I follow after some solutions i found at good but no one helps... I already registered it, and tried more things.. Its has a missing dll on the AxAXVLC dll. And say:


错误1为ActiveX控件 AxAXVLC生成Windows窗体
包装器时发生编译器错误。源代码保存在xxx

Error 1 Compiler errors occurred when generating a Windows Forms wrapper for ActiveX control 'AxAXVLC'. Source code saved in xxx

错误2'AXVLC.IVLCControl2.VersionInfo_2.get':无法显式调用
运算符或访问器xx\ozjsyoc1.0.cs 986 53

Error 2 'AXVLC.IVLCControl2.VersionInfo_2.get': cannot explicitly call operator or accessor xx\ozjsyoc1.0.cs 986 53

有人1可以解释一下我该怎么做吗?所以我可以嵌入我的VLC控件?
另一个问题是
我将vlc控件嵌入后,如何将RTSP视频流式传输到控件,以便它可以向我显示IP摄像机的实时视频。
他们有addTarget(...)
我无法用它激活流。.
感谢您的帮助!

Can some1 Can explain me what can i do with this? So i can embed my vlc control? Another problem is After i 've embed the vlc control , How can i stream a RTSP video to the control so its will display me a live video from my IP camera. they have addTarget(...) Which i cant active the stream with it.. Thanks for help !

推荐答案

这是VLC中的错误。在2.2.2版中修复。您可以在此处下载每晚版本:
http://nightlies.videolan.org/

This is a bug in VLC. Fixed in version 2.2.2. You can download nightly build here: http://nightlies.videolan.org/

这篇关于C#Vlc ActiveX播放rtsp流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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