How to compile a filter already done.

*nix specific usage questions
marcel.tella
Blank Cone
Blank Cone
Posts: 19
Joined: 24 Aug 2009 01:34

How to compile a filter already done.

Postby marcel.tella » 20 Dec 2009 00:39

I have a problem, I've done an easy filter, to test how vlc plays videos with this filter, but, i don't know, what i have to do to compile this filter, and to include it for after write, for example, if the name of my filter is invert_kt


#vlc --video-filter invert_kt


Anyone knows how can i do?

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 compile a filter already done.

Postby Jean-Baptiste Kempf » 22 Dec 2009 09:05

Edit Modules.am and bootstrap again.
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.

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: How to compile a filter already done.

Postby xtophe » 22 Dec 2009 16:46

And read HACKING
Xtophe

marcel.tella
Blank Cone
Blank Cone
Posts: 19
Joined: 24 Aug 2009 01:34

Re: How to compile a filter already done.

Postby marcel.tella » 15 Apr 2010 00:53

Hi! At first of all I wat to thank to jb, who help me a lot in my little progress.

Later, i need some more help. I've created a new filter. the name of this filter is cromakey
and is in the same path than other filtres as invert.c, and more video filters.


Well, I've read the hacking, but i'm not able to find the solution for my problem.

I've modified the file Modules.am with the following line:

SOURCES_cromakey = cromakey.c

and then, i've bootstrapped.

I've done that after do that changes:

./bootstrap
./configure
make
sudo make install

to recompile all VLC again because I don't know how to compile only one filter. Is there one way to do that?


Thanks for all!

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

Re: How to compile a filter already done.

Postby Rémi Denis-Courmont » 15 Apr 2010 16:57

You need to use your own Makefile and use the 'vlc-plugin' pkg-config package. This assumes you've installed the libvlc development package.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

marcel.tella
Blank Cone
Blank Cone
Posts: 19
Joined: 24 Aug 2009 01:34

Re: How to compile a filter already done.

Postby marcel.tella » 16 May 2010 01:41

could you explain me a bit all the process?
It's very difficult for me to understand what are you saying.

thanks.

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

Re: How to compile a filter already done.

Postby Rémi Denis-Courmont » 16 May 2010 11:31

If you don't understand, then you should probably not even try.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 55 guests