Internal Data stream error in deepstream-appsrc-test on jetson orin board

Jetson Orin Nano, Deepstram 6.4

I have a pipeline based on deepstream-appsrc-test.
appsrc -> jpegparse -> nvv4l2decoder -> nvstreammux -> pgie -> tracker -> sink

the pipeline exits with internal data stream error, reason not negotiate

when I run the pipeline gst debug, Im getting the following.

Opening in BLOCKING MODE 
0:00:00.234741302  6704 0xaaaacaa06600 INFO                    v4l2 v4l2_calls.c:679:gst_v4l2_open:<nvv4l2-decoder:sink> Opened device '' (/dev/v4l2-nvdec) successfully
0:00:00.234776823  6704 0xaaaacaa06600 INFO                    v4l2 v4l2_calls.c:780:gst_v4l2_dup:<nvv4l2-decoder:src> Cloned device '' (/dev/v4l2-nvdec) successfully
0:00:00.234813721  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1302:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink> got 14 format(s):
0:00:00.234828505  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   JPEG
0:00:00.234837817  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   MJPG
0:00:00.234845594  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   AV10
0:00:00.234853338  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   DVX5
0:00:00.234860506  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   DVX4
0:00:00.234868442  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   MPG4
0:00:00.234875514  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   MPG2
0:00:00.234882555  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   MPG1
0:00:00.234889659  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   VP90
0:00:00.234896763  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   VP80
0:00:00.234903771  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   H265
0:00:00.234910780  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   H264
0:00:00.234917724  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   VP8F
0:00:00.234924668  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:sink>   S264
0:00:00.235141635  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:4692:gst_v4l2_object_probe_caps:<nvv4l2-decoder:sink> probed caps: image/jpeg, width=(int)[ 48, 7680 ], height=(int)[ 48, 7680 ], parsed=(boolean)true; video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ], parsed=(boolean)true; video/x-h265, stream-format=(string)byte-stream, alignment=(string)au, width=(int)[ 180, 7680 ], height=(int)[ 180, 7680 ], parsed=(boolean)true; video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, parsed=(boolean)true, width=(int)[ 48, 1920 ], height=(int)[ 48, 1920 ]; video/mpeg, mpegversion=(int)2, systemstream=(boolean)false, parsed=(boolean)true, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ]; video/mpeg, mpegversion=(int)1, systemstream=(boolean)false, parsed=(boolean)true, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ]; video/x-divx, divxversion=(int)5, width=(int)[ 48, 1920 ], height=(int)[ 48, 1920 ], systemstream=(boolean)false; video/x-divx, divxversion=(int)4, width=(int)[ 48, 1920 ], height=(int)[ 48, 1920 ], systemstream=(boolean)false; video/x-av1, width=(int)[ 48, 7680 ], height=(int)[ 48, 7680 ]; video/x-vp8, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ]; video/x-vp9, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ]
0:00:00.235684979  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1302:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:src> got 5 format(s):
0:00:00.235704244  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:src>   YM12
0:00:00.235718292  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:src>   NM24
0:00:00.235727348  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:src>   NM12
0:00:00.235735861  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:src>   NV10
0:00:00.235743445  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:1306:gst_v4l2_object_fill_format_list:<nvv4l2-decoder:src>   YM16
0:00:00.235786934  6704 0xaaaacaa06600 WARN                    v4l2 gstv4l2object.c:4634:gst_v4l2_object_probe_caps:<nvv4l2-decoder:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:00.235863961  6704 0xaaaacaa06600 INFO                    v4l2 gstv4l2object.c:4692:gst_v4l2_object_probe_caps:<nvv4l2-decoder:src> probed caps: video/x-raw, format=(string)I420, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)NV24, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)NV12, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)Y42B, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
0:00:00.235884729  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<nvv4l2-decoder> completed state change to READY
0:00:00.235898010  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<nvv4l2-decoder> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.235930779  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<dstest-appsrc-pipeline> child 'nvv4l2-decoder' changed state to 2(READY) successfully
0:00:00.235955003  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<jpegparser> current NULL pending VOID_PENDING, desired next READY
0:00:00.235968252  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<jpegparser> completed state change to READY
0:00:00.235977148  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<jpegparser> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.235988572  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<dstest-appsrc-pipeline> child 'jpegparser' changed state to 2(READY) successfully
0:00:00.235999549  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<app-source> current NULL pending VOID_PENDING, desired next READY
0:00:00.236009245  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<app-source> completed state change to READY
0:00:00.236017277  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<app-source> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.236027550  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<dstest-appsrc-pipeline> child 'app-source' changed state to 2(READY) successfully
0:00:00.236045822  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2778:gst_element_continue_state:<dstest-appsrc-pipeline> committing state from NULL to READY, pending PLAYING, next PAUSED
0:00:00.236055166  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<dstest-appsrc-pipeline> notifying about state-changed NULL to READY (PLAYING pending)
0:00:00.236065887  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2786:gst_element_continue_state:<dstest-appsrc-pipeline> continue state change READY to PAUSED, final PLAYING
0:00:00.236097824  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<sink> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.236136161  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2935:gst_bin_change_state_func:<dstest-appsrc-pipeline> child 'sink' is changing state asynchronously to PAUSED
0:00:00.236149249  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<nvtracker> current READY pending VOID_PENDING, desired next PAUSED
gstnvtracker: Loading low-level lib at /opt/nvidia/deepstream/deepstream-6.4/lib/libnvds_nvmultiobjecttracker.so
[NvMultiObjectTracker] Initialized
0:00:00.263916976  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<nvtracker> completed state change to PAUSED
0:00:00.263950321  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<nvtracker> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.263991602  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<dstest-appsrc-pipeline> child 'nvtracker' changed state to 3(PAUSED) successfully
0:00:00.264021203  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<primary-nvinference-engine> current READY pending VOID_PENDING, desired next PAUSED
WARNING: [TRT]: Using an engine plan file across different models of devices is not recommended and is likely to affect performance or even cause errors.
0:00:06.444717759  6704 0xaaaacaa06600 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:2092> [UID = 1]: deserialized trt engine from :/home/orin/facet/TroisAI_FD/centerface/model_480x640.onnx_b1_gpu0_fp16.engine
WARNING: [TRT]: The getMaxBatchSize() function should not be used with an engine built from a network created with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag. This function will always return 1.
INFO: [Implicit Engine Info]: layers num: 5
0   INPUT  kFLOAT input.1         3x480x640       
1   OUTPUT kFLOAT 537             1x120x160       
2   OUTPUT kFLOAT 538             2x120x160       
3   OUTPUT kFLOAT 539             2x120x160       
4   OUTPUT kFLOAT 540             10x120x160      

