VLC/Python bindings? -


How does any VLC implement Python binding? I downloaded vlc.py and vlcwidget.py from VLC wiki () and tried to run vlcwidget, besides installing VLC, do I need to do something else, or be able to run me 'python vlcwidget.py' needed? I am using Python2.5 and VLC 0.8.6e on Ubuntu 8.04 because it is not working for me.

The problem does not give anything to my libvlc shared library, I guess. This is why the library is used to make this example:

  dll = ctypes.CDLL ('libvlc.so')  

and then Later, the error goes here:

  ifattr (DLL, 'libvlc_media_player_new'): ...  

dll apparently does not have an libvlc_media_player_new attribute And therefore, the need to make the objects that fails to make other, especially the libvlc_media_player_new function is not created.

 $ git clone git: //git.videolan. Org / vlc.git && cd vlc $ git people In -Slibvlc_media_player_new ... committed bf1292e44390c6469483cea3817d6c2a3dbd811c Author: Pierre D'Herbemont & LT; Pdherbemont@videolan.org> Date: Sun March 30 03:59:32 2008 0200 libvlc: libvlc_media and libvlc_media_player to rename libvlc_media_instance libvlc_media_descriptor. 

Any libvlc_media_player_new is committed before, which went off between 0.8.4 and 0.9 sometime. (I'm not sure when the GL repository of VLC is missing the tag in that category.)

Python binding uses new APIs. You must upgrade them to use VLC.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -