How to develop a plugin for vlc player

This forum is about all development around libVLC.
smart123
New Cone
New Cone
Posts: 6
Joined: 03 Mar 2009 17:48

How to develop a plugin for vlc player

Postby smart123 » 19 Mar 2009 18:26

hi, everybody, can anyone tell me Ho to develop a plugin for vlc player, the plugin can be of any type.

please tell me in more Details.

thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to develop a plugin for vlc player

Postby Jean-Baptiste Kempf » 20 Mar 2009 12:08

What kind of plugins? Decoders?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

smart123
New Cone
New Cone
Posts: 6
Joined: 03 Mar 2009 17:48

Re: How to develop a plugin for vlc player

Postby smart123 » 20 Mar 2009 20:21

any type. e.g YUV plugin.decoder etc

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to develop a plugin for vlc player

Postby Jean-Baptiste Kempf » 22 Mar 2009 00:11

any type. e.g YUV plugin.decoder etc
1 Compile VLC
2 Read HACKING file
3 create your new plugin and register it in the good category
4 Modify Modules.am
5 re-bootstrap and reconfigure
6 make
7 profit.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

smart123
New Cone
New Cone
Posts: 6
Joined: 03 Mar 2009 17:48

Re: How to develop a plugin for vlc player

Postby smart123 » 23 Mar 2009 20:42

my Question is How to create my new Plugin.? would you like to tell me some tutorials :(

Arite
Big Cone-huna
Big Cone-huna
Posts: 2478
Joined: 26 Jun 2007 20:40
VLC version: 3.0.20
Operating System: Debian Testing|Win10

Re: How to develop a plugin for vlc player

Postby Arite » 24 Mar 2009 00:07

j-b explained the process. You'll need to get the VLC source code and modify it accordingly. Look at other plugins/modules for examples.

Arite.
Don't use PMs for support questions.

INSA
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Oct 2010 13:50

Re: How to develop a plugin for vlc player

Postby INSA » 26 Oct 2010 14:01

Hi everybody !!

After a year, I am going to ask you the same question. How to develop a plugin for vlc player ?

I hope that someone will be able to answer me.

Thank you.

Mehdi

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How to develop a plugin for vlc player

Postby Rémi Denis-Courmont » 26 Oct 2010 17:13

Did you even read the answers?!
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: How to develop a plugin for vlc player

Postby XilasZ » 26 Oct 2010 17:25

The easiest way is to get vlc source code, compile it, and add anything you want.
But it's also possible to build a stand alone plugin. You'll have to add vlc's includes and fix issues on your environment.
JoungEunKim did it on windows with visual studio 2005/8 (see here, he uploaded an example based on simple.c, an audio filter : viewtopic.php?f=32&t=81793#p274912)

Thanks to him i managed to make my own audio output plugin modified to include ac3filter's core (and all it's features, upmix, resampling, DRC, per channel gain, ...). It's more a prof of concept right now, the code is a mess, but it works.

You should read this : http://wiki.videolan.org/Documentation:Hacker%27s_Guide, and especially the "VLC modules" link.
And don't forget vlc source code, it contains a lot of comments everywhere, it's the most complete doc you can find on vlc.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests