Home

Awesome

mrayGStreamerUnity

GStreamer Integration with Unity using a Native plugin

Updated 11/June/2022:

Major update to this version includes:

Currently only built for windows, but building for macOS should be straight forward. I will try to update the repo once I have some time to compile for MacOS

All scenes were tested and working fine!


Updated 29/April/2020:

The current plugin uses GStreamer 1.16.2:

https://gstreamer.freedesktop.org/data/pkg/windows/1.16.2/

If you had run time issues of missing libraries, make sure to install 1.16.2, and add the bin folder to the PATH environment.

Updated 11/April/2017:

Currently designed to run under Unity 64bit version - Windows The current integration implements a GStreamer H264 UDP receiver texture inside Unity.

To compile the plugin:

1- Download and install (Complete, preferebly to C:) gstreamer 1.0 runtimes 64bit (tested on 1.11.x - x86_64)

http://gstreamer.freedesktop.org/data/pkg/windows/

2- Install Visual studio runtimes x64 version:

VS 2010: https://www.microsoft.com/en-US/Download/confirmation.aspx?id=14632 VS 2013: https://www.microsoft.com/en-us/download/details.aspx?id=40784

3- [Important] Add gstreamer binary folder path to System Environment Variables:

Computer -> System properties -> Advanced System Settings -> Advanced Tab -> Environment Variables... -> System Variables -> Variable: Path -> Edit -> New -> C:\gstreamer\1.0\x86_64\bin

New Variable: GST_SDK_PATH= C:\gstreamer\1.0\x86_64\

GStreamer path should be similar to this (depending on installation directory): C:\gstreamer\1.0\x86_64\bin

4- [Optional] Compile using Visual studio 2013 and put the result dll into Plugins/x86_64 Unity folder (or use the already compiled dll in the Plugins/x86_64 folder)

5- Open test scenes and check the info text