When video save using sink(). WhY ERROR AS "**PERF: {'stream0': 0.92} **PERF: {'stream0': 0.0} **PERF: {'stream0': 0.0} **PERF: {'stream0': 0.0} "

When video save using sink(). WhY ERROR AS "**PERF: {‘stream0’: 0.92} **PERF: {‘stream0’: 0.0} **PERF: {‘stream0’: 0.0} **PERF: {‘stream0’: 0.0} "

THE VIDEO IS SAVED IN FOLDER BUT AT END FACING ISSUE
CAN YOU PLEASE REPLY.

Are you using deepstream-app to run a config file? Seems you enabled enable-perf-measurement in your config, you can set it to 0 to disable the PERF measurement output.

We are refer this from link: deepstream_python_apps/apps/deepstream-imagedata-multistream at master · NVIDIA-AI-IOT/deepstream_python_apps · GitHub

The issue start from saving the output. In streaming output video is correct.


    video_encoder = Gst.ElementFactory.make("nvv4l2h264enc", "video-encoder")
    video_sink = Gst.ElementFactory.make("filesink", "video-sink")

    # Set properties for video sink
    video_sink.set_property("location", os.path.join(folder_name, "output_video.mp4"))

Please refer to the FAQ to save the file with python.

We tried that one, But it only works with H264 file. When we try to change the input file format to mp4 it does not work.

If you want to save the file to mp4, you should add the qtmux plugin.

...nvv4l2h264enc ! h264parse ! qtmux ! filesink location=test.mp4

We want to use mp4 file as input instead of H264 file

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

You can refer to my previous reply in detail. If you don’t know how to use that plugin, you can refer to our demo code: deepstream_ssd_parser.py.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.