设置选项VLC的ActiveX插件 [英] Setting options for VLC ActiveX Plugin

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

问题描述

我能够使用 VLC的ActiveX插件(版本1和2)在C#。网络应用程序中显示视频。它运行很好,但我不能设置任何选项

I was able to use the vlc activex plugin (version 1 and 2) in a c#.net application to display videos. It runs nicely, but I can't set any options.

下面的代码:

string options = "--brightness=2"; // I also tried ":brightness"
axVLCPlugin1.addTarget("file:///"+ filePath1, options, AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, 0);
axVLCPlugin1.play();         

这是版本1版本2给出了相同的结果。在选项没有对所显示的视频没有任何影响。

This is for version 1. Version 2 gives the same results. The "options" do not have any effect on the displayed video.

文档说,大多数的命令行选项的工作,但我不能得到任何工作。

The documentation says that most command line options will work, but I can't get any to work.

感谢

推荐答案

我做到这一点不使用ActiveX插件,但直接与libvlc功能:
1.添加libvlc.dll,libvlccore.dll和VLC插件方向的C#项目的方向。
2.使用的DllImport导入VLC功能为C#代码。
3.呼叫C#中的VLC的功能,并有可能增加VLC选项

I achieve this without using activex plugin, but directly with libvlc functions: 1. add the libvlc.dll, libvlccore.dll and vlc plugins direction to c# project direction. 2. use DllImport to import vlc functions into C# code. 3. call the vlc functions in C#, and it is possible to add vlc options.

http://jcwshih.blogspot.de/2012_07_01_archive.html 可能会有所帮助。

最好的问候

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

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