![]() However, if you pass any argument to vlc.Instance(), you will need to supply the appropriate -plugin-path=/path/to/the/modules yourself. When initializing vlc.Instance() with no parameter, it tries to guess the location of the modules. See also LibVLC_Users FAQ Win32 initialization Note: you must install VLC before using it through Python. The vlc.py file also contains a runnable example player application (see code at the end of the file, starting from the line if _name_ = '_main_').Ī set of helper examples examples provide a pyGtk, a pyQt and a pyWx player to ease integration. You must also install VLC itself to get these libraries. ![]() Note that this only installs the python module itself, which depends on the availability of the libvlc libraries. Put the module in some place accessible by python (either next to your application, or in a directory from sys.path).Īlternatively, you can generate it by yourself using the generate.py program and accompanying files in the vlc source tree (see ). It only depends on ctypes (standard module in python >= 2.5). You can also download the vlc.py module from the Git repository. The preferred install method is through PyPI: ![]() No compilation hassles: the generated module is pure python.Complete coverage of the libvlc API, since it is automatically generated from the include files. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |