Skip to content

GStreamer Integration with Unity using a Native plugin

License

Notifications You must be signed in to change notification settings

lk-westray/mrayGStreamerUnity

 
 

Repository files navigation

mrayGStreamerUnity

GStreamer Integration with Unity using a Native plugin

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

About

GStreamer Integration with Unity using a Native plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 79.5%
  • C++ 15.3%
  • C# 3.7%
  • Objective-C 0.5%
  • Java 0.5%
  • Makefile 0.2%
  • Other 0.3%