0:00:06.836709579  6704 0xaaaacaa06600 INFO                 nvinfer gstnvinfer.cpp:682:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2195> [UID = 1]: Use deserialized engine model: /home/orin/facet/TroisAI_FD/centerface/model_480x640.onnx_b1_gpu0_fp16.engine
0:00:06.847632472  6704 0xaaaacaa06600 INFO                 nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary-nvinference-engine> [UID 1]: Load new model:centerface/config_centerface.txt sucessfully
0:00:06.847690714  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<primary-nvinference-engine> completed state change to PAUSED
0:00:06.847709050  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<primary-nvinference-engine> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:06.847743003  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<dstest-appsrc-pipeline> child 'primary-nvinference-engine' changed state to 3(PAUSED) successfully
0:00:06.847772092  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<stream-muxer> current READY pending VOID_PENDING, desired next PAUSED
0:00:06.847847166  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<stream-muxer> completed state change to PAUSED
0:00:06.847863199  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<stream-muxer> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:06.847880479  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<dstest-appsrc-pipeline> child 'stream-muxer' changed state to 3(PAUSED) successfully
0:00:06.847898752  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<nvv4l2-decoder> current READY pending VOID_PENDING, desired next PAUSED
0:00:06.847936193  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<nvv4l2-decoder> completed state change to PAUSED
0:00:06.847948641  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<nvv4l2-decoder> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:06.847962914  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<dstest-appsrc-pipeline> child 'nvv4l2-decoder' changed state to 3(PAUSED) successfully
0:00:06.847978402  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<jpegparser> current READY pending VOID_PENDING, desired next PAUSED
0:00:06.848147399  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<jpegparser> completed state change to PAUSED
0:00:06.848165288  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<jpegparser> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:06.848180264  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<dstest-appsrc-pipeline> child 'jpegparser' changed state to 3(PAUSED) successfully
0:00:06.848191273  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2479:gst_bin_element_set_state:<app-source> current READY pending VOID_PENDING, desired next PAUSED
0:00:06.848247946  6704 0xaaaacaa06600 INFO                 basesrc gstbasesrc.c:1430:gst_base_src_do_seek:<app-source> seeking: bytes segment start=0, offset=0, stop=-1, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0, base=0, position 0, duration -1
0:00:06.848282668  6704 0xaaaacaa06600 INFO                    task gsttask.c:516:gst_task_set_lock: setting stream lock 0xaaaacaca0190 on task 0xaaaacacab950
0:00:06.848297772  6704 0xaaaacaa06600 INFO                GST_PADS gstpad.c:6291:gst_pad_start_task:<app-source:src> created task 0xaaaacacab950
0:00:06.848414512  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2806:gst_element_continue_state:<app-source> completed state change to PAUSED
0:00:06.848433072  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2706:_priv_gst_element_state_changed:<app-source> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:06.848451985  6704 0xaaaacaa06600 INFO              GST_STATES gstbin.c:2928:gst_bin_change_state_func:<dstest-appsrc-pipeline> child 'app-source' changed state to 3(PAUSED) successfully
0:00:06.848470001  6704 0xaaaacaa06600 INFO                pipeline gstpipeline.c:533:gst_pipeline_change_state:<dstest-appsrc-pipeline> pipeline is not live
0:00:06.848488946  6704 0xaaaacac96060 INFO        GST_ELEMENT_PADS gstelement.c:1013:gst_element_get_static_pad: no such pad 'sink' in element "app-source"
Running...
0:00:06.848540691  6704 0xaaaacac96060 FIXME                default gstutils.c:4025:gst_pad_create_stream_id_internal:<app-source:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
2 ERROR from element sink: 
0:00:06.848561396  6704 0xaaaacaa06600 INFO              GST_STATES gstelement.c:2522:gst_element_get_state_func:<sink> waiting for element to commit state
0:00:07.210538444  6704 0xaaaacac96060 INFO               GST_EVENT gstevent.c:972:gst_event_new_segment: creating segment event bytes segment start=0, offset=0, stop=-1, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0, base=0, position 0, duration -1
0:00:07.210631663  6704 0xaaaacac96060 INFO               GST_EVENT gstevent.c:972:gst_event_new_segment: creating segment event time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:07.210663056  6704 0xaaaacac96060 INFO                 basesrc gstbasesrc.c:3018:gst_base_src_loop:<app-source> marking pending DISCONT
0:00:07.211415527  6704 0xaaaacac96060 INFO               GST_EVENT gstevent.c:892:gst_event_new_caps: creating caps event image/jpeg, parsed=(boolean)true, format=(string)I420, width=(int)3840, height=(int)2160, framerate=(fraction)1/1
NvMMLiteBlockCreate : Block : BlockType = 256 
0:00:07.212131069  6704 0xaaaacac96060 INFO                    v4l2 gstv4l2object.c:3211:gst_v4l2_object_setup_pool:<nvv4l2-decoder:sink> accessing buffers via mode 2
0:00:07.212325282  6704 0xaaaacac96060 INFO          v4l2bufferpool gstv4l2bufferpool.c:827:gst_v4l2_buffer_pool_set_config:<nvv4l2-decoder:pool:sink> increasing minimum buffers to 2
0:00:07.212340995  6704 0xaaaacac96060 INFO          v4l2bufferpool gstv4l2bufferpool.c:834:gst_v4l2_buffer_pool_set_config:<nvv4l2-decoder:pool:sink> increasing minimum buffers to 10
0:00:07.212350691  6704 0xaaaacac96060 INFO          v4l2bufferpool gstv4l2bufferpool.c:841:gst_v4l2_buffer_pool_set_config:<nvv4l2-decoder:pool:sink> reducing maximum buffers to 64
[JPEG Decode] BeginSequence Display WidthxHeight 3840x2160
0:00:07.314006045  6704 0xaaaacac96060 WARN                    v4l2 gstv4l2object.c:4634:gst_v4l2_object_probe_caps:<nvv4l2-decoder:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:07.314299622  6704 0xaaaacac96060 INFO                    v4l2 gstv4l2object.c:4692:gst_v4l2_object_probe_caps:<nvv4l2-decoder:src> probed caps: video/x-raw, format=(string)I420, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)NV24, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)NV12, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string)Y42B, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ], framerate=(fraction)[ 0/1, 2147483647/1 ]
0:00:07.315080318  6704 0xaaaacac96060 INFO               GST_EVENT gstevent.c:892:gst_event_new_caps: creating caps event video/x-raw(memory:NVMM), format=(string)I420, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1/1, nvbuf-memory-type=(string)nvbuf-mem-surface-array, gpu-id=(int)0
0:00:07.315277988  6704 0xaaaacac96060 WARN                GST_CAPS gstpad.c:5757:pre_eventfunc_check:<stream-muxer:sink_0> caps video/x-raw(memory:NVMM), format=(string)I420, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1/1, nvbuf-memory-type=(string)nvbuf-mem-surface-array, gpu-id=(int)0 not accepted
0:00:07.315345414  6704 0xaaaacac96060 WARN                GST_CAPS gstpad.c:5757:pre_eventfunc_check:<stream-muxer:sink_0> caps video/x-raw(memory:NVMM), format=(string)I420, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1/1, nvbuf-memory-type=(string)nvbuf-mem-surface-array, gpu-id=(int)0 not accepted
0:00:07.315366855  6704 0xaaaacac96060 WARN                GST_PADS gstpad.c:4351:gst_pad_peer_query:<nvv4l2-decoder:src> could not send sticky events
0:00:07.315393256  6704 0xaaaacac96060 INFO                    v4l2 gstv4l2object.c:3211:gst_v4l2_object_setup_pool:<nvv4l2-decoder:src> accessing buffers via mode 2
0:00:07.315833525  6704 0xaaaacac96060 INFO          v4l2bufferpool gstv4l2bufferpool.c:827:gst_v4l2_buffer_pool_set_config:<nvv4l2-decoder:pool:src> increasing minimum buffers to 2
0:00:07.315856214  6704 0xaaaacac96060 INFO          v4l2bufferpool gstv4l2bufferpool.c:834:gst_v4l2_buffer_pool_set_config:<nvv4l2-decoder:pool:src> increasing minimum buffers to 5
0:00:07.315867222  6704 0xaaaacac96060 INFO          v4l2bufferpool gstv4l2bufferpool.c:841:gst_v4l2_buffer_pool_set_config:<nvv4l2-decoder:pool:src> reducing maximum buffers to 64
0:00:07.315877238  6704 0xaaaacac96060 INFO          v4l2bufferpool gstv4l2bufferpool.c:864:gst_v4l2_buffer_pool_set_config:<nvv4l2-decoder:pool:src> adding needed video meta
0:00:07.316037435  6704 0xaaaacac96060 INFO          v4l2bufferpool gstv4l2bufferpool.c:841:gst_v4l2_buffer_pool_set_config:<nvv4l2-decoder:pool:src> reducing maximum buffers to 64
0:00:07.316099549  6704 0xaaaacac96060 WARN            v4l2videodec gstv4l2videodec.c:2252:gst_v4l2_video_dec_decide_allocation:<nvv4l2-decoder> Duration invalid, not setting latency
0:00:07.333798425  6704 0xaaaacac96060 WARN          v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<nvv4l2-decoder:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:07.333975710  6704 0xaaaacac96060 INFO                    task gsttask.c:516:gst_task_set_lock: setting stream lock 0xaaaacaca0d20 on task 0xffff28099710
0:00:07.333999135  6704 0xaaaacac96060 INFO                GST_PADS gstpad.c:6291:gst_pad_start_task:<nvv4l2-decoder:src> created task 0xffff28099710
0:00:07.436673912  6704 0xaaaacac962a0 WARN          v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<nvv4l2-decoder:pool:src> Driver should never set v4l2_buffer.field to ANY
0:00:07.436953696  6704 0xaaaacac962a0 WARN                GST_CAPS gstpad.c:5757:pre_eventfunc_check:<stream-muxer:sink_0> caps video/x-raw(memory:NVMM), format=(string)I420, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1/1, nvbuf-memory-type=(string)nvbuf-mem-surface-array, gpu-id=(int)0 not accepted
0:00:07.436989154  6704 0xaaaacac962a0 INFO            videodecoder gstvideodecoder.c:3144:gst_video_decoder_prepare_finish_frame:<nvv4l2-decoder> Guessing PTS=0:00:00.000000000 for frame... DTS=0:00:00.000000000
0:00:07.437020610  6704 0xaaaacac962a0 INFO            videodecoder gstvideodecoder.c:3720:gst_video_decoder_clip_and_push_buf:<nvv4l2-decoder> First buffer since flush took 0:00:00.589087489 to produce
0:00:07.437059812  6704 0xaaaacac962a0 WARN                GST_CAPS gstpad.c:5757:pre_eventfunc_check:<stream-muxer:sink_0> caps video/x-raw(memory:NVMM), format=(string)I420, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1/1, nvbuf-memory-type=(string)nvbuf-mem-surface-array, gpu-id=(int)0 not accepted
0:00:07.437115493  6704 0xaaaacac962a0 INFO                    task gsttask.c:368:gst_task_func:<nvv4l2-decoder:src> Task going to paused
0:00:07.682710306  6704 0xaaaacac96060 INFO            videodecoder gstvideodecoder.c:3144:gst_video_decoder_prepare_finish_frame:<nvv4l2-decoder> Guessing PTS=0:00:01.000000000 for frame... DTS=99:99:99.999999999
0:00:07.682807877  6704 0xaaaacac96060 WARN                 basesrc gstbasesrc.c:3127:gst_base_src_loop:<app-source> error: Internal data stream error.
0:00:07.682822950  6704 0xaaaacac96060 WARN                 basesrc gstbasesrc.c:3127:gst_base_src_loop:<app-source> error: streaming stopped, reason not-negotiated (-4)
0:00:07.682863591  6704 0xaaaacac96060 INFO        GST_ERROR_SYSTEM gstelement.c:2271:gst_element_message_full_with_details:<app-source> posting message: Internal data stream error.
0:00:07.682912840  6704 0xaaaacac96060 INFO        GST_ERROR_SYSTEM gstelement.c:2298:gst_element_message_full_with_details:<app-source> posted error message: Internal data stream error.
0:00:07.683064429  6704 0xaaaacac96060 WARN                GST_CAPS gstpad.c:5757:pre_eventfunc_check:<stream-muxer:sink_0> caps video/x-raw(memory:NVMM), format=(string)I420, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1/1, nvbuf-memory-type=(string)nvbuf-mem-surface-array, gpu-id=(int)0 not accepted
0:00:07.683120079  6704 0xaaaacac96060 WARN                GST_CAPS gstpad.c:5757:pre_eventfunc_check:<stream-muxer:sink_0> caps video/x-raw(memory:NVMM), format=(string)I420, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1/1, nvbuf-memory-type=(string)nvbuf-mem-surface-array, gpu-id=(int)0 not accepted
0:00:07.683157776  6704 0xaaaacac96060 WARN                GST_CAPS gstpad.c:5757:pre_eventfunc_check:<stream-muxer:sink_0> caps video/x-raw(memory:NVMM), format=(string)I420, width=(int)3840, height=(int)2160, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)1/1, nvbuf-memory-type=(string)nvbuf-mem-surface-array, gpu-id=(int)0 not accepted
Error: 1(Permission denied) message=Internal data stream error.
1 Error details: ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:dstest-appsrc-pipeline/GstAppSrc:app-source:

can you please help me figure out whats going wrong ?

Error: 1(Permission denied) message=Internal data stream error.
1 Error details: …/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:dstest-appsrc-pipeline/GstAppSrc:app-source:
streaming stopped, reason not-negotiated (-4)
Returned, stopping playback

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

I think the correct pipeline should look like this.

appsrc --> nvjpegdec --> nvstreammux --> nvinfer(gie) --> sink

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