Gstreamer with C++

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

Gstreamer with C++

liangzhihong1984
Hi, does gstreamer work well with C++?  
 
 
 

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer with C++

Francisco Javier Cano Sandoval
Yes, I encapsulated gstreamer functionality within some C++ classes and
it worked perfectly.
Regards.

liangzhihong1984 escribió:
> Hi, does gstreamer work well with C++?

--
=============================================
Francisco J. Cano Sandoval
---------------------------------------------
Telefónica I+D
2124 - Tecnologías de vídeo
Via Augusta 177, 08021 Barcelona, España
---------------------------------------------
Tlf: (+34) 93 365 3117
Fax: (+34) 93 365 3043
email: [hidden email]
=============================================


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer with C++

Eric Jonas
In reply to this post by liangzhihong1984
Jose,

> If you're interested there are also C++ bindings being developed and
> what's been wrapped is fairly stable and usable. If you're interested,
> see the gstreamer C++ bindings page:
>
> http://gstreamer.freedesktop.org/bindings/cplusplus.html

   I too have recently found myself needing to write some elements that
interoperate with legacy c++ code. Are the gstreamer c++ bindings you
mention in a state that you can inherit from gst base elements? I've
used gtkmm with fantastic success in the past (thanks murry!), so I have
high hopes :) I find myself needing to make my own network-clock
element, for example, and I'd really like to avoid having to fight with
raw gobject if I can avoid it.

Thanks again,
                ...Eric



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer with C++

José Alburquerque-3
Eric Jonas wrote:

> Jose,
>
>  
>> If you're interested there are also C++ bindings being developed and
>> what's been wrapped is fairly stable and usable. If you're interested,
>> see the gstreamer C++ bindings page:
>>
>> http://gstreamer.freedesktop.org/bindings/cplusplus.html
>>    
>
>    I too have recently found myself needing to write some elements that
> interoperate with legacy c++ code. Are the gstreamer c++ bindings you
> mention in a state that you can inherit from gst base elements? I've
> used gtkmm with fantastic success in the past (thanks murry!), so I have
> high hopes :) I find myself needing to make my own network-clock
> element, for example, and I'd really like to avoid having to fight with
> raw gobject if I can avoid it.
>
> Thanks again,
> ...Eric
>  

I don't think inheriting from gstbase base classes is possible yet
(because these base classes haven't been wrapped yet), but it is one of
the things that is planned to make possible in the near future.  There
are a few things that we are trying to complete before we focus on this
completely (like a generic c++ iterator based on the GstIterator) but we
are definitely planning to wrap these base classes (both the core and
base ones) if it is something that will be useful.  Stay informed on the
gtkmm list and feel free to ask questions there.

CCing the gtkmm list.

--
José Alburquerque


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel