Page 1 of 1

plugin that denies reproduction in some cases

Posted: 05 Dec 2008 10:13
by Lalesvi
Hello once again! I am also integrating a plugin in the VLC that should allow only in some cases the reproduction of audio/video files. I have writen a program named "shouldReproduce.c" which main method returns a boolean stating if the file should or shouldn't be reproduced.

I am searching which specific program is charged of playing files and which part should I modify (by calling my program). Any ideas? (thanks for your help in advance)

Re: plugin that denies reproduction in some cases

Posted: 05 Dec 2008 12:25
by Jean-Baptiste Kempf
something like :demux=dump ?

Re: plugin that denies reproduction in some cases

Posted: 05 Dec 2008 12:50
by Lalesvi
demuxdump just "This saves the input as a file (specified by demuixdump-file), without decoding it. This is a way to "decode" input to VLC." (wiki.videolan.org/Demuxdump). How can it help me?

Re: plugin that denies reproduction in some cases

Posted: 05 Dec 2008 17:36
by Jean-Baptiste Kempf
Then I don't understand what you want. By reproduce, you mean play ?

Re: plugin that denies reproduction in some cases

Posted: 05 Dec 2008 19:11
by Lalesvi
Oh! yes sorry, I mean play.

Re: plugin that denies reproduction in some cases

Posted: 05 Dec 2008 21:39
by Jean-Baptiste Kempf
Oh, that can make sense now. maybe you should try to write an access_filter.