LOGO ActiveX V2

This forum is about all development around libVLC.
Eric THOMAS
New Cone
New Cone
Posts: 1
Joined: 04 Jun 2014 08:30

LOGO ActiveX V2

Postby Eric THOMAS » 04 Jun 2014 08:41

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

Return to “Development around libVLC”

Who is online

Users browsing this forum: Bing [Bot] and 26 guests