From: salsaman <sal...@xs...> - 2004-09-02 23:59:52
|
Hi, I am looking into making a livido wrapper for the libvisual plugins. Livido details can be found at http://livido.dyne.org/codedoc/. This will be a new open source architecture for video plugins. Once this is done, your plugins will be usable in LiVES, Cinelerra, FreeJ, Veejay, effecTV and PDP. I have compiled libvisual, but an error came up in the process. You need to add -I . to the include files, as the headers are in . for a new build until make install is run. Tomorrow I will try to build a livido wrapper. This should not be too complicated, I will retrieve a list of plugins and each one will become a livido_class in the wrapper library. Each class will construct a channel template with 0 in channels and one out channel with whatever palettes the plugin allows. Within livido, each livido_class can be used to create any number of livido_instances. each instance in this case representing an instance of a libvisual plugin. OK, quick question, are the plugins threadsafe - ie. can I start up several instances of different/the same plugin without problem ? Currently the only problem I forsee is with the size negotiation, I understand that libvisual uses horizontal and vertical block size restrictions, whereas livido currently only allows a completely free or a fixed channel size. I will suggest to the other livido developers that we implement something for block sizes. I hope you are serious about developing this architecture, because this could become a very nice addition to the livido plugin set. Regards, Salsaman. http://lives.sourceforge.net |
From: Dennis S. <sy...@yo...> - 2004-09-03 11:44:57
|
On Fri, 2004-09-03 at 02:14 +0100, salsaman wrote: > Hi, > I am looking into making a livido wrapper for the libvisual plugins. > Livido details can be found at http://livido.dyne.org/codedoc/. This > will be a new open source architecture for video plugins. Once this is > done, your plugins will be usable in LiVES, Cinelerra, FreeJ, Veejay, > effecTV and PDP. Rockon! > I have compiled libvisual, but an error came up in the process. You need > to add -I . to the include files, as the headers are in . for a new > build until make install is run. Strange, this should be right in CVS. > OK, quick question, are the plugins threadsafe - ie. can I start up > several instances of different/the same plugin without problem ? The plugins are completely thread safe, it's a requirement in plugin design but libvisual will support VISUAL_PLUGIN_FLAG_NOTRENTRANT flag in the future. Ofcourse the case is different for GL plugins but that won't work in your setup anyway :) > Currently the only problem I forsee is with the size negotiation, I > understand that libvisual uses horizontal and vertical block size > restrictions, whereas livido currently only allows a completely free or > a fixed channel size. I will suggest to the other livido developers that > we implement something for block sizes. Libvisual handles size issues transparantly, using the VisActor you can >ALWAYS< use any size you want. Libvisual will handle it internally if conflicts arise :) So you're safe here as well. > I hope you are serious about developing this architecture, because this > could become a very nice addition to the livido plugin set. We are deadly serious. Nah, seriously, I for instance has never been as motivated (and for such a length of time) about working on a project as the case is with libvisual. We will get the job done. Cheers, Dennis |
From: salsaman <sal...@xs...> - 2004-09-03 12:47:38
|
Dennis Smit wrote: >On Fri, 2004-09-03 at 02:14 +0100, salsaman wrote: > > >>Hi, >>I am looking into making a livido wrapper for the libvisual plugins. >>Livido details can be found at http://livido.dyne.org/codedoc/. This >>will be a new open source architecture for video plugins. Once this is >>done, your plugins will be usable in LiVES, Cinelerra, FreeJ, Veejay, >>effecTV and PDP. >> >> >Rockon! > > > >>I have compiled libvisual, but an error came up in the process. You need >>to add -I . to the include files, as the headers are in . for a new >>build until make install is run. >> >> >Strange, this should be right in CVS. > > > > >>OK, quick question, are the plugins threadsafe - ie. can I start up >>several instances of different/the same plugin without problem ? >> >> > >The plugins are completely thread safe, it's a requirement >in plugin design but libvisual will support >VISUAL_PLUGIN_FLAG_NOTRENTRANT flag in the future. > >Ofcourse the case is different for GL plugins but that won't work in >your setup anyway :) > > > Why won't GL plugins work ? Can't you draw to a GL buffer ? Salsaman. |
From: Dennis S. <sy...@yo...> - 2004-09-06 14:51:41
|
> >Ofcourse the case is different for GL plugins but that won't work in > >your setup anyway :) > > > > > > > Why won't GL plugins work ? Can't you draw to a GL buffer ? > > Salsaman. Is possible doing it quite hacky, but gl needs a open gl context which comes from GLX, or SDL in GL mode. It's possible, in my knowledge to render gl into a Ximage, or something like that but it's not clean/easy to do. We can look into this in the future ;) For now, it's better to not go with GL, sorry. Cheers, Dennis |