.MP4 or .H264 is not supporting in deepstream nvanalytics module

Hi, I am suing Deepstream 5.1. I am trying to run deepstream_nvdsanalytics.py for a video file which is in .MP4 format but it showed error. Then I converted from >MP4 to .H264 format and again run it. same error I got. below is the error.
**Error: gst-resource-error-quark: Invalid URI “dir.h264”. (3): gsturidecodebin.c(1384): gen_source_element (): /GstPipeline:pipeline0/GstBin:source-bin-00/GstURIDecodeBin:uri-decode-bin
Exiting app
When I tried to run the same .py file for a rtsp it was working fine.
P.S- I have run the same .py file for .MP4 format may be 5-6 months ago with no issues. But now I facing the above error. Could you please help me here.

Hi @shaw.hari. Welcome to the forums. This forum is for NVIDIA Omniverse questions.