@olivier in the other post it is the same error but they seem to have problems with python 32 bit vs 64 bit vlc.
I found this in the generate.py file
This module and the generated Python bindings have been tested with
32-bit Python 2.6, 2.7 and 3.1 on Linux, Windows XP SP3 and MacOS X 10.4.11
(Intel) using the VLC 1.1.4.1 and 1.1.5 public API include files.
I have python 2.7.3 64 bit and vlc 64 bit
Code: Select all
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.maxint
9223372036854775807
So I guess this is the problem, but the stange thing is that the generated vlc.py file works fine on Windows 64 and Linux 64. I made it work without having to build the python binding, I just copy the vlc.py on these machine and run python vlc.py someVideo.mov and it works.
I will try to build the python vlc file manually. I don't understand why I would need to build it though since it is just a .py file without any .so or .dll