how to adjust brightness etc . in web page with vlc activex

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
chiao
New Cone
New Cone
Posts: 5
Joined: 30 Sep 2006 04:58

how to adjust brightness etc . in web page with vlc activex

Postby chiao » 20 Oct 2006 17:50

I have streamed mpg file in web page embedded with vlc0.8.5 activex;
Now I wanna adjust image effective realtime,such as brightness,contrast,hue,saturation etc.
But I still face to failure after many efforts to use vlc activex method : setVariable() .
well , the follow javascript can adjust image effective:

var options = new Array(":vout-filter=adjust", ":hue=120"); document.vlc.addTarget(TargetUrl, options, 4+8, -666);


but not what I need!
I used setVariable() method as follows:
var hstr="hue";
var hvalue=120;
document.vlc.setVariable(hstr,hvalue);

or
var hstr="hue";
var hvalue;
document.vlc.getVariable(hstr,hvalue);
document.vlc.setVariable(hstr,hvalue);
document.write("ok");

but nothing to happen

who can help me ? thanks in advance!

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 47 guests