teltek / gst-plugin-ndi

GStreamer NDI Plugin for Linux
GNU Lesser General Public License v2.1
154 stars 27 forks source link

Must be used in the debug directory on windows #90

Open riccardocagnasso opened 2 years ago

riccardocagnasso commented 2 years ago

It seems I cannot use any of the plugins, on windows, if my current working directory is not the build directory

ricca@DESKTOP-779K9RT MINGW64 ~/stuff/gst-plugin-ndi/target/debug
$ export GST_PLUGIN_PATH=/home/ricca/stuff/gst-plugin-ndi/target/debug
(nav)
ricca@DESKTOP-779K9RT MINGW64 ~/stuff/gst-plugin-ndi/target/debug
$ gst-inspect-1.0.exe ndisink

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.082: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.DirectShow.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.DirectShow.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.095: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x64.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x64.dll': The specified module could not be found.

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.104: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.125: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.152: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.DirectShow.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.DirectShow.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.164: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x64.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x64.dll': The specified module could not be found.

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.176: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.197: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.230: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.DirectShow.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.DirectShow.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.245: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x64.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x64.dll': The specified module could not be found.

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.255: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:14828): GStreamer-WARNING **: 14:56:05.270: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.x86.dll': %1 is not a valid Win32 application.
Factory Details:
  Rank                     none (0)
  Long-name                NDI Sink
  Klass                    Sink/Audio/Video
  Description              Render as an NDI stream
  Author                   Sebastian DrA¶ge <sebastian@centricular.com>

Plugin Details:
  Name                     ndi
  Description              NewTek NDI Plugin
  Filename                 C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\gstndi.dll
  Version                  1.0.0-c05f2bc+
  License                  LGPL
  Source module            gst-plugin-ndi
  Source release date      2021-11-12
  Binary package           gst-plugin-ndi
  Origin URL               https://github.com/teltek/gst-plugin-ndi

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseSink
                         +----NdiSink

Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      video/x-raw
                 format: { (string)UYVY, (string)I420, (string)NV12, (string)NV21, (string)YV12, (string)BGRA, (string)BGRx, (string)RGBA, (string)RGBx }
                  width: [ 1, 2147483647 ]
                 height: [ 1, 2147483647 ]
              framerate: [ 0/1, 2147483647/1 ]
      audio/x-raw
                 format: F32LE
                   rate: [ 1, 2147483647 ]
               channels: [ 1, 2147483647 ]
                 layout: interleaved

Element has no clocking capabilities.
Element has no URI handling capabilities.

Pads:
  SINK: 'sink'
    Pad Template: 'sink'

Element Properties:
  async               : Go asynchronously to PAUSED
                        flags: readable, writable
                        Boolean. Default: true
  blocksize           : Size in bytes to pull per buffer (0 = default)
                        flags: readable, writable
                        Unsigned Integer. Range: 0 - 4294967295 Default: 4096
  enable-last-sample  : Enable the last-sample property
                        flags: readable, writable
                        Boolean. Default: true
  last-sample         : The last sample received in the sink
                        flags: readable
                        Boxed pointer of type "GstSample"
  max-bitrate         : The maximum bits per second to render (0 = disabled)
                        flags: readable, writable
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0
  max-lateness        : Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)
                        flags: readable, writable
                        Integer64. Range: -1 - 9223372036854775807 Default: -1
  name                : The name of the object
                        flags: readable, writable, 0x2000
                        String. Default: "ndisink0"
  ndi-name            : NDI Name to use
                        flags: readable, writable
                        String. Default: "GStreamer NDI Sink 1.0.0-c05f2bc+"
  parent              : The parent of the object
                        flags: readable, writable, 0x2000
                        Object of type "GstObject"
  processing-deadline : Maximum processing time for a buffer in nanoseconds
                        flags: readable, writable
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 20000000
  qos                 : Generate Quality-of-Service events upstream
                        flags: readable, writable
                        Boolean. Default: false
  render-delay        : Additional render delay of the sink in nanoseconds
                        flags: readable, writable
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0
  stats               : Sink Statistics
                        flags: readable
                        Boxed pointer of type "GstStructure"
                                                        average-rate: 0
                                                             dropped: 0
                                                            rendered: 0

  sync                : Sync on the clock
                        flags: readable, writable
                        Boolean. Default: true
  throttle-time       : The time to keep between rendered buffers (0 = disabled)
                        flags: readable, writable
                        Unsigned Integer64. Range: 0 - 18446744073709551615 Default: 0
  ts-offset           : Timestamp offset in nanoseconds
                        flags: readable, writable
                        Integer64. Range: -9223372036854775808 - 9223372036854775807 Default: 0
(nav)
ricca@DESKTOP-779K9RT MINGW64 ~/stuff/gst-plugin-ndi/target/debug
$ cd
(nav)
ricca@DESKTOP-779K9RT MINGW64 ~
$ gst-inspect-1.0.exe ndisink

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.249: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.DirectShow.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.DirectShow.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.261: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x64.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x64.dll': The specified module could not be found.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.271: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.295: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.322: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.DirectShow.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.DirectShow.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.334: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x64.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x64.dll': The specified module could not be found.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.344: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.359: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.392: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.DirectShow.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.DirectShow.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.409: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x64.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x64.dll': The specified module could not be found.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.424: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.442: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:6796): GStreamer-WARNING **: 14:56:10.472: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\gstndi.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\gstndi.dll': The specified module could not be found.
element plugin couldn't be loaded
No such element or plugin 'ndisink'
(nav)
ricca@DESKTOP-779K9RT MINGW64 ~
$ gst-inspect-1.0.exe ndi

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.264: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.DirectShow.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.DirectShow.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.275: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x64.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x64.dll': The specified module could not be found.

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.287: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.UWP.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.305: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\build\Processing.NDI.Lib.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.334: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.DirectShow.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.DirectShow.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.347: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x64.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x64.dll': The specified module could not be found.

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.359: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.UWP.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.388: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\Processing.NDI.Lib.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.427: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.DirectShow.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.DirectShow.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.438: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x64.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x64.dll': The specified module could not be found.

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.448: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.UWP.x86.dll': %1 is not a valid Win32 application.

(gst-inspect-1.0:13488): GStreamer-WARNING **: 14:56:15.465: Failed to load plugin 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.x86.dll': 'C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\Processing.NDI.Lib.x86.dll': %1 is not a valid Win32 application.
Plugin Details:
  Name                     ndi
  Description              NewTek NDI Plugin
  Filename                 C:/msys64/home/ricca/stuff/gst-plugin-ndi/target/debug\deps\gstndi.dll
  Version                  1.0.0-c05f2bc+
  License                  LGPL
  Source module            gst-plugin-ndi
  Source release date      2021-11-12
  Binary package           gst-plugin-ndi
  Origin URL               https://github.com/teltek/gst-plugin-ndi

  ndisink: NDI Sink
  ndisinkcombiner: NDI Sink Combiner
  ndisrcdemux: NewTek NDI Source Demuxer
  ndisrc: NewTek NDI Source
  ndideviceprovider: NewTek NDI Device Provider

  5 features:
  +-- 4 elements
  +-- 1 device providers

(nav)
ricca@DESKTOP-779K9RT MINGW64 ~