Python Binding LibVLC enabling debuging/verbosity
Posted: 04 Jun 2014 04:32
Hi, I'm using libVLC with python binding and It is working great but for some reason, I'm unable to activate logging to a file using the log_set_file() function or the log_set function with a callback. I'm not sure what to pass each funtion. I'm currently running the code on windows with libVLC 2.1.3 32 bits with python 2.7.x
-how to create FILE descriptor compatible with libvlc in python?
-how to create a callback function. The log_set function takea the 3 parameters. log_set(self, data, p_instance) The way I read it the function takes the lib_vlc instance twice in two parameter.
self is already a lib_vlc instance and it is asking p_instance again? I'm assuming that p_instance is the libvlc instance (self)
Anybody succeeded and can give me some hints?
Thanks
-how to create FILE descriptor compatible with libvlc in python?
-how to create a callback function. The log_set function takea the 3 parameters. log_set(self, data, p_instance) The way I read it the function takes the lib_vlc instance twice in two parameter.
self is already a lib_vlc instance and it is asking p_instance again? I'm assuming that p_instance is the libvlc instance (self)
Anybody succeeded and can give me some hints?
Thanks