User:Thannoy

From VideoLAN Wiki
Revision as of 14:09, 20 February 2008 by Thannoy (talk | contribs) (external link printing correction)
Jump to navigation Jump to search

General presentation

Hello !

My name is Anthony LOISEAU, I am a french student in IT at INSA Rennes. I am working on VLC through my internship in actech-innovation (Angers, France).


VLC project

My work will be mainly focussed on mozilla-plugin and activeX parts of VLC.


Mozilla plugin

List of methods which should be accessible

The file projects/mozilla/control/npolibvlc.cpp describe the API which should be accessible by moz-plugin.

Here is the list extracted from this file by a script(will be given soon, need doc, clean and a little debug maybe) :

  • .playlist.items.count : INT32
  • .playlist.items.clear([]) : VOID
  • .playlist.items.remove(['number']) : VOID
  • .playlist.itemCount : INT32
  • .playlist.isPlaying : BOOLEAN
  • .playlist.play([]) : VOID
  • .playlist.prev([]) : VOID
  • .playlist.clear([]) : VOID
  • .playlist.stop([]) : VOID
  • .playlist.next([]) : VOID
  • .playlist.add(['STRING', None, 'OBJECT']) : INT32
  • .playlist.removeItem(['number']) : VOID
  • .playlist.togglePause([]) : VOID
  • .playlist.playItem(['number']) : VOID
  • .VersionInfo : STRINGN
  • .log.verbosity : DOUBLE
  • .log.messages.count : INT32
  • .log.messages.clear([]) : None
  • .log.messages.iterator([]) : OBJECT
  • .video : OBJECT
  • .input.rate : DOUBLE
  • .input.state : INT32
  • .input.hasVout : BOOLEAN
  • .input.length : DOUBLE
  • .input.fps : DOUBLE
  • .input.time : DOUBLE
  • .input.position : DOUBLE
  • .audio.volume : INT32
  • .audio.track : INT32
  • .audio.channel : INT32
  • .audio.mute : BOOLEAN
  • .audio.toggleMute([]) : VOID
  • .versionInfo([]) : NULL


The function playlist.add() is marked has using a "None" second argument. This is because this argument is currently unused.

// npolibvlc.cpp:1446 (rev 25198)
else if( NPVARIANT_IS_STRING(args[1]) )
                   {   // FIXME args[0] = URL. name isn't it args[1]?
                       name = stringValue(NPVARIANT_TO_STRING(args[0]));
                   }


VLC tips

Javascript debugging

Having a JS debugger is very usefull to test mozilla-plugin. Firebug is a very usefull Firefox extension for that stuff.


Compile under debian Etch

TODO add magic line + link to author


Usefull External Links