could you narrow down this issue? you can dump the media pipeline by this method.
streammux requires setting width and height. for performance, you can set it to the decoder’s output resolution, which can be got from the media pipeline.
the DeepStream original sample run well. you can check if the CPU/GPU utilization is high. please simplify the code to check which new code causes the crash.