Hi junshengy, thank you again for your reply.
I tested the same pipeline but this time using the new streammux, and it worked ! No B-frames error.
here is the log with the new streammux :
0:00:00.142075802 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<GstNvStreamMux@0xaaaadbb7c170> [BatchPolicy 111]BatchPolicy insert priority 0 source 0 max_fps 60.000000
0:00:00.142197531 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<GstNvStreamMux@0xaaaadbb7c170> [BatchPolicy 132]BatchPolicy batch_size 0 config batch size 1
0:00:00.142258459 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<GstNvStreamMux@0xaaaadbb7c170> [BatchPolicy 137]BatchPolicy max_fps_dur=8333.333333 min_fps_dur=200000.000000 overall_max_fps=120/1 overall_min_fps=5/1
0:00:00.157021809 5970 0xaaaadbb72ef0 DEBUG nvstreammux gstnvstreammux.cpp:1212:gst_nvstreammux_request_new_pad:<m> Requesting new sink pad
0:00:00.157139889 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [add_pad 463]add_pad 463 id=0
max_fps_dur 8.33333e+06 min_fps_dur 2e+08
Setting pipeline to PAUSED ...
0:00:00.200876720 5970 0xaaaadbb72ef0 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xaaaadbb90480 Failed to determine interlace mode
0:00:00.200942480 5970 0xaaaadbb72ef0 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xaaaadbb90480 Failed to determine interlace mode
0:00:00.200961808 5970 0xaaaadbb72ef0 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xaaaadbb90480 Failed to determine interlace mode
0:00:00.200977040 5970 0xaaaadbb72ef0 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xaaaadbb90480 Failed to determine interlace mode
0:00:00.201019888 5970 0xaaaadbb72ef0 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<nvv4l2h264enc0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
Opening in BLOCKING MODE
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://localhost:8554/vsheen
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://<user>:<password>@192.168.79.20
Progress: (open) Retrieving server options
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending RECORD request
Progress: (request) Sending PLAY request
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
0:00:00.284437269 5970 0xaaaadbb7f520 WARN udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<udpsrc0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:00:00.284528118 5970 0xaaaadbb7f520 WARN udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<udpsrc0> have udp buffer of 212992 bytes while 524288 were requested
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Progress: (request) Sending PLAY request
0:00:00.307268378 5970 0xffff70003980 FIXME default gstutils.c:3980:gst_pad_create_stream_id_internal:<fakesrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Progress: (request) Sent PLAY request
0:00:00.431494764 5970 0xffff7801c760 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<nvv4l2decoder0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:00.431590285 5970 0xffff7801c760 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff40097550 Failed to determine interlace mode
0:00:00.431621069 5970 0xffff7801c760 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff40097550 Failed to determine interlace mode
0:00:00.431638829 5970 0xffff7801c760 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff40097550 Failed to determine interlace mode
0:00:00.431656077 5970 0xffff7801c760 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff40097550 Failed to determine interlace mode
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
0:00:00.542418321 5970 0xffff7801c760 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<nvv4l2decoder0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:00.542501617 5970 0xffff7801c760 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff40097550 Failed to determine interlace mode
0:00:00.542556466 5970 0xffff7801c760 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff40097550 Failed to determine interlace mode
0:00:00.542591090 5970 0xffff7801c760 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff40097550 Failed to determine interlace mode
0:00:00.542621426 5970 0xffff7801c760 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff40097550 Failed to determine interlace mode
0:00:00.543666776 5970 0xffff7801c760 DEBUG nvstreammux :0::<m> [push_events 84]pad[0] event_type=2
0:00:00.543727897 5970 0xffff7801c760 DEBUG nvstreammux :0::<m> [get_available 113]number of buffers available in queue of pad (0) = 0
0:00:00.543745177 5970 0xffff7801c760 DEBUG nvstreammux :0::<m> [push_events 103][push_events] available buffers=0 q.size=0 event_indices.size=0
0:00:00.543755737 5970 0xffff7801c760 DEBUG nvstreammux :0::<m> [push_events 49]push_events 49 num_sources_idle=1
0:00:00.543766265 5970 0xffff7801c760 DEBUG nvstreammux :0::<m> [push_events 71]sink=0 get_switched_to_idle()=0 queue.size()=0 get_eos()=0
0:00:00.543775705 5970 0xffff7801c760 DEBUG nvstreammux :0::<m> [push_events 78]push_events num_sources_idle=1 pads_got_eos_and_empty_in_q=0(1)
0:00:00.543784633 5970 0xffff7801c760 DEBUG nvstreammux :0::<m> [push_events 80]DEBUGME push_events 80 size=1 pads_got_eos_and_empty_in_q=0
0:00:00.543793017 5970 0xffff7801c760 DEBUG nvstreammux :0::<m> [update_idle_sources 339]update_idle_sources 339 idle_sources=1
0:00:00.544891967 5970 0xffff7801c760 DEBUG nvstreammux :0::<m> [BatchPolicy 111]BatchPolicy insert priority 0 source 0 max_fps 60.000000
0:00:00.544917888 5970 0xffff7801c760 DEBUG nvstreammux :0::<m> [BatchPolicy 132]BatchPolicy batch_size 1 config batch size 1
0:00:00.544953664 5970 0xffff7801c760 DEBUG nvstreammux :0::<m> [BatchPolicy 137]BatchPolicy max_fps_dur=8333.333333 min_fps_dur=200000.000000 overall_max_fps=120/1 overall_min_fps=5/1
0:00:00.544969760 5970 0xffff7801c760 WARN nvstreammux gstnvstreammux.cpp:1051:configure_module:<m> No config-file provided; falling back to default streammux config 1
0:00:00.545001280 5970 0xffff7801c760 DEBUG nvstreammux gstnvstreammux.cpp:792:handle_caps:<m> *** MUX -- > input caps; feature memory:NVMM 1; pad_id=0 caps=[video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, 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)25/1, nvbuf-memory-type=(string)nvbuf-mem-surface-array, gpu-id=(int)0, format=(string)RGBA, block-linear=(boolean)false] mimetype=[video/x-raw]
NvMMLiteOpen : Block : BlockType = 4
Opening in BLOCKING MODE
max_fps_dur 8.33333e+06 min_fps_dur 2e+08
Redistribute latency...
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
0:00:00.547976817 5970 0xffff7801c760 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<nvv4l2h264enc0:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:00.548570069 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_batch_size 316]get_batch_size inputs->size=1 num_sources_eos=0 num_surfaces_per_frame=1 config=0 adaptive_batching=1
0:00:00.548595413 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_batch_size 316]get_batch_size inputs->size=1 num_sources_eos=0 num_surfaces_per_frame=1 config=0 adaptive_batching=1
0:00:00.548737718 5970 0xffff7801c760 WARN v4l2videodec gstv4l2videodec.c:1880:gst_v4l2_video_dec_decide_allocation:<nvv4l2decoder0> Duration invalid, not setting latency
0:00:00.548742646 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_loop 282]push_loop 282 0xffff2c0020a0
0:00:00.548841814 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_loop 294]DEBUGME what
0:00:00.548870454 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_available 113]number of buffers available in queue of pad (0) = 0
0:00:00.548892183 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 103][push_events] available buffers=0 q.size=0 event_indices.size=0
0:00:00.548918935 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 71]sink=0 get_switched_to_idle()=0 queue.size()=0 get_eos()=0
0:00:00.548937751 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 78]push_events num_sources_idle=1 pads_got_eos_and_empty_in_q=0(1)
0:00:00.548955159 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 80]DEBUGME push_events 80 size=1 pads_got_eos_and_empty_in_q=0
0:00:00.548972887 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_idle_sources 339]update_idle_sources 339 idle_sources=1
0:00:00.548991991 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [form_batch 458]sources_to_process=1
0:00:00.549006071 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [form_batch 475]update_with_source sid=0
0:00:00.549031671 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_batch_size 316]get_batch_size inputs->size=1 num_sources_eos=0 num_surfaces_per_frame=1 config=0 adaptive_batching=1
0:00:00.549048056 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 375]update_with_source sid=0
0:00:00.549064536 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_available 113]number of buffers available in queue of pad (0) = 0
0:00:00.549081144 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 380]num_avail=0 sid=0
0:00:00.549107736 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_batch_size 316]get_batch_size inputs->size=1 num_sources_eos=0 num_surfaces_per_frame=1 config=0 adaptive_batching=1
0:00:00.549125464 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 387]allowed_repeats=1 allowed_repeats_source=1 bs=1
0:00:00.549140280 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 389]num_avail=0 sid=0
0:00:00.549155960 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 395]synch_buffer=(nil) num_to_insert=0
0:00:00.549171480 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_available 113]number of buffers available in queue of pad (0) = 0
0:00:00.549188984 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 404]update_with_source insert 0 acc_batch 0 source_id 0 available 0 max repeats 1
0:00:00.549207992 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [form_batch 482]form_batch 482
0:00:00.549224825 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_loop 315]wait_not_past_max=1 acc_batch=0
0:00:00.549238585 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_loop 318]DEBUGME
0:00:00.549296281 5970 0xffff7801c760 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<nvv4l2decoder0:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:00.562930952 5970 0xffff4000ec60 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<nvv4l2decoder0:pool:src> Driver should never set v4l2_buffer.field to ANY
0:00:00.563029001 5970 0xffff4000ec60 DEBUG nvstreammux :0::<m> [push_events 84]pad[0] event_type=2
0:00:00.563073257 5970 0xffff4000ec60 DEBUG nvstreammux :0::<m> [get_available 113]number of buffers available in queue of pad (0) = 0
0:00:00.563103881 5970 0xffff4000ec60 DEBUG nvstreammux :0::<m> [push_events 103][push_events] available buffers=0 q.size=0 event_indices.size=0
0:00:00.563112553 5970 0xffff4000ec60 DEBUG nvstreammux :0::<m> [push_events 71]sink=0 get_switched_to_idle()=0 queue.size()=0 get_eos()=0
0:00:00.563119465 5970 0xffff4000ec60 DEBUG nvstreammux :0::<m> [push_events 78]push_events num_sources_idle=1 pads_got_eos_and_empty_in_q=0(1)
0:00:00.563125737 5970 0xffff4000ec60 DEBUG nvstreammux :0::<m> [push_events 80]DEBUGME push_events 80 size=1 pads_got_eos_and_empty_in_q=0
0:00:00.563131561 5970 0xffff4000ec60 DEBUG nvstreammux :0::<m> [update_idle_sources 339]update_idle_sources 339 idle_sources=1
0:00:00.563152458 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_available 113]number of buffers available in queue of pad (0) = 0
0:00:00.563177450 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 103][push_events] available buffers=0 q.size=0 event_indices.size=0
0:00:00.563186474 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 71]sink=0 get_switched_to_idle()=0 queue.size()=0 get_eos()=0
0:00:00.563192618 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 78]push_events num_sources_idle=1 pads_got_eos_and_empty_in_q=0(1)
0:00:00.563198346 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 80]DEBUGME push_events 80 size=1 pads_got_eos_and_empty_in_q=0
0:00:00.563203754 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_idle_sources 339]update_idle_sources 339 idle_sources=1
0:00:00.563212394 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [form_batch 458]sources_to_process=1
0:00:00.563217386 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [form_batch 475]update_with_source sid=0
0:00:00.563224874 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_batch_size 316]get_batch_size inputs->size=1 num_sources_eos=0 num_surfaces_per_frame=1 config=0 adaptive_batching=1
0:00:00.563230698 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 375]update_with_source sid=0
0:00:00.563236074 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_available 113]number of buffers available in queue of pad (0) = 0
0:00:00.563241034 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 380]num_avail=0 sid=0
0:00:00.563247658 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_batch_size 316]get_batch_size inputs->size=1 num_sources_eos=0 num_surfaces_per_frame=1 config=0 adaptive_batching=1
0:00:00.563253226 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 387]allowed_repeats=1 allowed_repeats_source=1 bs=1
0:00:00.563257898 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 389]num_avail=0 sid=0
0:00:00.563263146 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 395]synch_buffer=(nil) num_to_insert=0
0:00:00.563268266 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [get_available 113]number of buffers available in queue of pad (0) = 0
0:00:00.563273866 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_with_source 404]update_with_source insert 0 acc_batch 0 source_id 0 available 0 max repeats 1
0:00:00.563278730 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [form_batch 482]form_batch 482
0:00:00.563284298 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_loop 315]wait_not_past_max=1 acc_batch=0
0:00:00.563288906 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_loop 318]DEBUGME
0:00:00.598483927 5970 0xffff4000ec60 DEBUG nvstreammux :0::<m> [add_buffer 472]id=0
0:00:00.598526327 5970 0xffff4000ec60 DEBUG nvstreammux :0::<m> [get_batch_size 316]get_batch_size inputs->size=1 num_sources_eos=0 num_surfaces_per_frame=1 config=0 adaptive_batching=1
...
0:00:20.847695363 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 103][push_events] available buffers=0 q.size=0 event_indices.size=0
0:00:20.847707299 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 71]sink=0 get_switched_to_idle()=0 queue.size()=0 get_eos()=0
0:00:20.847712899 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 78]push_events num_sources_idle=0 pads_got_eos_and_empty_in_q=0(1)
0:00:20.847718243 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_events 80]DEBUGME push_events 80 size=1 pads_got_eos_and_empty_in_q=0
0:00:20.847723427 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [update_idle_sources 339]update_idle_sources 339 idle_sources=0
0:00:20.856170389 5970 0xffff4000ec00 DEBUG nvstreammux :0::<m> [push_loop 388]push_loop 388
[ERROR push 333] push failed [-2]
[ERROR push 333] push failed [-2]
[ERROR push 333] push failed [-2]
Freeing pipeline ...
0:00:20.941969607 5970 0xaaaadbb72ef0 DEBUG nvstreammux gstnvstreammux.cpp:1288:gst_nvstreammux_release_pad:<m> Pad deleted 0
0:00:20.942053192 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 412]remove_pad 412 id=0
0:00:20.942088200 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.943185422 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.944274933 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.945365019 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.946447745 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.947530120 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.948613614 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.949705364 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.950786491 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.951928001 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.953017608 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.954099886 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.955180884 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.956262714 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.957347265 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.958429031 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.959529549 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.960658292 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.961772794 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.962862369 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.963948775 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.965034157 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.966115764 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.967197594 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.968279136 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.969363911 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.970445005 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.971527443 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.972610169 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.973694688 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.974776646 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.975859852 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.976943891 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.978024793 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.979105791 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.980187237 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.981270380 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.982384786 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.983469689 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.984552575 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.985636229 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.986719083 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.987804658 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.988888344 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.989970526 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.991052645 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.992136907 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.993222481 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.994308952 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.995391710 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.996474340 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.997558602 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.998640497 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:20.999727511 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.000808957 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.001888996 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.002970346 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.004052912 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.005135830 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.006216445 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.007297411 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.008378793 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.009461456 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.010541654 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.011648348 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.012735011 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.013819689 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.014901071 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.015982678 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.017066140 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.018145442 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.019224584 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.020305935 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.021388213 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.022468475 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.023550306 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.024632424 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.025716814 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.026797492 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.027878779 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.028962017 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.030042439 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.031123406 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.032221268 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.033356571 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.034464641 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.035557703 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.036661102 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.037799732 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.038908027 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.040001857 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.041120008 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.042205038 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.043293876 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.044379803 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.045465601 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.046548679 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.047629934 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.048712756 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.049797146 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 427]App sequence error release pad called before push events
0:00:21.050882176 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 435]100ms timeout exhausted. App sequence error release pad called before push events
0:00:21.050921249 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [update_eos_sources 345]update_eos_sources 345 eos_sources=-1
0:00:21.050942433 5970 0xaaaadbb72ef0 DEBUG nvstreammux :0::<m> [remove_pad 452]DEBUGME remove_pad 452 size=0
And here is the one with the old streammux :
0:00:00.336976615 6166 0xaaaae9075980 DEBUG nvstreammux gstnvstreammux.c:1478:gst_nvstreammux_request_new_pad:<m> Requesting new sink pad
Setting pipeline to PAUSED ...
0:00:00.382052877 6166 0xaaaae9075980 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xaaaae8f6d000 Failed to determine interlace mode
0:00:00.382125005 6166 0xaaaae9075980 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xaaaae8f6d000 Failed to determine interlace mode
0:00:00.382145421 6166 0xaaaae9075980 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xaaaae8f6d000 Failed to determine interlace mode
0:00:00.382160717 6166 0xaaaae9075980 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xaaaae8f6d000 Failed to determine interlace mode
0:00:00.382207342 6166 0xaaaae9075980 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<nvv4l2h264enc0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
Opening in BLOCKING MODE
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://localhost:8554/vsheen
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:Exavision30@192.168.79.20
Progress: (open) Retrieving server options
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending RECORD request
Progress: (open) Retrieving server options
Progress: (request) Sending PLAY request
Progress: (open) Retrieving media info
0:00:00.522602462 6166 0xaaaae91dc520 WARN udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<udpsrc0> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:00:00.522684638 6166 0xaaaae91dc520 WARN udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<udpsrc0> have udp buffer of 212992 bytes while 524288 were requested
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Progress: (request) Sending PLAY request
0:00:00.544236763 6166 0xffff58003300 FIXME default gstutils.c:3980:gst_pad_create_stream_id_internal:<fakesrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Progress: (request) Sent PLAY request
0:00:00.671218142 6166 0xffff5c006b60 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<nvv4l2decoder0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:00.671331518 6166 0xffff5c006b60 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff300c7e00 Failed to determine interlace mode
0:00:00.671365278 6166 0xffff5c006b60 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff300c7e00 Failed to determine interlace mode
0:00:00.671386623 6166 0xffff5c006b60 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff300c7e00 Failed to determine interlace mode
0:00:00.671406879 6166 0xffff5c006b60 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff300c7e00 Failed to determine interlace mode
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
0:00:00.787873060 6166 0xffff5c006b60 WARN v4l2 gstv4l2object.c:4512:gst_v4l2_object_probe_caps:<nvv4l2decoder0:src> Failed to probe pixel aspect ratio with VIDIOC_CROPCAP: Unknown error -1
0:00:00.787950244 6166 0xffff5c006b60 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff300c7e00 Failed to determine interlace mode
0:00:00.787992932 6166 0xffff5c006b60 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff300c7e00 Failed to determine interlace mode
0:00:00.788021445 6166 0xffff5c006b60 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff300c7e00 Failed to determine interlace mode
0:00:00.788076645 6166 0xffff5c006b60 WARN v4l2 gstv4l2object.c:2398:gst_v4l2_object_add_interlace_mode:0xffff300c7e00 Failed to determine interlace mode
0:00:00.791045878 6166 0xffff5c006b60 DEBUG nvstreammux gstnvstreammux.c:1232:gst_nvstreammux_sink_event:<m> parse video info from caps video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, 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)25/1, nvbuf-memory-type=(string)nvbuf-mem-surface-array, gpu-id=(int)0, format=(string)RGBA, block-linear=(boolean)false
Opening in BLOCKING MODE
Redistribute latency...
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
0:00:00.794579915 6166 0xffff5c006b60 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<nvv4l2h264enc0:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:00.795486448 6166 0xffff5c006b60 WARN v4l2videodec gstv4l2videodec.c:1880:gst_v4l2_video_dec_decide_allocation:<nvv4l2decoder0> Duration invalid, not setting latency
0:00:00.795875634 6166 0xffff5c006b60 WARN v4l2bufferpool gstv4l2bufferpool.c:1114:gst_v4l2_buffer_pool_start:<nvv4l2decoder0:pool:src> Uncertain or not enough buffers, enabling copy threshold
0:00:00.810106021 6166 0xffff3000c860 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<nvv4l2decoder0:pool:src> Driver should never set v4l2_buffer.field to ANY
0:00:00.810207014 6166 0xffff3000c860 INFO nvstreammux gstnvstreammux.c:1406:gst_nvstreammux_sink_event:<m> mux got segment from src 0 time segment start=0:00:00.166729225, 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.166729225, position 0:00:00.166729225, duration 99:99:99.999999999
0:00:00.845266929 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff300c9d80 from source 0 pts = 0:00:00.166729225
0:00:00.845543987 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2313:gst_nvstreammux_src_collect_buffers:<m> Pad added event sent 0
0:00:00.845612083 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff300d7c60, batch size 1, PTS 0:00:00.405811255
0:00:00.845625331 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 0:00:00.405811255
0:00:00.850483248 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff4403eea0 from source 0 pts = 0:00:00.206725080
0:00:00.855678510 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff4403ed80 from source 0 pts = 0:00:00.246708504
H264: Profile = 66, Level = 0
0:00:00.861348207 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff300de120, batch size 1, PTS 0:00:00.421545395
0:00:00.861370639 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 0:00:00.421545395
NVMEDIA: Need to set EMC bandwidth : 705000
NVMEDIA_ENC: bBlitMode is set to TRUE
0:00:00.866508141 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff4403eb40, batch size 1, PTS 0:00:00.426704753
0:00:00.866528813 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 0:00:00.426704753
0:00:00.875406305 6166 0xffff1c012c00 WARN v4l2bufferpool gstv4l2bufferpool.c:1565:gst_v4l2_buffer_pool_dqbuf:<nvv4l2h264enc0:pool:src> Driver should never set v4l2_buffer.field to ANY
Progress: (record) Sending server stream info
Progress: (request) SETUP stream 0
0:00:00.878885301 6166 0xffff1c012c00 FIXME basesink gstbasesink.c:3246:gst_base_sink_default_event:<multiudpsink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
0:00:00.879215159 6166 0xffff3801a360 DEBUG nvstreammux gstnvstreammux.c:1167:gst_nvstreammux_src_event:<m> latency 0:00:02.100000000
Progress: (request) Sending RECORD request
0:00:00.886020702 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff4403e6c0 from source 0 pts = 0:00:00.286671266
0:00:00.886075231 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff4403e900, batch size 1, PTS 5124095:34:32.055824610
0:00:00.886093791 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 5124095:34:32.055824610
0:00:00.922530162 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff300c9d80 from source 0 pts = 0:00:00.326605303
0:00:00.922614419 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff300d7c60, batch size 1, PTS 5124095:34:32.092353303
0:00:00.922656531 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 5124095:34:32.092353303
0:00:00.963045374 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff4403eea0 from source 0 pts = 0:00:00.366502896
0:00:00.963323936 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff300de120, batch size 1, PTS 5124095:34:32.133059779
0:00:00.963372352 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 5124095:34:32.133059779
0:00:01.002969382 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff4403ed80 from source 0 pts = 0:00:00.406356904
0:00:01.043145552 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff4403e6c0 from source 0 pts = 0:00:00.446161054
0:00:01.083430490 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff300c9d80 from source 0 pts = 0:00:00.485910264
Progress: (record) Starting recording
0:00:02.957228902 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff4403eb40, batch size 1, PTS 0:00:00.417394538
0:00:02.957369287 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 0:00:00.417394538
0:00:02.967431618 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff4403eea0 from source 0 pts = 0:00:00.525600983
0:00:02.972302046 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff4403e900, batch size 1, PTS 0:00:00.432483042
0:00:02.972370270 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 0:00:00.432483042
0:00:03.022489282 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff300d7c60, batch size 1, PTS 0:00:00.482665221
0:00:03.022632802 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 0:00:00.482665221
0:00:03.032438395 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff4403ed80 from source 0 pts = 0:00:00.565231526
0:00:03.037717370 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff300de120, batch size 1, PTS 0:00:00.497895870
0:00:03.037797019 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 0:00:00.497895870
0:00:03.047635540 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff4403e6c0 from source 0 pts = 0:00:00.604802364
0:00:03.052977779 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff4403eb40, batch size 1, PTS 0:00:00.513157239
0:00:03.053042163 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 0:00:00.513157239
0:00:03.058098545 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff300c9d80 from source 0 pts = 0:00:00.644316345
0:00:03.063298127 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff4403e900, batch size 1, PTS 0:00:00.523482483
0:00:03.063354863 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 0:00:00.523482483
0:00:03.072837286 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff4403eea0 from source 0 pts = 0:00:00.683778803
0:00:03.078068581 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff300d7c60, batch size 1, PTS 0:00:00.538252937
0:00:03.078126181 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 0:00:00.538252937
0:00:03.087068697 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff4403ed80 from source 0 pts = 0:00:00.723197525
0:00:03.091218833 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff300de120, batch size 1, PTS 0:00:00.551400181
...
0:00:09.403612647 6166 0xffff3000c860 DEBUG nvstreammux gstnvstreammux.c:518:gst_nvstreammux_chain:<m> Got buffer 0xffff300c9d80 from source 0 pts = 0:00:08.792553807
0:00:09.403979689 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2814:gst_nvstreammux_src_push_loop:<m> Pushing buffer 0xffff300d7c60, batch size 1, PTS 0:00:06.864148717
0:00:09.404044137 6166 0xffff3000c800 DEBUG nvstreammux gstnvstreammux.c:2835:gst_nvstreammux_src_push_loop:<m> STREAMMUX OUT BUFFER attached timestamp 0:00:06.864148717
handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:08.977912605
Setting pipeline to NULL ...
0:00:09.437831630 6166 0xaaaae91dc520 WARN rtspsrc gstrtspsrc.c:6585:gst_rtspsrc_send:<source> error: Unhandled error
0:00:09.437950063 6166 0xaaaae91dc520 WARN rtspsrc gstrtspsrc.c:6585:gst_rtspsrc_send:<source> error: Method Not Valid in This State (455)
0:00:09.438065071 6166 0xaaaae91dc520 WARN rtspsrc gstrtspsrc.c:8669:gst_rtspsrc_pause:<source> error: Could not send message. (Generic error)
Freeing pipeline ...
0:00:09.513268036 6166 0xaaaae9075980 DEBUG nvstreammux gstnvstreammux.c:1589:gst_nvstreammux_release_pad:<m> Pad deleted 0
I still don’t know what is going wrong, but I also could reproduce the problem without using nvstreammux.
For that, on one pc (actually an other jetson) I have a simple pipeline running and publishing a h264 video stream in rtp
gst-launch-1.0 videotestsrc ! nvvideoconvert ! "video/x-raw(memory:NVMM),format=I420" ! nvv4l2h264enc ! h264parse ! rtspclientsink location="rtsp://192.168.79.31:8553/stream"
and on the other I decode and restream with this pipeline :
gst-launch-1.0 uridecodebin uri="rtsp://192.168.79.31:8553/stream" caps="video/x-raw(memory:NVMM)" ! nvvideoconvert ! "video/x-raw(memory:NVMM),format=I420" ! nvv4l2h264enc ! h264parse ! rtspclientsink location="rtsp://localhost:8554/stream"
While there is no problem with the first stream, the second one get me the same “B-frame” error when I try to publish in WebRTC.
What did you mean by the internal rtsp stream ?
I will try to use a different server as you suggested and see if I can replicate the problem.