gstreamer in a non-multimedia area?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

gstreamer in a non-multimedia area?

Leonardo Sandoval-2
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.


Happy new year!



      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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer in a non-multimedia area?

Wesley Smith
Sounds like you're interested in applying dataflow networks to  
scientific computing.  There are a number of mostly commercial  
applications that do this but very few frameworks/libs.

Have you considered using a scripting language to glue everything  
together?  You'll have faster dev cycles and mote opportunity for  
customization.  This is my personal prefernce for scientific  
applications because the data is often heterogeneous.  What about a  
pre-baked solution like. SciPy or roll your own with lua

Wes

On Dec 29, 2009, at 9:18 AM, Leonardo Sandoval <[hidden email]
 > wrote:

> 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.
>
>
> Happy new year!
>
>
>
>      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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer in a non-multimedia area?

Stefan Sauer
In reply to this post by Leonardo Sandoval-2
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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer in a non-multimedia area?

Leonardo Sandoval-2
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


--- El mié 30-dic-09, Stefan Kost <[hidden email]> escribió:

> De:: Stefan Kost <[hidden email]>
> Asunto: Re: [gst-devel] gstreamer in a non-multimedia area?
> A: "Discussion of the development of GStreamer" <[hidden email]>
> Cc: "Leonardo Sandoval" <[hidden email]>
> 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
> > [hidden email]
> > 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer in a non-multimedia area?

Stefan Sauer
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 <[hidden email]> escribió:
>
>  
>> De:: Stefan Kost <[hidden email]>
>> Asunto: Re: [gst-devel] gstreamer in a non-multimedia area?
>> A: "Discussion of the development of GStreamer" <[hidden email]>
>> Cc: "Leonardo Sandoval" <[hidden email]>
>> 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
>>> [hidden email]
>>> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel