11

Is it possible to write a VLC plugin in Python? If so how do you go about this?

I've seen the vlc.py file, all I can tell is you can write an application with functionality of VLC, but can you actually write something that you can open up in VLC that adds additional functionality, without going into the C code and recompiling everything?

1 Answer 1

5

According to the VLC plug-in (or modules as they are called in VLC) writer's guide:

Different programming languages can be used at least in theory. (The main VLC code base only uses C, C++ and Lua, and on MacOS Objective C.)

So, it looks totally possible. Now, according to the same resource you can also create "out-of-tree" modules, which means that to add them to to VLC's functionality you don't have to recompile VLC.

If you want more information, or a walk-through on how to make these modules I would highly suggest checking out that link.

You mentioned the VLC.py file. If you're going to use those Python binding, check out these examples.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.