Page 1 of 1

How to activate Vout/Overlay option?

Posted: 15 Feb 2009 17:03
by tamiro44
Hi everybody,
Does anyone knows how can i activate the text overlay option through code? (say C#)
I saw that with vlc 0.9.8a you can easily do it through original vlc gui.

Thanks,
Tamiro.

Re: How to activate Vout/Overlay option?

Posted: 15 Feb 2009 18:41
by Rémi Denis-Courmont
Currently, OSD is not available from Libvlc, except via the antique mediacontrol API.

Re: How to activate Vout/Overlay option?

Posted: 16 Feb 2009 08:14
by tamiro44
Thanks Remi,
I'll be happy if you would give me a direction.
I've made a player (version 0.8.6i) written in C# and using libvl.dll.
How can i work with mediacontrol API?
Thanks,
Tamiro.

Re: How to activate Vout/Overlay option?

Posted: 16 Feb 2009 21:15
by Rémi Denis-Courmont
Personnaly, I don't know of any C# binding for mediacontrol.

Re: How to activate Vout/Overlay option?

Posted: 16 Feb 2009 22:41
by tamiro44
And with C++?
How can i expose the appropriate functions in order to achieve my goal:
I want to extract "User Data" from RTP packets (using header extensions) and put it
on top of the movie.

Re: How to activate Vout/Overlay option?

Posted: 18 Feb 2009 18:42
by Rémi Denis-Courmont
With C (and C++) you can use the old mediacontrol API. The documentation is in the mediacontrol.h header file.

Re: How to activate Vout/Overlay option?

Posted: 19 Feb 2009 08:17
by tamiro44
And display_text() allows me to display text on live video (RTSP/RTP)?