gstreamer alpha / chroma keying, v4l2loopback virtual webcam best practice?

Daniel Pocock daniel at pocock.pro
Thu Apr 30 19:59:20 UTC 2020


Hi all,

I was looking around for examples of how to chroma key a live stream
from a webcam and make it available as a virtual webcam for other
applications.

None of the examples were quite what I was looking for, so I decided to
make a new one and share it

https://gitlab.com/freertc/gstreamer-chroma-key

If anybody has any suggestions to improve it that would be very welcome.

While doing this, I also found that both Firefox and Chrome have
different issues with v4l2loopback virtual webcams right now:

Firefox, it doesn't work in Zoom or Jitsi Meet but it does work for some
other sites based on JsSIP / JSCommunicator:
https://bugzilla.mozilla.org/show_bug.cgi?id=1622628#c4

Chromium / Chrome, not working at all right now, needs a tweak in
Chromium or in the way the module works:
https://bugs.chromium.org/p/chromium/issues/detail?id=757399

Multiple bug reports for the same issues have also been opened in the
v4l2loopback issue tracker, e.g.
https://github.com/umlaeute/v4l2loopback/issues/78
https://github.com/umlaeute/v4l2loopback/issues/40
https://github.com/umlaeute/v4l2loopback/issues/183

but it appears that there have been different reasons why it failed at
different points in the history of the module and the kernel.

Regards,

Daniel


More information about the gstreamer-devel mailing list