Gstreamer : NVcompositor Segmentation Fault
08:02 21 May 2026

currently i am working on a Gstreamer pipeline which consist of two branches

  • branch 1 (video Branch) : filesrc -> decodebin -> nvvideoconvert -> capsfilter ->queue - > compositor_pad_1

  • branch 2(overlay Branch): videotestsrc (for black strip for burnt video overlay ) -> capsfilter -> videoconvert (CPU) -> cairooverlay -> NVvideoconvert -> queue - > compositor_pad _2
    These two branches are connected to the main processing branch via NVcompositor (The overlay branch is stiched below the video from the video branch)

  • main processing branch :

    Nvcompositor -> NVVideoConvertor(a callback function is caled to save some frames) -> capsfilter -> NVVideoConvert (to convert to NV12 format) -> capsfilter -> NVVideoEncoder -> Queue- > H264Parser -> Mp4Mux -> filesink

Device : Nvidia Jetson Orin NX SOM 16GB ram
this pipeline is initialized and constructed once

In a loop , I am playing this pipeline by changing its state and filelocation to thye filesrc and filesink

It performs well in the iteration 1 and but in the second and consecutive iteration SIGSEG from vic:src
i don't what the root cause of this problem and i am stuck this over a month
Guys help me to debug this probelm enter image description hereThis is my pipeline while playing ..
enter image description here This is my pipeline while ready before receiving the segmentation fault .

Help me to debug it guys

c++ gstreamer nvidia-jetson