lua for "add text"

Discuss your Lua playlist, album art and interface scripts.
infotermoo
New Cone
New Cone
Posts: 7
Joined: 19 Sep 2012 13:20

lua for "add text"

Postby infotermoo » 01 May 2013 13:18

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

infotermoo
New Cone
New Cone
Posts: 7
Joined: 19 Sep 2012 13:20

Re: lua for "add text"

Postby infotermoo » 01 May 2013 13:35

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")


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 13 guests