activeX 1.0.0 unsafe option "xxx" has been ignored for secur
Posted: 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
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