views:

508

answers:

1

Does anyone know how to implement the VLC Python bindings? I downloaded vlc.py and vlcwidget.py from the VLC wiki (http://wiki.videolan.org/Python_bindings) and tried to run vlcwidget. Other than having vlc installed, do I need to do anything else, or should I just be able to run 'python vlcwidget.py '? Because that is not working for me. I'm using Python2.5 and VLC 0.8.6e on Ubuntu 8.04.

The problem has to do with my libvlc shared library, I think. That library is used to create this instance:

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

and then later, the error occurs here:

if hasattr(dll, 'libvlc_media_player_new'): ...

dll apparently doesn't have a libvlc_media_player_new attribute and so fails to create other objects it needs. Specifically, the libvlc_media_player_new function isn't created.

+2  A: 
ephemient