python bindings

This forum is about all development around libVLC.
cen
New Cone
New Cone
Posts: 9
Joined: 13 Jan 2014 12:17

python bindings

Postby cen » 17 Feb 2014 21:00

Hello, I am not familiar with ctypes at all. so maybe sombone could help me further

in a fresh windows 7 installation, all standard paths
- python 2.7
- vlc 2.1
- vlc.py Module for VLC 2.0.*

I get a vlc or ctypes does not found 'libvlc.dll'

Traceback (most recent call last):
File "C:\Users\test\Downloads\examples_qtvlc.py", line 24, in <module>
import vlc
File "C:\Users\test\Downloads\vlc.py", line 161, in <module>
dll, plugin_path = find_lib()
File "C:\Users\test\Downloads\vlc.py", line 138, in find_lib
dll = ctypes.CDLL('libvlc.dll')
File "C:\Python27\lib\ctypes\__init__.py", line 365, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] Das angegebene Modul wurde nicht gefunden (Modul not found)

any ideas?

cen
New Cone
New Cone
Posts: 9
Joined: 13 Jan 2014 12:17

Re: python bindings

Postby cen » 17 Feb 2014 21:28

generating vlc.py does not make any differenc c:\Python27\python.exe generate.py "c:\Program Files (x86)\VideoLAN\VLC" -o vlc.py
but putting libvlc.dll in the same directory as examples_qtvlc.py and vlc.py changes the error message in
WindowsError: [Error 193] %1 ist keine zulässige Win32-Anwendung
vlc itself is running of course

cen
New Cone
New Cone
Posts: 9
Joined: 13 Jan 2014 12:17

Re: python bindings

Postby cen » 17 Feb 2014 21:59

well, I should have googled a bit more:
using the 32 bit version of python makes the things work
http://stackoverflow.com/questions/5007 ... -error-193


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 53 guests