How can I reuse directshow components in Gstreamer (windows)

I am developing a new multimedia application for digital cinema. Checking the settings of the multimedia frames, I am very impressed with GStreamer and would like to use it.

BUT, we have already developed some directshow filters that we are not going to throw away or refactor yet. Directshow filters include in-house development (with source code), and are also purchased (without source code).

Question: How can I reuse these components, although I am switching from Directshow to Gstreamer? Ideas and pointers will be greatly appreciated.

+4
source share
2 answers

You can create your own plugin for GStreamer, which transfers control to your custom filters. Here is a guide .

+1
source

IMO, and I'm ready for a fix that makes no sense. The DirectShow filter was designed to fit into the DirectShow structure (interfaces are developed for this), gstreamer is a multimedia infrastructure with its own set of interfaces and requirements, etc. Even if you can wrap the filters in the gstreamer custom plugin, you will need to implement everything that the DS infrastructure provides, which sounds very complicated and most likely will work more than just refactoring your DS filter in the first place. Another option for creating a DS chart inside the plugin is also not like a good idea.

+1
source

Source: https://habr.com/ru/post/1345996/


All Articles