Gstreamer GUI embedding

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

Gstreamer GUI embedding

Javier Gálvez Guerrero
Hi,

I would like to know how to embed the GStreamer video output in a GUI, so, as I am not an expert in neither of the two frameworks, I would like you to help me in this issue. Once I get some clues I will study the technologies/frameworks to be used.

Which GUI framework for the Linux environment is the better/most usually used to embed GStreamer in? What I need is a sort of media player, so I have to embed the video frame. Is there any tutorial or sample code so I can get an idea of how to do it?

I know is a very general question, but that is what I need now. I hope you can give me any piece of advice.


Thank you all,
Javi

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer GUI embedding

Florent THIERY-2
> I would like to know how to embed the GStreamer video output in a GUI, so,
> as I am not an expert in neither of the two frameworks, I would like you to
> help me in this issue. Once I get some clues I will study the
> technologies/frameworks to be used.

Hi Javier,

For GUI integration, you might want to take a look at primarily
gobject-based technologies, such as GTK, clutter or pigment.

> Which GUI framework for the Linux environment is the better/most usually
> used to embed GStreamer in? What I need is a sort of media player, so I have
> to embed the video frame. Is there any tutorial or sample code so I can get
> an idea of how to do it?

You may want to take a look at the following:
* for gtk (the most widely used GUI framework for gstreamer apps like
Totem), check out the vumeter example
(./gst-python/examples/switch.py) in the git/cvs repos. Not a pure
video displaying example, but a starting point
* for clutter, check out [1] or [2] (decodebin-powered media player example)
* for pigment, check out [3]

[1] http://git.clutter-project.org/cgit.cgi?url=bindings/pyclutter/tree/examples/videosink.py&h=pyclutter-0-8
[2] http://candies.ubicast.eu/trac.cgi/browser/trunk/tests/test_video.py
[3] https://code.fluendo.com/pigment/trac/browser/branches/pigment-python-widgets/examples/video.py?rev=1287

Cheers

FLo

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer GUI embedding

Javier Gálvez Guerrero
Thank you so much for your help, Florent. It is much appreciated.I will take a deep look at the documentation you provided to me.

Best regards,
Javi



2009/3/6 Florent <[hidden email]>
> I would like to know how to embed the GStreamer video output in a GUI, so,
> as I am not an expert in neither of the two frameworks, I would like you to
> help me in this issue. Once I get some clues I will study the
> technologies/frameworks to be used.

Hi Javier,

For GUI integration, you might want to take a look at primarily
gobject-based technologies, such as GTK, clutter or pigment.

> Which GUI framework for the Linux environment is the better/most usually
> used to embed GStreamer in? What I need is a sort of media player, so I have
> to embed the video frame. Is there any tutorial or sample code so I can get
> an idea of how to do it?

You may want to take a look at the following:
* for gtk (the most widely used GUI framework for gstreamer apps like
Totem), check out the vumeter example
(./gst-python/examples/switch.py) in the git/cvs repos. Not a pure
video displaying example, but a starting point
* for clutter, check out [1] or [2] (decodebin-powered media player example)
* for pigment, check out [3]

[1] http://git.clutter-project.org/cgit.cgi?url=bindings/pyclutter/tree/examples/videosink.py&h=pyclutter-0-8
[2] http://candies.ubicast.eu/trac.cgi/browser/trunk/tests/test_video.py
[3] https://code.fluendo.com/pigment/trac/browser/branches/pigment-python-widgets/examples/video.py?rev=1287

Cheers

FLo

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer GUI embedding

Stefan Sauer
In reply to this post by Javier Gálvez Guerrero
Javier Gálvez Guerrero schrieb:

> Hi,
>
> I would like to know how to embed the GStreamer video output in a GUI,
> so, as I am not an expert in neither of the two frameworks, I would like
> you to help me in this issue. Once I get some clues I will study the
> technologies/frameworks to be used.
>
> Which GUI framework for the Linux environment is the better/most usually
> used to embed GStreamer in? What I need is a sort of media player, so I
> have to embed the video frame. Is there any tutorial or sample code so I
> can get an idea of how to do it?
>
> I know is a very general question, but that is what I need now. I hope
> you can give me any piece of advice.
>
For gtk have a look at e.g. these in gst-plugisn-base
  tests/examples/seek/seek.c
  tests/icles/test-colorkey.c

