Nvstreammux receives a random EOS

Please provide complete information as applicable to your setup.

**• Hardware Platform NVIDIA Corporation GA102GL [RTX A6000] (rev a1)
**• DeepStream Version 6.2
**• TensorRT Version 8.6.1
**• NVIDIA GPU Driver Version (valid for GPU only) 525.116.04
• Issue Type( questions, new requirements, bugs)
**• How to reproduce the issue ?
The issue I am coming across is that when i try to run the following pipeline:

USE_NEW_NVSTREAMMUX=yes GST_DEBUG=:3,nvs:6 gst-launch-1.0 filesrc location=/opt/nvidia/deepstream/deepstream-6.2/samples/streams/sonyc_mixed_
audio.wav ! wavparse ! audioconvert ! audioresample ! “audio/x-raw, rate=(int)44100, format=F32LE” ! queue ! m.sink_0 nvstreammux name=m batch-size=1 ! queue ! fakesink sync=true

I get this as the output however the output is quite large so I have reduced to the last bit that might be of interest:

0:00:14.776395664 460499 0x5563e4198980 DEBUG nvstreammux :0:: [get_batch_size 316]get_batch_size inputs->size=1 num_sources_eos=0 num_surfaces_per_frame=1 config=1 adaptive_batching=1

0:00:14.776399912 460499 0x5563e4198980 DEBUG nvstreammux :0:: [update_with_source 375]update_with_source sid=0

0:00:14.776403980 460499 0x5563e4198980 DEBUG nvstreammux :0:: [get_available 113]number of buffers available in queue of pad (0) = 1

0:00:14.776408769 460499 0x5563e4198980 DEBUG nvstreammux :0:: [update_with_source 380]num_avail=1 sid=0

0:00:14.776414239 460499 0x5563e4198980 DEBUG nvstreammux :0:: [get_batch_size 316]get_batch_size inputs->size=1 num_sources_eos=0 num_surfaces_per_frame=1 config=1 adaptive_batching=1

0:00:14.776418738 460499 0x5563e4198980 DEBUG nvstreammux :0:: [update_with_source 387]allowed_repeats=1 allowed_repeats_source=1 bs=1

0:00:14.776422705 460499 0x5563e4198980 DEBUG nvstreammux :0:: [update_with_source 389]num_avail=1 sid=0

0:00:14.776427374 460499 0x5563e4198980 DEBUG nvstreammux :0:: [update_with_source 395]synch_buffer=(nil) num_to_insert=1

0:00:14.776432113 460499 0x5563e4198980 DEBUG nvstreammux :0:: [get_available 113]number of buffers available in queue of pad (0) = 1

0:00:14.776437213 460499 0x5563e4198980 DEBUG nvstreammux :0:: [update_with_source 404]update_with_source insert 1 acc_batch 1 source_id 0 available 1 max repeats 1

0:00:14.776442012 460499 0x5563e4198980 DEBUG nvstreammux :0:: [form_batch 482]form_batch 482

0:00:14.776447963 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_loop 315]wait_not_past_max=1 acc_batch=1

0:00:14.776451399 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_loop 340]DEBUGME

0:00:14.776455547 460499 0x5563e4198980 DEBUG nvstreammux :0:: [get_available 113]number of buffers available in queue of pad (0) = 1

0:00:14.776460426 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_events 103][push_events] available buffers=1 q.size=2 event_indices.size=1

0:00:14.776465576 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_events 71]sink=0 get_switched_to_idle()=1 queue.size()=2 get_eos()=1

0:00:14.776470746 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_events 78]push_events num_sources_idle=0 pads_got_eos_and_empty_in_q=0(1)

0:00:14.776475795 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_events 80]DEBUGME push_events 80 size=1 pads_got_eos_and_empty_in_q=0

0:00:14.776480715 460499 0x5563e4198980 DEBUG nvstreammux :0:: [update_idle_sources 339]update_idle_sources 339 idle_sources=0

0:00:14.776484141 460499 0x5563e4198980 DEBUG nvstreammux :0:: [copy_batch 133]DEBUGME

0:00:14.776487698 460499 0x5563e4198980 DEBUG nvstreammux :0:: [copy_batch 136]DEBUGME

0:00:14.776491836 460499 0x5563e4198980 DEBUG nvstreammux :0:: [copy_batch 149]DEBUGME; num_sources=1

0:00:14.776496154 460499 0x5563e4198980 DEBUG nvstreammux :0:: [copy_batch 157]DEBUGME

0:00:14.776501243 460499 0x5563e4198980 DEBUG nvstreammux :0:: [copy_batch 193]DEBUGME total_copied=1

0:00:14.776504920 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_loop 354]DEBUGME

0:00:14.776511132 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_loop 377]DEBUGME

0:00:14.776515731 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_events 84]pad[0] event_type=2

0:00:14.776538433 460499 0x5563e4198980 DEBUG nvstreammux :0:: [get_available 113]number of buffers available in queue of pad (0) = 0

0:00:14.776543222 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_events 103][push_events] available buffers=0 q.size=0 event_indices.size=0

0:00:14.776548102 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_events 49]push_events 49 num_sources_idle=1

0:00:14.776552811 460499 0x5563e4198980 DEBUG nvstreammux :0:: [update_eos_sources 345]update_eos_sources 345 eos_sources=1

0:00:14.776557109 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_events 55]frame_num_reset_on_eos=0

0:00:14.776562479 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_events 71]sink=0 get_switched_to_idle()=0 queue.size()=0 get_eos()=1

0:00:14.776567648 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_events 78]push_events num_sources_idle=1 pads_got_eos_and_empty_in_q=1(1)

0:00:14.776573159 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_events 80]DEBUGME push_events 80 size=1 pads_got_eos_and_empty_in_q=1

0:00:14.776577377 460499 0x5563e4198980 DEBUG nvstreammux :0:: [update_idle_sources 339]update_idle_sources 339 idle_sources=1

0:00:14.776581995 460499 0x5563e4198980 DEBUG nvstreammux :0:: [push_loop 388]push_loop 388

0:00:14.776585682 460499 0x5563e4198980 DEBUG nvstreammux gstnvstreammux.cpp:1455:gst_nvstreammux_src_push_loop: Sending EOS downstream [audiomux:1455]

0:00:14.776592886 460499 0x5563e4198980 DEBUG nvstreammux gstnvstreammux.cpp:1335:gst_nvstreammux_src_push_loop: No Sources found at the input of muxer [audiomux]
Got EOS from element “pipeline0”.
Execution ended after 0:00:14.744700745
Setting pipeline to NULL …
0:00:14.776721538 460499 0x5563e4196400 DEBUG nvstreammux :0:: [handle_stop 685]handle_stop

I am confused as to why there is an EOS being sent by the mux when the file is suppose to be 10 minutes long and i only get about 14 seconds of streaming.

Seems the nvstreammux changes the timestamp. We are investigating the issue. Will be back when there is any progress.

The bug is fixed in DeepStream 7.0.

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