Dynamic binding nvcompositor

Hi all ! I have a little problem with the nvcompositor element and Gstreamer. If I try to dynamically add video to it, after the pipeline has been launched nothing happens. I have no errors either. The only way I have found is to do my final assembly and then run my pipeline. But that’s not what I want. I want to dynamically add a source to the nvcompositor while the pipeline is running without having to destroy my pipeline and recreate it. My approach works with the videomixer element. So I went on the principle that it works the same with nvcompositor. But it seems that is not the case. Is there one more subtlety compared to the videomixer ?

Hi rmvs,

May I know which Jetson platform you’re using and your JetPack version?

We don’t support adding/removing source dynamically in nvcompositor plugin. You would need to include all sources initialization to have a working pipeline.