LoadGStreamerLibraries Procedure

<< Click to display table of contents >>

LoadGStreamerLibraries Procedure

[Re]Loads GStreamer libraries from the specified Path.

Unit [VCL and LCL] MRVGStreamer;

Unit [FMX] fmxMRVGStreamer;

Syntax

procedure LoadGStreamerLibraries(const Path: string);

You can use this procedure for loading (or reloading) GStreamer libraries located in a specific directory.

By default (or when Path is empty), GStreamer libraries are loaded from the default location.

In Windows, this location is stored by the GStreamer installer in system environment variables:

GSTREAMER_1_0_ROOT_X86_64: GStreamer 1.0 for Win64

GSTREAMER_SDK_ROOT_X86_64: GStreamer 0.1 for Win64

GSTREAMER_1_0_ROOT_X86: GStreamer 1.0 for Win32

GSTREAMER_SDK_ROOT_X86: GStreamer 0.1 for Win32

If the both versions of GStreamer are available, GStreamer 1.0 is loaded.

You can specify Path to load GStreamer libraries from the specified location. Path may be a root GStreamer folder or its "bin" subfolder. Ending "\" is optional.