Compile OpenCV with GStreamer support in Windows. This is easier in Linux, where you can install GStreamer libraries and plugins and compile OpenCV with withgstreamer option enabled to get your job done. But in windows, this is tricky as the withgstreamer option is permanently off in OpenCV cmakefile.
Home / Tutorials
##Installing GStreamer on Windows 8 & 10
####GStreamer is a library for constructing graphs of media-handling components. The applications it supports range from simple Ogg/Vorbis playback, audio/video streaming to complex audio (mixing) and video (non-linear editing) processing.
- Yum install gstreamer. And then I can play an RTP stream by the command gst-launch-0.01 playbin2. Now I need to do the same in Windows and I tried to download the installation application from this website and then I opened the command line and type the following command: gst-launch-0.10 audiotestsrc! Autoaudiosink and got this error.
- Buzztrax (formerly known as Buzztard) is a music production environment, based on a very modular approach taking many concepts from trackers a step further. It runs under Linux and is compatible to the windows only and close source software Buzz. The backend is using GStreamer as a multimedia framework. It can use Alsa, Jack, PulseAudio and other audio interfaces.
To start the installation process, access this link:https://gstreamer.freedesktop.org/data/pkg/windows/
From here you will choose the latest version package. Download the developer (devel) package, alongside a default .msi package.
Start installing gstreamer, and find file(s) in computer. During installation, choose the COMPLETE package among the three choices.
Follow these command prompt lines carefully:
cd
cd C :gstreamer1.0x86_64bin
#####(may vary depending what package you downloaded / which directory you placed it in)
dir
search for 'gst-launch-1.0.exe' file
Now you are ready to do a test run:
- gst-launch-1.0.exe videotestsrc ! autovideosink
Ready to record with a camera? type the following command:
- gst-launch-1.0 autovideosrc ! autovideosink
Want some audio alongside the recording? try:
- gst-launch-1.0 autovideosrc ! autovideosink autoaudiosrc ! autoaudiosink
You are now ready to start saving recordings to your computer!
- [GStreamer command examples](GStreamer command examples)
I usually use Gstreamer in Linux and there I install it simply using the command
Gstreamer For Windows 7
and then I can play an RTP stream by the command gst-launch-0.01 playbin2 ...
Now I need to do the same in Windows and I tried to download the installation application from this website and then I opened the command line and type the following command:
and got this error:
I know I am missing something like linking or something, but I don't know how to do it!
Do anyone have a good HOWTO step by step on how to install and try gstreamer in Windows?
user573014user573014Gstreamer Windows Audio Sink
1 Answer
Gstreamer Player For Windows
First off, make sure your path variable points to where you installed gstreamer.
Secondly, you seem to have installed gsteamer-1.0, which is independent of 0.10.
Try running gst-launch instead of gst-launch-0.10