Page 1 of 1

HTTP VLC plugin and brightness

Posted: 13 Jan 2009 11:01
by GunnarK
I have got the following HTML code including VLC plugin, which I stream a network camera:

Code: Select all

<html> <title>VLC plugin</title> <script language="javascript"> function play(obj, uri) { var obj = document.getElementById(obj); obj.playlist.add(uri,uri, ""); obj.playlist.play(); } function stop(obj) { var obj = document.getElementById(obj); obj.playlist.stop(); } function init() { play('vlc1', 'rtsp://192.168.0.101:7070'); } </script> <body> <OBJECT> <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" width="720" height="576" id="vlc1"> </embed> </OBJECT> <button onclick="play('vlc1', 'rtsp://192.168.0.101:7070');">start</button> <button onclick="stop('vlc1');">stop</button> </body> </html>
Is it possible to adjust the Brightness, contrast and hue in the VLC plugin?

Re: HTTP VLC plugin and brightness

Posted: 14 Jan 2009 09:13
by GunnarK
I have managed to adjust the brightness, contrast and hue prior to play:

Code: Select all

var options = " :contrast=1.5 :brightness=2.0" function play(obj, uri) { var obj = document.getElementById(obj); obj.playlist.add(uri, uri, options); obj.playlist.play();
but is this possible at runtime?

Re: HTTP VLC plugin and brightness

Posted: 17 Jan 2009 12:23
by revolunet
no this is not yet possible to change this at runtime...