plugin that denies reproduction in some cases

This forum is about all development around libVLC.
Lalesvi
New Cone
New Cone
Posts: 8
Joined: 05 Dec 2008 09:31

plugin that denies reproduction in some cases

Postby Lalesvi » 05 Dec 2008 10:13

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)

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: plugin that denies reproduction in some cases

Postby Jean-Baptiste Kempf » 05 Dec 2008 12:25

something like :demux=dump ?
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.

Lalesvi
New Cone
New Cone
Posts: 8
Joined: 05 Dec 2008 09:31

Re: plugin that denies reproduction in some cases

Postby Lalesvi » 05 Dec 2008 12:50

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?

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: plugin that denies reproduction in some cases

Postby Jean-Baptiste Kempf » 05 Dec 2008 17:36

Then I don't understand what you want. By reproduce, you mean play ?
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.

Lalesvi
New Cone
New Cone
Posts: 8
Joined: 05 Dec 2008 09:31

Re: plugin that denies reproduction in some cases

Postby Lalesvi » 05 Dec 2008 19:11

Oh! yes sorry, I mean play.

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: plugin that denies reproduction in some cases

Postby Jean-Baptiste Kempf » 05 Dec 2008 21:39

Oh, that can make sense now. maybe you should try to write an access_filter.
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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 16 guests