With file sink , the deepstream app gets stuck after processing few frames

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) NVIDIA A100-SXM
• DeepStream Version 6.0
• TensorRT Version 8.0.1
• NVIDIA GPU Driver Version (valid for GPU only) 470.57.02
• Issue Type( questions, new requirements, bugs) questions

I am using deepstream:6.0-triton container. I replaced EGLSink with filesink . The app gets stuck after processing few frames. With fake sink it works fine. I tried filesink with deepstream-test3 and deepstream-test1. Its not working in both sample app.

 sink = Gst.ElementFactory.make("filesink","nvvideo-renderer")
 if not sink:
    sys.stderr.write("Unable to create filesink \n")
sink.set_property("location", "out.mp4")
sink.set_property("sync", 1)
sink.set_property("async", 0)

Creating Pipeline

Creating streamux

No of sources: range(0, 1)
Creating source_bin 0

Adding: file:///opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_720p.mp4
Creating source bin
Creating Pgie

Creating tiler

Creating nvvidconv

Creating nvosd

Creating File Sink
WARNING: Overriding infer-config batch-size 0 with number of sources 1

Adding elements to Pipeline

Linking elements in the Pipeline

Now playing…
1 : file:///opt/nvidia/deepstream/deepstream-6.0/samples/streams/sample_720p.mp4
Starting pipeline

0:00:00.236534037 24139 0x1f2fef0 WARN nvinferserver gstnvinferserver_impl.cpp:284:validatePluginConfig: warning: Configuration file batch-size reset to: 1
WARNING: infer_proto_utils.cpp:145 auto-update preprocess.network_format to IMAGE_FORMAT_RGB
INFO: infer_grpc_backend.cpp:164 TritonGrpcBackend id:1 initialized for model: Primary_Detector
Decodebin child added: source

Decodebin child added: decodebin0

Warning: gst-library-error-quark: Configuration file batch-size reset to: 1 (5): gstnvinferserver_impl.cpp(284): validatePluginConfig (): /GstPipeline:pipeline0/GstNvInferServer:primary-inference
Decodebin child added: qtdemux0

Decodebin child added: multiqueue0

Decodebin child added: h264parse0

Decodebin child added: capsfilter0

Decodebin child added: aacparse0

Decodebin child added: avdec_aac0

Decodebin child added: nvv4l2decoder0

In cb_newpad

gstname= video/x-raw
features= <Gst.CapsFeatures object at 0x7f4d954ef340 (GstCapsFeatures at 0x7f4cd803aa20)>
In cb_newpad

gstname= audio/x-raw
Source ID = 0 Frame Number= 0
Source ID = 0 Frame Number= 1
Source ID = 0 Frame Number= 2
Source ID = 0 Frame Number= 3
Source ID = 0 Frame Number= 4
Source ID = 0 Frame Number= 5
Source ID = 0 Frame Number= 6
Source ID = 0 Frame Number= 7
Source ID = 0 Frame Number= 8
Source ID = 0 Frame Number= 9
Source ID = 0 Frame Number= 10

Sorry for the late response, is this still an issue to support? Thanks

It duplicate the topic The output video with file sink is not saved properly in deepstream-test2 - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums

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