Page 1 of 1
How to add new dll module into VLC
Posted: 28 Jul 2009 09:05
by hedypan
Hi,
I am trying to add some new functions into VLC for my application. The new function should be added after decoding module and before display module. I am going to make this new function into a DLL module and then link it with other VLC modules.
Any one who knows if it is possible to add an DLL module in to VLC and how to do it?
Thanks!
Re: How to add new dll module into VLC
Posted: 28 Jul 2009 15:00
by Jean-Baptiste Kempf
Read HACKING in VLC folder.
So, more or less, compile VLC, create a new module like an old one and recompile it.
Re: How to add new dll module into VLC
Posted: 28 Jul 2009 21:12
by Rémi Denis-Courmont
VLC updates the modules list at every start from its plugins directory.
Re: How to add new dll module into VLC
Posted: 29 Jul 2009 03:37
by hedypan
Hi, thanks for your information.
The method you introduced is adding a module by adding its sources files to modules.am.
In my case, the source is not a single file but some huge source files, some thing like x264. I think adding this module by adding its sources may make it complex. So, I trying to packet all the source files into one DLL file and then add this DLL file directly into VLC.
Is it possible to add this DLL file directly to VLC without dealing with the inside source files?
Re: How to add new dll module into VLC
Posted: 29 Jul 2009 09:40
by Jean-Baptiste Kempf
Being huge or not doesn't make it change. Make a subfolder, put all the files there...
Else, try to compile your module as out of tree, but I doubt this will be easy.
Re: How to add new dll module into VLC
Posted: 29 Jul 2009 18:42
by Rémi Denis-Courmont
Out-of-tree builds is (supposed to be) easy on Linux. You're going to have a fun time on Windows though...
Re: How to add new dll module into VLC
Posted: 30 Jul 2009 03:15
by hedypan
Thanks guys, are there any reference document for out of tree building method?
Re: How to add new dll module into VLC
Posted: 30 Jul 2009 16:02
by Rémi Denis-Courmont
There was some on the wiki, but I don't remember where. It just follows the usual pkg-config way anywhow.
Re: How to add new dll module into VLC
Posted: 05 Aug 2009 08:10
by hedypan
Hi, thanks for your information. I've already successfully build my new module according to HACKING. The problem now is how to make this new module really working.
My module is trying to do some kind of image processing after the decoding module. How can I make the new module working directly after decoding.
Re: How to add new dll module into VLC
Posted: 05 Aug 2009 08:13
by Jean-Baptiste Kempf
Video Filter?
Re: How to add new dll module into VLC
Posted: 05 Aug 2009 08:42
by hedypan
Not exactly. It's doing 3D warping job. I guess maybe we can consider it as a video filter.
Re: How to add new dll module into VLC
Posted: 05 Aug 2009 09:28
by Jean-Baptiste Kempf
Well, for example, postprocessing is a video filter.