Deepstream app mp4 decode error

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
xavier nx
• DeepStream Version
5.0
• JetPack Version (valid for Jetson only)
jetpack 4.4
• TensorRT Version
7.something

i have tried both the deepstream-test1 from python samples and and a config from retinanet-examples
here

i tried an mp4 video and the same video converted to h264 using mpeg:
ffmpeg -i output.mp4 -an -vcodec libx264 -crf 23 outfile.h264

in both cases i get the following video decode errors

python app deepstream_test_1.py video_path.mp4
Using winsys: x11
Opening in BLOCKING MODE
Error: gst-stream-error-quark: Error parsing H.264 stream (11): gsth264parse.c(1193): gst_h264_parse_handle_frame (): /GstPipeline:pipeline0/GstH264Parse:h264-parser:
No H.264 NAL unit found

deepstream-app -c cfg
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
NVMEDIA: NVMEDIABufferProcessing: 1504: NvMediaParserParse Unsupported Codec
[NvMediaParserParse:357] Video parser parse failed: 0**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)
**PERF: 0.00 (0.00)

i installed the NVIDIA V4L2 GStreamer plugin from the getting started page and i am quite sure it is correct

i have no clue if my video is the cause of the error or some setting/installation issue, is there a easy way to check whether my video has right encoding?

thanks in advance

Hi,
You can test your video with gst-launch:

GST_DEBUG=2 gst-launch-1.0 uridecodebin3 uri=file:///home/nvidia/video.mp4 ! queue ! nvoverlaysink sync=false

thanks! my mp4 file was not working because of codec reasons