This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7: Does gstreamer tiovxmultiscaler support dynamic pad addition and linking?

Part Number: AM62A7

Tool/software:

SDK VER: 10_00_00_08

Our project requires initializing a gstreamer pipeline for preview output first, and then dynamically adding other branches (e.g. AI processing) after the video starts flowing. We'd like to confirm whether tiovxmultiscaler supports dynamically adding src pads after pipeline startup.

  • Hi Jason,

    Let me check internally and get back to you asap.

    Regards,

    Jianzhong

  • Hi Jason,

    Sorry for my delayed response. I've checked with the development team about this. Dynamically adding src pads after pipeline startup is NOT supported for tiovxmultiscaler. 

    Regards,

    Jianzhong

  • Hi Jason,

    Instead of dynamically adding branches to the pipeline, you could think about using the valve element, halting the flow and reconfiguring the pipeline behind the valve.
    This allows you to keep the parts of your pipeline that are static running.

    I use several tee elements, with different multiscaler paths configured at startup, ending in a fakesink for the parts I am not currently using. When I need a particular part, I turn off the valve to that part of the pipeline, remove the fakesink and replace it with whatever I need at that point.

    Regards,

    Bas Vermeulen