Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
T4
• DeepStream Version
5.0
• JetPack Version (valid for Jetson only)
NA
• TensorRT Version
7.0.0.11
• NVIDIA GPU Driver Version (valid for GPU only)
440.64.00
• Issue Type( questions, new requirements, bugs)
I am trying to add appsink into deepstream_test_3.py.
def new_buffer(sink, data):
print('new_buffer')
sample = sink.emit('pull-sample')
return Gst.FlowReturn.OK
....
def main(args):
...
sink = Gst.ElementFactory.make("appsink", "appsink0")
sink.set_property('emit-signals', True)
sink.set_property('sync', False)
sink.set_property('drop', True)
sink.connect("new-sample", new_buffer)
I am running this as
python3 deepstream_test_3.py file:///opt/nvidia/deepstream/deepstream-5.0/sources/deepstream_python_apps/apps/deepstream-test3/test.h264
But after processing and printing the inference output for the first 10 frames, the pipeline hangs forever. Am I missing some flag setting for the appsink?