Setup GStreamer on Windows for .net

Hi All,

I am new to use GStreamer for my .net core project. I was trying to install GStreamer
installer: gstreamer-1.0-mingw-x86_64-1.24.0.
On documentation it was mentioned:
On Windows, with .msi installer, keep all default components selected, and add “Gstreamer 1.0 libav wrapper” .But I have installed all existing plugins and stuff (complete installation)
but I am confused about the paths to set in environment variables. I tried to run command prompt

gst-launch-1.0 playbin uri=https://ia800501.us.archive.org/10/items/BigBuckBunny_310/big_buck_bunny_640_512kb.mp4

but I am getting error gst-launch-1.0 is not recognized.
I have set variable with this name and given path to exe :
C:\gstreamer\1.0\mingw_x86_64\bin\gst-launch-1.0.exe

What else should i do to make it work?
your help would be much appreciated.
I wanted to make it run with .net core project. but right now just trying to install properly that I can access even with .net 4.8 or .net standard

Thanks,
Omair

Hi.

Did you add path to gst bin folder to your system variable Path ? In my case I’ve added d:\gstreamer\1.0\mingw_x86_64\bin\ to Path.

I can see one variable named:
%GSTREAMER_1_0_ROOT_X86_64%\bin
value:
C:\gstreamer\1.0\mingw_x86_64\bin

Another variables which are added or i had added them manually are as below:

“GST_PLUGIN_PATH”
value:
C:\gstreamer\1.0\mingw_x86_64\lib\gstreamer-1.0

below I have added to run the command… but didn’t work:

“gst-launch-1.0”
value: C:\gstreamer\1.0\mingw_x86_64\bin\gst-launch-1.0.exe

are added into the environment variable list.

There should be Path system variable, add C:\gstreamer\1.0\mingw_x86_64\bin to it.

image

1 Like

it’s also %GSTREAMER_1_0_ROOT_X86_64%\lib should be added to Path environment variable

1 Like