Page 1 of 1

LOGO ActiveX V2

Posted: 04 Jun 2014 08:41
by Eric THOMAS
Hello,

I want to play a stream and adding a logo.

First, I test in command line : It works fine.
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --sub-filter logo --logo-file=C:\MIRE\mire02.png --logo-x=350 --logo-y=250 "http://streaming4.webcam.nl/rai-signaal ... ylist.m3u8"[/code]

Then I test with a small VB6 programm : the video is shown, but not the logo.
Private Const sStream As String = "http://streaming4.webcam.nl/rai-signaal ... ylist.m3u8"

Dim WithEvents oVLC As AXVLC.VLCPlugin2

Private Sub Form_Load()

Set oVLC = New AXVLC.VLCPlugin2

oVLC.MRL = sStream

With oVLC.video
.fullscreen = True
End With

With oVLC.video.logo
DoEvents
Call .file("C:\MIRE\mire02.png")
.delay = 0
.repeat = -1
.Position = "bottom-left"
.opacity = 255
.x = 350
.y = 150
DoEvents
Call .enable
End With
Call oVLC.playlist.play
End Sub