8

Do I have to compile GStreamer on my own? Can I do it using Visual Studio 2010?

I'm struggling to find a good step-by-step guide with instructions on how to do this. Is there a good one?

My objective is to build applications using QtGstreamer on VS2010.

Puppy
  • 144,682
  • 38
  • 256
  • 465
karlphillip
  • 92,053
  • 36
  • 243
  • 426

3 Answers3

6

This links gives a complete method to compile GStreamer using Visual Studio and this one is to compile QtGstreamer.

Simon Mourier
  • 132,049
  • 21
  • 248
  • 298
  • URLs are dead. Hello??????????????????? Hello????????????????? Anyone know how Gstreamer 1.0 can be used in Visual studio 2013?????? –  Mar 25 '15 at 07:19
  • Not dead but hopeless. Paths are all over the place. – Robinson Mar 16 '16 at 14:47
0

You could try out build from OSSBuild. You should use svn client to checkout address

http://ossbuild.googlecode.com/svn/trunk/Shared/Build/Windows/Win32

Then it is only matter of configuring VS2010 to know where to look for it. It contains all thet one needs already compiled. Since i run linux i have no possibility of checking how to configure it correctly.

j_kubik
  • 6,062
  • 1
  • 23
  • 42
0
  • Download the GStreamer libraries and headers for windows.
  • Put them in a folder.
  • Add the folder's path to your Include Directories and Library Directories. (Project Properties->Configuration Properties->VC++ Directories)
  • Add the library to your linker's list of libraries to link to (woah!).

Ok... that last one isn't so bad: Project Properties->Configuration Properties->Linker->Input->Additional Dependancies (add the name of the library e.g. gstreamer.lib or gstreamer.dll)

  • #include < gstreamer.h > (or whatever the header you need to include is called)
  • if your using QtGstreamer, ignore the previous step and #include < QtGstreamer.h >

Note: you may have to do the same setup for the QtGstreamer libraries and headers as the one for Gstreamer, and yes, QtGstreamer relies on Gstreamer so you need to setup for both.

Happy coding! :)

acpluspluscoder
  • 446
  • 1
  • 4
  • 10
  • 1
    Can you provide links for the packages you are suggesting me to download? – karlphillip Dec 03 '11 at 12:59
  • 1
    if we are talking abt this "ossbuild-build-env.exe" then it can be downlowd here http://ossbuild.hoytsoft.org/downloads/downloads.aspx – Jeegar Patel Dec 03 '11 at 17:56
  • 1
    `Download the GStreamer libraries and headers for windows.` From where?!?!? – karlphillip Dec 09 '11 at 17:16
  • Not working i have done Project Properties->Configuration Properties->Linker->Input->Additional Dependancies (add the name of the library e.g. gstreamer.lib or gstreamer.dll) but still it says gstreamer.h or gst/gst.h no such file or directory. –  Mar 25 '15 at 07:23
  • This is a general procedure. Can you provide anything specific to GStreamer? – A.k. Dec 02 '19 at 08:05