ERROR from src_bin_muxer: Output width not set

I am using Jetson nano with deepstream 5.0 .
I am trying to run on of the samples and i got the following error :
** ERROR: main:655: Failed to set pipeline to PAUSED
Quitting
ERROR from src_bin_muxer: Output width not set
Debug info: /dvs/git/dirty/git-master_linux/deepstream/sdk/src/gst-plugins/gst-nvmultistream/gstnvstreammux.c(2283): gst_nvstreammux_change_state (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstNvStreamMux:src_bin_muxer
App run failed

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Did you set streammux property width and height?

Hi, I have the same issue, I am trying to run on DGX-A100, using /opt/nvidia/deepstream/deepstream-5.0/samples/configs/tlt_pretrained_models# deepstream-app -c config_infer_primary_peoplenet.txt.

I already changed in the config file:
[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=3
num-sources=1
uri=rtsp://… (rstp that I pretend to analyze)

[streammux]
gpu-id=0
batch-size=1
batched-push-timeout=40000

Set muxer output width and height

width=2560
height=1440

Enabling the following sink:
[sink1]
enable=1
type=3
#1=mp4 2=mkv
container=1
#1=h264 2=h265 3=mpeg4
codec=1
#encoder type 0=Hardware 1=Software
enc-type=1
sync=0
bitrate=2000000
#H264 Profile - 0=Baseline 2=Main 4=High
#H265 Profile - 0=Main 1=Main10
profile=0
output-file=/machalen/test-rtspout.mp4
source-id=0

Ps: I also changed source0 to type 4.

I used same config as you, i do not have this issue, on T4, can you run other sample?

I created the docker again and it worked… tks