Running video encoder with renderer disabled


Actually I have a legacy code which has video encoder and renderer enabled.
But my requirement is to run video encoder with disabled renderer.

I think, the presence of below mentioned lines in my code enables renderer.

EGLDisplayHolder           g_display;

    g_object_set(G_OBJECT(videoSource), "display", g_display.get(), NULL);
    g_object_set(G_OBJECT(videoSource), "eglstream", eglStream, NULL);

    Window &window = Window::getInstance();

I also referred sample code “gstVideoEncode” given in argus examples.
But it has also renderer enabled.
Please look at the argus sample code “tegra_multimedia_api/argus/samples/gstVideoEncode/main.cpp”.

Is there a way to avoid using g_display and disable renderer ?

Thanks in advance.

Hi shivkumar4680

Let’s continue the discussion at previous one -