Page 1 of 1

lua for "add text"

Posted: 01 May 2013 13:18
by infotermoo
Hello!

I am stuck trying to make a text appear in VLC with a lua script.
The idea is that You could add an overlay text on the video through http interface.

Any idea how to accomplish this?

Thanks for answers!
Timo

Re: lua for "add text"

Posted: 01 May 2013 13:35
by infotermoo
Okay, I found this one.

You can use vlc.osd.message function for it and don't have to use the filters at all.

Add to lua/intf/modules/httprequests.lua

elseif command == "text_overlay" then
vlc.osd.message(val,channel1,"right")