ERROR from element h264-parser: Failed to parse stream
Error details: gstbaseparse.c(2954): gst_base_parse_check_sync (): /GstPipeline:deepstream-tensorrt-openpose-pipeline/GstH264Parse:h264-parser
ERROR from element h264-parser: Internal data stream error.
Error details: gstbaseparse.c(3611): gst_base_parse_loop (): /GstPipeline:dstest1-pipeline/GstH264Parse:h264-parser:
There is README file in /opt/nvidia/deepstream/deepstream-5.0/sources/apps/sample-apps/deepstream-test1/, it has mentioned the command line should be " $ ./deepstream-test1-app <h264_elementary_stream>", it only supports raw H264 video stream too.
Please read the README file for every deepstream sample app.
DeepStream is a SDK. Some deepstream apps can parse mp4 to h264 raw data but some are not, it depends on the implementation in application but not deepstream.
All sample apps are just samples, you can develop the function you want based on the sample or just refer to the sample.
deepstream-app sample can support mp4 sources and rtsp sources. You can refer to this sample.