Building custom plugin in Windows

priyanka kataria priyanka.kataria86 at gmail.com
Fri May 17 02:11:59 UTC 2019


Hi,

I have generated the plugin through gst-template, hence the filenames are
correct.

While generating the dll, I put the name of dll in the following way:
If the plugin name is “custplugin” and the file names are “gstcustplugin.c”
and “gstcustplugin.h”, then the dll name is “custplugin.dll”.

But still the plugin is not found.

Guess cerbero is the last thing I can try.

Have you guys tried using it for custom plugin build? In case yes, please
share the steps.

Thanks,
Priyanka Kataria

On Thu, 16 May 2019 at 7:02 PM, Nicolas Dufresne <nicolas at ndufresne.ca>
wrote:

>
>
> Le jeu. 16 mai 2019 09 h 25, priyanka kataria <
> priyanka.kataria86 at gmail.com> a écrit :
>
>> Hi Ray,
>>
>> Thank you for the quick reply.
>>
>> But this doesn’t resolve my issue, I am still getting the same error.
>>
>> I also checked the dump of my dll and the names were not mangled.
>>
>> Shall I try using cerbero for this?
>>
>
> Then make sure that the name of the DLL matches the plugin name. GStreamer
> uses dynamic plugin entry point which are deduced from file names.
>
>
>> Thanks,
>> Priyanka Kataria
>>
>> On Thu, 16 May 2019 at 5:41 PM, Ray Tiley <raytiley at gmail.com> wrote:
>>
>>>
>>>
>>> On Thu, May 16, 2019 at 5:20 AM priyanka kataria <
>>> priyanka.kataria86 at gmail.com> wrote:
>>>
>>>> Hello,
>>>>>
>>>>> I have built a custom plugin using “Constructing the boilerplate“
>>>>> instructions.
>>>>>
>>>>> The plugin builds and works successfully in Linux environment.
>>>>>
>>>>> Then, I take the C source and header file to Windows and try to build
>>>>> using Visual Studio 2015 which has been setup as per the steps in
>>>>> “Installing on Windows” gstreamer tutorial.
>>>>>
>>>>> The build completes but the plugin cannot be found whatever path I set.
>>>>> Finally, I have copied the “custom.dll” in <gstreamer-1.0>\lib
>>>>> directory. Then, I noticed that   “libcustom.lib” which should be placed
>>>>> under <gstreamer-1.0>\lib\gstreamer-1.0 directory, is not created in Visual
>>>>> Studio build.
>>>>>
>>>>> Is this the cause of plugin not being found?
>>>>>
>>>>> Please share the steps if anybody has built a custom plugin in Windows.
>>>>>
>>>>
>>> You could be running into this issue I reported yesterday:
>>> https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/401
>>>
>>>
>>>>
>>>>> Regards,
>>>>> Priyanka Kataria
>>>>>
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> gstreamer-devel at lists.freedesktop.org
>>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190517/685576ca/attachment-0001.html>


More information about the gstreamer-devel mailing list