[gst-devel] gstreamer in a non-multimedia area?

Stefan Kost ensonic at hora-obscura.de
Fri Jan 8 10:14:40 CET 2010


Leonardo Sandoval wrote:
> I think may be gstreamer a good option at least for those two reasons you mentioned:
>
> * Syncronisation: for example, in a galaxy evolution, several physics (gravitation, star evolution, etc.) are occurring at the same time, so we need syncronisation to control  these computations. 
>
> * format negotiation: currently, different codes outputs different data formats so most of the time the output of one program has to be converted in order to be the input of another program. Using standard formats specified in the pads/caps, these can be avoided, I believe.
>
> However, there is one problem. In a multimedia, we have all the data to be reproduced (encoded,decoded,etc) but in this case, starting from an initial snapshot (initial conditions) an new snapshot is produced (the snapshot at time t_0 + delta), then the latter is used to create the snapshot t_0 + 2*delta, etc, and I believe in gstreamer it is not possible that the output of a right element is the input of a left element, like in this diagram:
>
>          ________        ________        _______
>         |        |      |        |      |       |
> --|->---|        |----- |        |------|       |--->---|
>   |     |________|      |________|      |_______|       |
>   |                                                     |
>   |-----------------------------------------------------|
> Ing. Leonardo SandovalCel:  (044)  81 10 62 33 59Casa: (0181) 17 33 04 73
>
>   
There is some cycle detection somewhere. You can definitely simulate the
feedback loop, but snatching the output from a pad-probe and injecting
it in the begin again. But just try if it works without that hackery and
if not we can think if it can be supported.

Stefan
> --- El mié 30-dic-09, Stefan Kost <ensonic at hora-obscura.de> escribió:
>
>   
>> De:: Stefan Kost <ensonic at hora-obscura.de>
>> Asunto: Re: [gst-devel] gstreamer in a non-multimedia area?
>> A: "Discussion of the development of GStreamer" <gstreamer-devel at lists.sourceforge.net>
>> Cc: "Leonardo Sandoval" <leonardo_gdl at yahoo.com.mx>
>> Fecha: miércoles 30 de diciembre de 2009, 8:36
>> hi,
>>
>> Am 29.12.2009 18:18, schrieb Leonardo Sandoval:
>>     
>>> Hi,
>>>
>>> In the past, I worked in a project which consists of
>>>       
>> joining together several numerical codes (codes which solve
>> some particular physic problem, like stars gravity or star
>> mass evolution) in a single one, but this turned to be a
>> very difficult problem due to different
>> language/technologies.
>>     
>>> Recently, I moved to the multimedia field using
>>>       
>> gstreamer and seems  to be an excellent and natural
>> 'glue' to put several things together under a single
>> framework. Before I can dig deeper on this, I have a simple
>> question: in the case of galaxy dynamics, we are not talking
>> about frames but 'snapshots', where each snapshot contains
>> the information of each star inside a galaxy (mass,
>> position, velocity, gas composition, etc.), i.e. the
>> state  of the galaxy at some time.  
>>     
>>> I know that gstreamer does not care about the kind of
>>>       
>> data flowing, I just want to know if gstreamer has been used
>> in other fields  rather than multimedia and if yes,
>> which has been the experienced with this technology.
>>     
>> I am quite sure it can be done. WHat I wonder is how
>> gstreamer might help you.
>> For multimedia it gives you data flow synchronisation and
>> format negotiation
>> (and other things). I am not sure you would need those.
>> What would be left is
>> the plugin framework and some developments support.
>>
>>     
>>> Happy new year!
>>>
>>>       
>> Same to you.
>>
>> Stefan
>>     
>>>        Encuentra las mejores
>>>       
>> recetas en Yahoo! Cocina.         
>>              
>>     
>>> http://mx.mujer.yahoo.com/cocina/
>>>
>>>
>>>       
>> ------------------------------------------------------------------------------
>>     
>>> This SF.Net email is sponsored by the Verizon
>>>       
>> Developer Community
>>     
>>> Take advantage of Verizon's best-in-class app
>>>       
>> development support
>>     
>>> A streamlined, 14 day to market process makes app
>>>       
>> distribution fast and easy
>>     
>>> Join now and get one step closer to millions of
>>>       
>> Verizon customers
>>     
>>> http://p.sf.net/sfu/verizon-dev2dev 
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>       
>>     
>
>
>       Encuentra las mejores recetas en Yahoo! Cocina.                       
> http://mx.mujer.yahoo.com/cocina/
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list