using GStreamer in windows

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

using GStreamer in windows

Bob-278
hi,
  
I want to use GStreamer, in windows, in Visual Studio.
  
I downloaded and installed the setup (.exe) files. the gst-inspect.exe and gst-launch.exe  were executed and successfully. 
 I don't know how to include the libraries and the headers of gst-ffmpeg, gst-plugins-base, gst-plugins-good etc....
please tell me how to start. 
  
thanks and regards
 -bob

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: using GStreamer in windows

Julien Isorce
Hi

(http://gstreamer.freedesktop.org/pkg/windows/releases/)

For the gstreamer part, you only need to include .h and .lib from gstreamer-0.10.17.win32dev.zip and headers from gst-plugins-base-0.10.17.win32dev.zip.

You also need to install libxml2-dev, iconv, and glib-dev. You can find them here :http://www.gtk.org/download-windows.html and here http://www.gimp.org/~tml/gimp/win32/downloads.html.

For binaires I advise you to install gtk runtime that contains also binaires needed, gtk also but np, from here http://gtk-win.sourceforge.net/home/index.php/en/Downloads

Sincerey

Julien



2008/4/2, Bob <[hidden email]>:
hi,
  
I want to use GStreamer, in windows, in Visual Studio.
  
I downloaded and installed the setup (.exe) files. the gst-inspect.exe and gst-launch.exe  were executed and successfully. 
 I don't know how to include the libraries and the headers of gst-ffmpeg, gst-plugins-base, gst-plugins-good etc....
please tell me how to start. 
  
thanks and regards
 -bob

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace" target="_blank">http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: using GStreamer in windows

Julien Isorce
In reply to this post by Bob-278
Hi,

If you have not a minimal experience in IDE compilation, you should begin by compiling a simple example. There is a lot of tutoriels.

"where?": in project properties, you have to specify the path (general) and the lib names.

Julien

2008/4/3, Julien Isorce <[hidden email]>:
Hi,

If you have not a minimal experience in IDE compilation, you should begin by compiling a simple example. There is a lot of tutoriels.

"where?": in project properties, you have to specify the path (general) and the lib names.

Julien


2008/4/3, Bob <[hidden email]>:
hi julien,
 
thanks a lot for that reply...could u give me a step by step direction as to what i have to do..
so far this is what i have done:
1. installed gtk+ and gimp
2.installed the setup .exe files, under gstreamer,gst-ffmpeg, gst-plugins-base and gst-plugins-good
 
refering to ur previous mail, "you only need to include .h and .lib from <a href="http://gstreamer.freedesktop.org/pkg/windows/releases/gstreamer/gstreamer-0.10.17.win32dev.zip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gstreamer-0.10.17.win32dev.zip<a style="text-decoration: underline;" href="http://gstreamer.freedesktop.org/pkg/windows/releases/gst-plugins-base/gst-plugins-base-0.10.17.win32dev.zip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> and headers from <a style="text-decoration: underline;" href="http://gstreamer.freedesktop.org/pkg/windows/releases/gst-plugins-base/gst-plugins-base-0.10.17.win32dev.zip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gst-plugins-base-0.10.17.win32dev.zip."..where and how do i include the .h and .lib files???..can i just copy it to any folder?, if  YES, then where can i copy it?
 
thanks
-bob
----- Original Message -----
Sent: Wednesday, April 02, 2008 4:52 PM
Subject: Re: [gst-devel] using GStreamer in windows

Hi

(<a href="http://gstreamer.freedesktop.org/pkg/windows/releases/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://gstreamer.freedesktop.org/pkg/windows/releases/)

For the gstreamer part, you only need to include .h and .lib from <a href="http://gstreamer.freedesktop.org/pkg/windows/releases/gstreamer/gstreamer-0.10.17.win32dev.zip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gstreamer-0.10.17.win32dev.zip<a style="text-decoration: underline;" href="http://gstreamer.freedesktop.org/pkg/windows/releases/gst-plugins-base/gst-plugins-base-0.10.17.win32dev.zip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> and headers from <a style="text-decoration: underline;" href="http://gstreamer.freedesktop.org/pkg/windows/releases/gst-plugins-base/gst-plugins-base-0.10.17.win32dev.zip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gst-plugins-base-0.10.17.win32dev.zip.

You also need to install libxml2-dev, iconv, and glib-dev. You can find them here :<a href="http://www.gtk.org/download-windows.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.gtk.org/download-windows.html and here <a href="http://www.gimp.org/%7Etml/gimp/win32/downloads.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.gimp.org/~tml/gimp/win32/downloads.html.

For binaires I advise you to install gtk runtime that contains also binaires needed, gtk also but np, from here <a href="http://gtk-win.sourceforge.net/home/index.php/en/Downloads" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://gtk-win.sourceforge.net/home/index.php/en/Downloads

Sincerey

Julien



2008/4/2, Bob <[hidden email]>:
hi,
  
I want to use GStreamer, in windows, in Visual Studio.
  
I downloaded and installed the setup (.exe) files. the gst-inspect.exe and gst-launch.exe  were executed and successfully. 
 I don't know how to include the libraries and the headers of gst-ffmpeg, gst-plugins-base, gst-plugins-good etc....
please tell me how to start. 
  
thanks and regards
 -bob

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
<a href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: using GStreamer in windows

Julien Isorce
In reply to this post by Bob-278
Hi,

Take a look at the "hello work" section in this page : http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html

It is almost what you need. You can first start to adapt it to play mp3, then if you have still questions do not hesitate to ask again.

Julien I.

2008/4/10, Bob <[hidden email]>:
hi julien,
 
what could be the pipeline in Visual Studio, for:
 
gst-launch-0.10 filesrc location=/some file.mp3 (give file path)  !  ffdemux_mp3  !  ffdec_mp3  !  directsoundsink
 
 thanks
-bob

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: using GStreamer in windows

Julien Isorce
The errors you got is about glib library.

You have to fill in the "linker input" section, in the project properties, with the .lib required (depends on what you are doing).
Try those:

libgstreamer-0.10.lib
glib-2.0.lib
gobject-2.0.lib
libxml2_a.lib
iconv.lib

Fill in the "linker general - additionnal dependencies" (= lib path) too.


2008/4/10, Bob <[hidden email]>:
hi julien,
 
thanx for that fast reply. i did find the program and tried to compile the same. y do i get the foll error?:
 
--------------------Configuration: gstreamer - Win32 Debug--------------------
Compiling...
test.c
Linking...
test.obj : error LNK2001: unresolved external symbol _g_signal_connect_data
test.obj : error LNK2001: unresolved external symbol _g_object_set
test.obj : error LNK2001: unresolved external symbol _g_type_check_instance_cast
Debug/gstreamer.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
 
gstreamer.exe - 4 error(s), 0 warning(s)
please help. i am really new to this
thanks
-bob
----- Original Message -----
Sent: Thursday, April 10, 2008 4:27 PM
Subject: Re: [gst-devel] using GStreamer in windows

Hi,

Take a look at the "hello work" section in this page : <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html

It is almost what you need. You can first start to adapt it to play mp3, then if you have still questions do not hesitate to ask again.

Julien I.

2008/4/10, Bob <[hidden email]>:
hi julien,
 
what could be the pipeline in Visual Studio, for:
 
gst-launch-0.10 filesrc location=/some file.mp3 (give file path)  !  ffdemux_mp3  !  ffdec_mp3  !  directsoundsink
 
 thanks
-bob

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: using GStreamer in windows

Julien Isorce
Hi,

Just get and install the gst-ffmpeg cvs package there http://gstreamer.freedesktop.org/pkg/windows/cvs/.

Julien


2008/4/11, Bob <[hidden email]>:
hi,
could you please tell me y these errors r coming? what does a  resource mean?..is it a 'decoder'? each element is been created. the error occurs while running the loop.
 
 

C:\Documents and Settings\Administrator\Desktop\gstreamer\Debug>gstreamer.exe C:\Files\bobb.mp3
 
** (gstreamer.exe:3136): WARNING **: Add decoder dsicinvideo (97) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder gif (100) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder kmvc (88) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder nuv (87) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder smackvid (86) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder targa (96) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder tiertexseqvideo (98) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder tiff (99) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder VMware video (92) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder dsicinaudio (86045) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder imc (86046) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder smackaud (86042) please
 
** (gstreamer.exe:3136): WARNING **: Add decoder wavpack (86044) please
Setting to PLAYING
Running
Error: Resource not found.
Returned, stopping playback
Deleting pipeline
 
C:\Documents and Settings\Administrator\Desktop\gstreamer\Debug>
 
thanks
bob

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.



2008/4/10, Bob <[hidden email]>:
hi
thanx a million for that! it got compiled!
will get back to u if i get any more probs
 
bob
----- Original Message -----
Sent: Thursday, April 10, 2008 4:50 PM
Subject: Re: [gst-devel] using GStreamer in windows

The errors you got is about glib library.

You have to fill in the "linker input" section, in the project properties, with the .lib required (depends on what you are doing).
Try those:

libgstreamer-0.10.lib
glib-2.0.lib
gobject-2.0.lib
libxml2_a.lib
iconv.lib

Fill in the "linker general - additionnal dependencies" (= lib path) too.


2008/4/10, Bob <[hidden email]>:
hi julien,
 
thanx for that fast reply. i did find the program and tried to compile the same. y do i get the foll error?:
 
--------------------Configuration: gstreamer - Win32 Debug--------------------
Compiling...
test.c
Linking...
test.obj : error LNK2001: unresolved external symbol _g_signal_connect_data
test.obj : error LNK2001: unresolved external symbol _g_object_set
test.obj : error LNK2001: unresolved external symbol _g_type_check_instance_cast
Debug/gstreamer.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
 
gstreamer.exe - 4 error(s), 0 warning(s)
please help. i am really new to this
thanks
-bob
----- Original Message -----
Sent: Thursday, April 10, 2008 4:27 PM
Subject: Re: [gst-devel] using GStreamer in windows

Hi,

Take a look at the "hello work" section in this page : <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html

It is almost what you need. You can first start to adapt it to play mp3, then if you have still questions do not hesitate to ask again.

Julien I.

2008/4/10, Bob <[hidden email]>:
hi julien,
 
what could be the pipeline in Visual Studio, for:
 
gst-launch-0.10 filesrc location=/some file.mp3 (give file path)  !  ffdemux_mp3  !  ffdec_mp3  !  directsoundsink
 
 thanks
-bob

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it. Contact your Administrator for further information.

 



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel