Page 1 of 1
Lua for effects
Posted: 19 Sep 2012 13:33
by infotermoo
Hello!
I have question regarding controlling post-processing effects from scripting environment.
I have searched a lot, but haven't found the answer.
Is it possible to change effects (brightness for example) from telnet/http/lua scripts?
I would need to do it while the VLC is running.
Thanks for answers!
Timo
Re: Lua for effects
Posted: 19 Sep 2012 20:55
by Jean-Baptiste Kempf
You should be able to do it with http xml requests.
Re: Lua for effects
Posted: 19 Sep 2012 20:58
by infotermoo
Could You point out a documentation for this? Google is not that helpful this time.
Re: Lua for effects
Posted: 19 Sep 2012 21:02
by Jean-Baptiste Kempf
Look at lua/intf/modules/httprequests.lua in vlc source code.
Re: Lua for effects
Posted: 20 Sep 2012 01:11
by infotermoo
Thanks, found it. Added new a command for it:
elseif command == "brightness" then
vlc.config.set("brightness",val)
Just on more thing, the adjustment settings seems to be activated when I un-tick and tick "Adjust Image" checkbox in GUI. Any way to reload them with lua?
Re: Lua for effects
Posted: 20 Sep 2012 17:57
by Jean-Baptiste Kempf
CHange the video filters string
Re: Lua for effects
Posted: 20 Sep 2012 21:16
by infotermoo
should it be
vlc.config.set("video filters","")
vlc.config.set("video filters","adjust")
?
Re: Lua for effects
Posted: 01 May 2013 13:37
by infotermoo
I am still stuck with this problem.
How to force VLC to reload the effects.. ?