Hi! This pipeline hangs on one of my setups, but works fine on others. I wonder if it is a hardware or software issue and how to debug it.
When I run this simple pipeline:
GST_DEBUG=2,GST_STATES:4 gst-launch-1.0 -v videotestsrc ! nvvideoconvert ! 'video/x-raw(memory:NVMM)' ! nvstreammux0.sink_0 nvstreammux name=nvstreammux0 batch-size=1 width=1280 height=720 nvstreammux0.src ! fakesink
I see that nvstreammux
cannot transition to PAUSED
state and pipeline hangs forever:
0:00:00.128909165 23685 0x55cd86f2d0 INFO GST_STATES gstbin.c:2089:gst_bin_get_state_func:<pipeline0> getting state
0:00:00.129076854 23685 0x55cd86f2d0 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<capsfilter0> completed state change to NULL
Setting pipeline to PAUSED ...
0:00:00.130839481 23685 0x55cd86f2d0 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<fakesink0> current NULL pending VOID_PENDING, desired next READY
0:00:00.130884731 23685 0x55cd86f2d0 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<fakesink0> completed state change to READY
0:00:00.130974528 23685 0x55cd86f2d0 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<fakesink0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.131061989 23685 0x55cd86f2d0 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'fakesink0' changed state to 2(READY) successfully
0:00:00.131145322 23685 0x55cd86f2d0 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<nvstreammux0> current NULL pending VOID_PENDING, desired next READY
^C
Setup: