ERROR from src_bin_muxer: Output width not set

Hi,

I’m working on the Jetson Nano with Jetpack 4.5 installed. I followed the instructions to install and run deepstream.
When I try: “deepstream-app -c /opt/nvidia/deepstream/deepstream-5.1/samples/configs/deepstream-app/config_infer_primary.txt”
I get 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(2512): gst_nvstreammux_change_state (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstNvStreamMux:src_bin_muxer
App run failed

Help will be much appreciated.

config_infer_primary.txt is not deepstream-app config file. Please refer to Sample Configurations and Streams — DeepStream 5.1 Release documentation, the Configuration files for the reference application part.