Closed Raj123456788 closed 4 years ago
Please see the implementation of neural-greenscreen/Interface/Virtual Camera/Stream.swift (Especially Lines 230+) for the relevant code on how to pipe image data (from Swift or C++, as you wish) into the pixelbuffer. Please look at https://github.com/seanchas116/SimpleDALPlugin for another example. If you have any further questions which are actually related to this project, hit me up again.
Thanks. The plugin does not show up in quicktime player once added to the DAL folder.
Try quitting the QuickTime Player with Cmd+Q and restarting it. Then it should show up.
I have tried that still no luck. I have also looked into https://github.com/seanchas116/SimpleDALPlugin. There is no application that I can see how to send the buffer dataptr to the plugin. Running catlina 10.15.4
From the repo directory, run ./create-root-cert.sh and enter desired credentials for your signing certificate. Ran this command but it does not generate the rootCA.pem I can only see rootCA.key
what changes I need to make the app in order to make it work with https://github.com/seanchas116/SimpleDALPlugin ? Atleast I can get started with that.
got rootCA.pem working
This seems to be a trial and error issue. To clarify this in advance: This repository is a fork of SimpleDALPlugin and may overlap with the functionalities and addresses used to create the plugin, which is why you probably only see one plugin and not both. It extends the basic functionalities of the example DAL plugin by image segmentation based background replacement. This is done by periodically fetching data from a node js app (after transferring the current camera image). For that to work one potentially needs an ssl certificate to communicate with the node js application (encrypted). That's what the ssl key generation is for.
To be fair, it took me a while to dig into the CoreMediaIO framework as well, because it is very complex. But I cannot tell you exactly which steps you need to take to achieve your goal, these steps you need to take yourself. For that, read the documentation carefully, maybe reach out for help on third party platforms such as stackoverflow, or look at the example code to catch the idea.
To be clear: I unfortunately cannot give you a detailed tutorial on how CoreMediaIO DAL works, that's on your part.
you were right I removed simple DAL and your plugin appeared. But the background does not show up after yarn start since I have not trusted the cert as I cannot find it :) can you please help me locating it so that I get it working?
got it working thanks!
Can you send me some CoreMediaIO DAL documentation/links if possible?
@PhilippMatthes Hi Philipp, I am trying to eliminate the video camera and just show the image. Tried commenting the video capture but that did not help. Any suggestions?
I locked this conversation since it is no longer related to the original issue. Please file another separate issue if there is anything more. Thanks!
As a final hint, try to understand where the separate pixelbuffers are combined into one. Then start from there and select only one of the pixelbuffers.
trying to get an answer for this over a week now. Any guidance is appreciated.