<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 20, 2017 at 2:06 PM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Le samedi 18 novembre 2017 à 13:52 -0700, HermannSW a écrit :<br>> Is there is a plugin for allowing black+white(threshold) conversion, or do I<br>
> need to code a new plugin for that?<br>
<br>
</span>There is frei0r-filter-threshold0r that can do that, but the element<br>
only inputs RGBA, which forces double color conversion. It's a bit<br>
inconvenient. I wonder if it's a Frei0r limitation, or GStreamer here.<br></blockquote><div><br></div><div>It's a frei0r limitation. A while back I made a MATLAB script which would turn a MATLAB M-file into a frei0r plugin to be used in GStreamer, and found there was no GRAY8 or GRAY16_*. It's a simple #define that's needed to add additional color models, though frei0r.h hasn't been touched since 2012. </div></div></div></div>