Logo Overlay using VideoLanControl in C#

This forum is about all development around libVLC.
innerspace
Blank Cone
Blank Cone
Posts: 28
Joined: 10 Aug 2008 22:47
VLC version: 0.8.6
Operating System: Windows / OsX
Location: Thailand & England

Logo Overlay using VideoLanControl in C#

Postby innerspace » 24 Nov 2008 07:43

I am having some problems implementing a logo overlay in my code.

I can see the logo fine when I set logo overlay in VLC preferences but not getting anything through code.

Code: Select all

string[] options = new string[] { "vlc", "--no-loop", "--drop-late-frames", "--sub-filter=logo"}; frmTV.videoPlayer.AddToPlayList(nexttoplay, "Firstplay", options); frmTV.videoPlayer.Play(); while (frmtv.videoPlayer.IsPlaying == false) { System.Threading.Thread.Sleep(100); //pause until started playing } System.Threading.Thread.Sleep(500); frmTV.videoPlayer.SetConfigVariable("logo-file", "L:\\Logos\\tvlogo.png"); frmTV.videoPlayer.SetConfigVariable("logo-transparency", "255");
I read elsewhere that you have to wait until playing has started to set certain variables, and read in other places that you cant change things after playback.

There seems to be inconsistencies in the use of command line controls and options variables.

Im currently using libvlc.dll from 0.8.6 in my program, although I also have 0.9.4 installed

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 16 guests