The warning on deserializeEngine is normal as there is no engine yet, but are there only 30 frames in your mp4 file? You can use the stream files in /opt/nvidia/deepstream/deepstream-6.1/samples/streams to retest, which has a duration around 50s and more frames and more objects should be detected.