HTTP VLC plugin and brightness

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
GunnarK
Blank Cone
Blank Cone
Posts: 18
Joined: 16 Oct 2008 12:27

HTTP VLC plugin and brightness

Postby GunnarK » 13 Jan 2009 11:01

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?

GunnarK
Blank Cone
Blank Cone
Posts: 18
Joined: 16 Oct 2008 12:27

Re: HTTP VLC plugin and brightness

Postby GunnarK » 14 Jan 2009 09:13

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?

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: HTTP VLC plugin and brightness

Postby revolunet » 17 Jan 2009 12:23

no this is not yet possible to change this at runtime...
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 44 guests