activeX 1.0.0 unsafe option "xxx" has been ignored for secur

Feature requests for VLC.
stefo
Blank Cone
Blank Cone
Posts: 20
Joined: 16 Nov 2006 14:54

activeX 1.0.0 unsafe option "xxx" has been ignored for secur

Postby stefo » 20 Jul 2009 09:49

Hello,

I have just installed the latest version of vlc player 1.0.0 (Goldeneye)
I used version 0.8.6c before and everything worked OK.
I am using VLCplugin 2 activeX in Visual basic to open and display input signal from Capture card.

I am using following syntax (v is object of VLCplugin2):

ReDim options1(3)
options1(0) = ":dshow-vdev=Decklink Video Capture"
options1(1) = ":dshow-adev=none"
options1(2) = ":dshow-chroma=UYVY"
options1(3) = ":dshow-fps=25.000000"

v.playlist.Clear
v.playlist.Add "dshow://", , options1

v.Log.verbosity = 1 ' to be able to catch log messages
v.Log.messages.Clear

v.playlist.play

As I said, everything works ok with 0.8.6c version, but 1.0.0 version can not display video from video card.

Log messages show following:

unsafe option "dshow-vdev" has been ignored for security reason
unsafe option "dshow-adev" has been ignored for security reason
unsafe option "dshow-chroma" has been ignored for security reason
unsafe option "dshow-fps" has been ignored for security reason

There is a code what I use for displaying log messages :

If v.Log.messages.Count > 0 Then
' there is one or more messages in the log
Dim iter As IVLCMessageIterator
Set iter = v.Log.messages.iterator
Do While iter.hasNext
Dim msg As IVLCMessage
Set msg = iter.Next
List2.AddItem msg.message
Loop
' clear the log once finished to avoid clogging
v.Log.messages.Clear
End If

I do not know whether I use incorrect syntax, but the same syntax works ok with command line interface.
Is there some restrictions in 1.0.0 version?

Thansk for any advice

stefo

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: activeX 1.0.0 unsafe option "xxx" has been ignored for secur

Postby VLC_help » 20 Jul 2009 15:01

AFAIK it is limitation of ActiveX but if you use libvlc directly, it should work.

thannoy
Big Cone-huna
Big Cone-huna
Posts: 601
Joined: 20 Mar 2008 09:44
VLC version: 0.9.8a & 1.0-git
Operating System: GNU/Linux Fedora10
Location: France
Contact:

Re: activeX 1.0.0 unsafe option "xxx" has been ignored for secur

Postby thannoy » 21 Jul 2009 10:33

Also, .log API will be deleted one day (it is already in mozilla-plugin). You should write a robust program if you use it.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 17 guests