Hi Jason,
Thanks for your suggestion!
Yes, I am able to insert in the pipeline the “dsexample” element.
preprocessing = gst_element_factory_make ("dsexample", "pre-processing");
...
#ifdef PLATFORM_TEGRA
gst_bin_add_many (GST_BIN (pipeline), preprocessing, pgie, tiler, nvvidconv, nvosd, transform, sink,
NULL);
/* we link the elements together
* nvstreammux -> nvinfer -> nvtiler -> nvvidconv -> nvosd -> video-renderer */
if (!gst_element_link_many (streammux, preprocessing, pgie, tiler, nvvidconv, nvosd, transform, sink,
NULL)) {
g_printerr ("Elements could not be linked. Exiting.\n");
return -1;
}
#else
What I do not understand is how to customize the gst-dsexample element to perform a color filtering.
Would you be so kind to give me some suggestion on that?
Thank you very much again!