Streaming stopped, reason not-negotiated (-4)

Please refer to the FAQ to check the format of your camera How to connect a USB camera in DeepStream. There are some special formats that you may need to modify the source code:deepstream_source_bin.c.

static gboolean
create_camera_source_bin (NvDsSourceConfig * config, NvDsSrcBin * bin)
{
...
...
}