Stefan

>
> Thank you all,
> Javi
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer GUI embedding

Javier Gálvez Guerrero
Thanks, Stefan. I will take a look at these files.

Regards,
Javi


2009/3/8 Stefan Kost <[hidden email]>
Javier Gálvez Guerrero schrieb:
> Hi,
>
> I would like to know how to embed the GStreamer video output in a GUI,
> so, as I am not an expert in neither of the two frameworks, I would like
> you to help me in this issue. Once I get some clues I will study the
> technologies/frameworks to be used.
>
> Which GUI framework for the Linux environment is the better/most usually
> used to embed GStreamer in? What I need is a sort of media player, so I
> have to embed the video frame. Is there any tutorial or sample code so I
> can get an idea of how to do it?
>
> I know is a very general question, but that is what I need now. I hope
> you can give me any piece of advice.
>
For gtk have a look at e.g. these in gst-plugisn-base
 tests/examples/seek/seek.c
 tests/icles/test-colorkey.c

Stefan

>
> Thank you all,
> Javi
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

How to compile Gstreamer on Windows ?

cammille
In reply to this post by Stefan Sauer
Hello everybody,

I would like to compile gstreamer on windows to do some tests.

So, I have downloaded gstreamer, and I opened the file gstreamer.sln in
the directory win32/vs8.

I tried to compile it but I have several fatal errors.
For examples, the compilers says it can't find the file glib.h.



What can I do to make it work ? What am I doing wrong ?
If you want more explanation, tell me.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to compile Gstreamer on Windows ?

Andoni Morales
Hi cammille,

You can try with GStreamer-Winbuild, a complete GStreamer developing suite for Windows based on OAbuild.
http://www.gstreamer-winbuild.ylatuya.es/doku.php?id=developers

2009/3/9 <[hidden email]>
Hello everybody,

I would like to compile gstreamer on windows to do some tests.

So, I have downloaded gstreamer, and I opened the file gstreamer.sln in
the directory win32/vs8.

I tried to compile it but I have several fatal errors.
For examples, the compilers says it can't find the file glib.h.



What can I do to make it work ? What am I doing wrong ?
If you want more explanation, tell me.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to compile Gstreamer on Windows ?

cammille
Sorry I was occupied the last week.

I'm trying to compile gstreamer the way it's explain.

But, in my version of DirectX the is not this file : C:\Program
Files\Microsoft
SDKs\Windows\v6.1\Samples\Multimedia\DirectShow\BaseClasses\baseclasses.sln

Then, I try to compile this file : C:\Documents and
Settings\David\Bureau\GStreamer-WinBuild\build\GStreamer.sln
And I have 428 errors.

What's wrong ? :(

> Hi cammille,
>
> You can try with GStreamer-Winbuild, a complete GStreamer developing suite
> for Windows based on OAbuild.
> http://www.gstreamer-winbuild.ylatuya.es/doku.php?id=developers
>
> 2009/3/9 <[hidden email]>
>
>> Hello everybody,
>>
>> I would like to compile gstreamer on windows to do some tests.
>>
>> So, I have downloaded gstreamer, and I opened the file gstreamer.sln in
>> the directory win32/vs8.
>>
>> I tried to compile it but I have several fatal errors.
>> For examples, the compilers says it can't find the file glib.h.
>>
>>
>>
>> What can I do to make it work ? What am I doing wrong ?
>> If you want more explanation, tell me.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San
>> Francisco,
>> CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source
>> participation
>> -Receive a $600 discount off the registration fee with the source code:
>> SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H_______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to compile Gstreamer on Windows ?

Farkas Levente
In reply to this post by Andoni Morales
Andoni Morales wrote:
> Hi cammille,
>
> You can try with GStreamer-Winbuild, a complete GStreamer developing
> suite for Windows based on OAbuild.
> http://www.gstreamer-winbuild.ylatuya.es/doku.php?id=developers

hi,,
it seems this server is down:
https://forja.rediris.es/svn/csl-longomatch/GStreamer-WinBuild/trunk

--
  Levente                               "Si vis pacem para bellum!"

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel