Uricoddebin doesnt support H265 videos

Please provide complete information as applicable to your setup.

• DeepStream Version - 6.2
• Language- Python
• GPU-NVIDIA GeForce GTX 1080 Ti

• Issue Type( questions) questions

I have a created a multi input pipeline using uricodebin but it isn’t reading from a video of h265 format
pipeline code is as follows :

Gst.init(None)
pipeline = Gst.Pipeline()

video_list = [#'file:///opt/nvidia/deepstream/deepstream-6.2/samples/streams/sample_720p.mp4',
                    'file:///opt/nvidia/deepstream/deepstream-6.2/samples/streams/sample_720p.h264'
                    ]

streammux = Gst.ElementFactory.make("nvstreammux", "Stream-muxer")

streammux.set_property("batched-push-timeout", 25000)
streammux.set_property("batch-size", 30)
streammux.set_property("gpu_id", GPU_ID)

pipeline.add(streammux)
streammux.set_property("live-source", 1)   # need to check

for  id, uri in enumerate(video_list):
    print("Creating source_bin ",uri," \n ")

    #Create first source bin and add to pipeline
    source_bin= create_uridecode_bin((id, uri))
    if not source_bin:
        sys.stderr.write("Failed to create source bin. Exiting. \n")
        sys.exit(1)

    pipeline.add(source_bin)

pgie = Gst.ElementFactory.make("nvinfer", "primary-inference")

nvvidconv = Gst.ElementFactory.make("nvvideoconvert", "convertor")

nvosd = Gst.ElementFactory.make("nvdsosd", "onscreendisplay")

sink = Gst.ElementFactory.make("fakesink", "fakesink")
#sink = Gst.ElementFactory.make("nveglglessink", "nvvideo-renderer")
# if is_aarch64():
#     print("Creating nv3dsink \n")
#     sink = Gst.ElementFactory.make("nv3dsink", "nv3d-sink")
#     if not sink:
#         sys.stderr.write(" Unable to create nv3dsink \n")
# else:
#     print("Creating EGLSink \n")
#     sink = Gst.ElementFactory.make("nveglglessink", "nvvideo-renderer")
#     if not sink:
#         sys.stderr.write(" Unable to create egl sink \n")

caps = Gst.Caps.from_string("video/x-raw(memory:NVMM), format=RGBA")
filter = Gst.ElementFactory.make("capsfilter", "filter")
if not filter:
    sys.stderr.write(" Unable to get the caps filter1 \n")
filter.set_property("caps", caps)


streammux.set_property('width', 1920)
streammux.set_property('height', 1080)
pgie.set_property('config-file-path', "dstest1_pgie_config.txt")
pgie.set_property("gpu_id", GPU_ID)
pgie.set_property("batch-size",MAX_SOURCE)


nvvidconv.set_property("gpu_id", GPU_ID)
nvosd.set_property("gpu_id", GPU_ID)

if not is_aarch64():
    # Use CUDA unified memory in the pipeline so frames
    # can be easily accessed on CPU in Python.
    mem_type = int(pyds.NVBUF_MEM_CUDA_UNIFIED)
    streammux.set_property("nvbuf-memory-type", mem_type)
    nvvidconv.set_property("nvbuf-memory-type", mem_type)

print("Adding elements to Pipeline \n")
pipeline.add(pgie)
pipeline.add(nvvidconv)
pipeline.add(nvosd)
pipeline.add(sink)
pipeline.add(filter)


print("Linking elements in the Pipeline \n")
streammux.link(pgie)
pgie.link(nvvidconv)
nvvidconv.link(filter)
filter.link(nvosd)
nvosd.link(sink)

loop = GLib.MainLoop()
bus = pipeline.get_bus()
bus.add_signal_watch()
bus.connect ("message", bus_call, loop)

osdsinkpad = nvosd.get_static_pad("sink")
if not osdsinkpad:
    sys.stderr.write(" Unable to get sink pad of nvosd \n")
osdsinkpad.add_probe(Gst.PadProbeType.BUFFER, osd_sink_pad_buffer_probe, 0)

pipeline.set_state(Gst.State.PLAYING)
try:
    loop.run()
except:
    pass
# cleanup
print("Exiting app\n")
pipeline.set_state(Gst.State.NULL)

dummy.py (8.9 KB)

Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

  1. what is the GPU device model?
  2. can you share the result of this command? gst-launch-1.0 uridecodebin uri=file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h265.mp4 ! fakesink

1- GPU-NVIDIA GeForce GTX 1080 Ti

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: MPEG-4 AAC decoder
WARNING: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)119056e500, rate=(int)48000, channels=(int)2'.
Additional debug info:
gsturidecodebin.c(920): unknown_type_cb (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:01.652558146
Setting pipeline to NULL ...
Freeing pipeline ...

from the log, there is no error when uridecodebin decoded h265 videos.

this is the error message I am getting when I feed in H265 video

Error: gst-stream-error-quark: memory type configured and i/p buffer mismatch ip_surf 2 muxer 3 (1): gstnvstreammux.c(643): gst_nvstreammux_chain (): /GstPipeline:pipeline0/GstNvStreamMux:Stream-muxer

The above issue I solved by adding the line

streammux.set_property("nvbuf-memory-type", int(pyds.NVBUF_MEM_CUDA_DEVICE)) 

The attached code was made referring runtim_source_add_delete in deepstream Python apps.

What I observed is that if I feed in an h264 video or h265(file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h265.mp4) or rtsp stream to the code deepstream_rt_src_add_del.py everything works fine.
but if I comment on the following lines, i.e. start the pipeline without any streams and add streams every 10 seconds

 #for source_id in range(MAX_NUM_SOURCES):
 #      if (g_eos_list[source_id] and g_source_enabled[source_id]):
 #           g_source_enabled[source_id] = False
  #         stop_release_source(source_id)

it works fine with h264 and h265 videos, but not h265 rtsp stream

if you comment out stop_release_source, the app will not close the decoder. as you know, GPU has decoder limitation, you can’t open too many decoders.

I want the pipeline to be active (without any source) and add the rstp stream through an API hit, but when I initialize a pipeline without any stream and later add an RTSP stream, it’s not working (it works for video). Is there any workaround to achieve this?

how do you know it is not working? is there any logs?

I attached a probe to the nvosd to check if its working or not. the debug statement works for video but not rstp stream. The applications just halt if add initialize the pipeline with out any source and add rtsp in run time.
deepstream.py (17.6 KB)

    def osd_sink_pad_buffer_probe(self, pad, info, u_data):

        gst_buffer = info.get_buffer()
        if not gst_buffer:
            logger.error("Unable to get GstBuffer ")
            return

        batch_meta = pyds.gst_buffer_get_nvds_batch_meta(hash(gst_buffer))
        if not batch_meta:
            return Gst.PadProbeReturn.OK

        l_frame = batch_meta.frame_meta_list

        temp_counter = 0
        while l_frame is not None:

            logger.debug("Counter value:", temp_counter)

I have attached my code herewith

  1. how many rtsp are added when app halted? will it halt if only adding one or two rtsp? will halt if adding h264 rtsp?
  2. is there any running logs?

The app halted when I added one h265 RTSP (only one stream can be added at a time after initializing the pipeline). Right now, I have access to only h265 RTSP.

These are the logs

Creating Pipeline
Creating streamux
Creating Pgie
Creating nvvidconv
Creating nvosd
creating sink
Adding elements to Pipeline 

linking elements to pipline
(<enum GST_STATE_CHANGE_SUCCESS of type Gst.StateChangeReturn>, state=<enum GST_STATE_NULL of type Gst.State>, pending=<enum GST_STATE_VOID_PENDING of type Gst.State>)
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:01.911387086   921      0x3244860 INFO                 nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1909> [UID = 1]: deserialized trt engine from :/test/models/resnet10.caffemodel_b1_gpu0_int8.engine
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 3
0   INPUT  kFLOAT input_1         3x368x640       
1   OUTPUT kFLOAT conv2d_bbox     16x23x40        
2   OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40         

0:00:01.921914903   921      0x3244860 WARN                 nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::checkBackendParams() <nvdsinfer_context_impl.cpp:1841> [UID = 1]: Backend has maxBatchSize 1 whereas 12 has been requested
0:00:01.922062771   921      0x3244860 WARN                 nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2018> [UID = 1]: deserialized backend context :/test/models/resnet10.caffemodel_b1_gpu0_int8.engine failed to match config params, trying rebuild
0:00:01.923313652   921      0x3244860 INFO                 nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1923> [UID = 1]: Trying to create engine from model files
WARNING: [TRT]: The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
0:00:32.413274863   921      0x3244860 INFO                 nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1955> [UID = 1]: serialize cuda engine to file: /test/models/resnet10.caffemodel_b12_gpu0_int8.engine successfully
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 3
0   INPUT  kFLOAT input_1         3x368x640       
1   OUTPUT kFLOAT conv2d_bbox     16x23x40        
2   OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40         

0:00:32.426201503   921      0x3244860 INFO                 nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary-inference> [UID 1]: Load new model:model_config.txt sucessfully
(<enum GST_STATE_CHANGE_ASYNC of type Gst.StateChangeReturn>, state=<enum GST_STATE_READY of type Gst.State>, pending=<enum GST_STATE_PAUSED of type Gst.State>)
Starting pipeline 

(<enum GST_STATE_CHANGE_ASYNC of type Gst.StateChangeReturn>, state=<enum GST_STATE_READY of type Gst.State>, pending=<enum GST_STATE_PLAYING of type Gst.State>)
debug--------------------------------> adding  source
Calling Start 1 
creating uridecodebin forrtsp://admin:123456@192.168.99.81
source-bin-01
Decodebin child added: source
STATE CHANGE NO PREROLL

the application halts after printing STATE CHANGE NO PREROLL

instead if I feed in a video, I can print statements from the probe

logs from GST

0:00:00.000046023   171       0xbb4ef0 INFO                GST_INIT gst.c:586:init_pre: Initializing GStreamer Core Library version 1.16.3
0:00:00.000061357   171       0xbb4ef0 INFO                GST_INIT gst.c:587:init_pre: Using library installed in /usr/lib/x86_64-linux-gnu
0:00:00.000070195   171       0xbb4ef0 INFO                GST_INIT gst.c:605:init_pre: Linux ivacv 5.15.0-76-generic #83~20.04.1-Ubuntu SMP Wed Jun 21 20:23:31 UTC 2023 x86_64
0:00:00.000233123   171       0xbb4ef0 INFO                GST_INIT gstmessage.c:128:_priv_gst_message_initialize: init messages
0:00:00.000541064   171       0xbb4ef0 INFO                GST_INIT gstcontext.c:84:_priv_gst_context_initialize: init contexts
0:00:00.000657884   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:318:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.000722722   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:226:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.000731368   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:228:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.000740653   171       0xbb4ef0 INFO            GST_REGISTRY gstregistry.c:1733:ensure_current_registry: reading registry cache: /root/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.005417139   171       0xbb4ef0 INFO            GST_REGISTRY gstregistrybinary.c:621:priv_gst_registry_binary_read_cache: loaded /root/.cache/gstreamer-1.0/registry.x86_64.bin in 0.004658 seconds
0:00:00.005446898   171       0xbb4ef0 INFO            GST_REGISTRY gstregistry.c:1592:scan_and_update_registry: Validating plugins from registry cache: /root/.cache/gstreamer-1.0/registry.x86_64.bin
0:00:00.006519416   171       0xbb4ef0 INFO            GST_REGISTRY gstregistry.c:1691:scan_and_update_registry: Registry cache has not changed
0:00:00.006527726   171       0xbb4ef0 INFO            GST_REGISTRY gstregistry.c:1768:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.006532970   171       0xbb4ef0 INFO                GST_INIT gst.c:806:init_post: GLib runtime version: 2.64.6
0:00:00.006538239   171       0xbb4ef0 INFO                GST_INIT gst.c:808:init_post: GLib headers version: 2.64.6
0:00:00.006541712   171       0xbb4ef0 INFO                GST_INIT gst.c:810:init_post: initialized GStreamer successfully
Creating Pipeline
0:00:00.031976117   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_multistream.so" loaded
0:00:00.031989820   171       0xbb4ef0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "nvstreammux" named "Stream-muxer"
0:00:00.032190626   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstNvStreamMux@0x144a020> adding pad 'src'
Creating streamux
Creating Pgie
0:00:00.067412628   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_infer.so" loaded
0:00:00.067434428   171       0xbb4ef0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "nvinfer" named "primary-inference"
0:00:00.067578585   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x2029740> adding pad 'sink'
0:00:00.067612187   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x2029740> adding pad 'src'
Creating nvvidconv
0:00:00.068620089   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libgstnvvideoconvert.so" loaded
0:00:00.068631073   171       0xbb4ef0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "nvvideoconvert" named "convertor"
0:00:00.068717204   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x202f760> adding pad 'sink'
0:00:00.068728310   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x202f760> adding pad 'src'
0:00:00.069372096   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:00.069383550   171       0xbb4ef0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "capsfilter" named "filter"
0:00:00.069414503   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x20202e0> adding pad 'sink'
0:00:00.069427946   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x20202e0> adding pad 'src'
0:00:00.069542224   171       0xbb4ef0 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
Creating nvosd
0:00:00.071468470   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_osd.so" loaded
0:00:00.071480383   171       0xbb4ef0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "nvdsosd" named "onscreendisplay"
0:00:00.071528295   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x206a2b0> adding pad 'sink'
0:00:00.071539683   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseTransform@0x206a2b0> adding pad 'src'
creating sink
0:00:00.071927663   171       0xbb4ef0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "fakesink" named "fakesink"
0:00:00.072045575   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSink@0x211cac0> adding pad 'sink'
Adding elements to Pipeline 

linking elements to pipline
0:00:00.072496399   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstutils.c:1771:gst_element_link_pads_full: trying to link element Stream-muxer:(any) to element primary-inference:(any)
0:00:00.072507854   171       0xbb4ef0 INFO                GST_PADS gstutils.c:1034:gst_pad_check_link: trying to link Stream-muxer:src and primary-inference:sink
0:00:00.072535278   171       0xbb4ef0 INFO                GST_PADS gstpad.c:4237:gst_pad_peer_query:<primary-inference:src> pad has no peer
0:00:00.072568278   171       0xbb4ef0 INFO                GST_PADS gstutils.c:1587:prepare_link_maybe_ghosting: Stream-muxer and primary-inference in same bin, no need for ghost pads
0:00:00.072578997   171       0xbb4ef0 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link Stream-muxer:src and primary-inference:sink
0:00:00.072585808   171       0xbb4ef0 INFO                GST_PADS gstpad.c:4237:gst_pad_peer_query:<primary-inference:src> pad has no peer
0:00:00.072611954   171       0xbb4ef0 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked Stream-muxer:src and primary-inference:sink, successful
0:00:00.072633730   171       0xbb4ef0 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:00.072638690   171       0xbb4ef0 INFO               GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<Stream-muxer:src> Received event on flushing pad. Discarding
0:00:00.072649275   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstutils.c:1771:gst_element_link_pads_full: trying to link element primary-inference:(any) to element convertor:(any)
0:00:00.072655581   171       0xbb4ef0 INFO                GST_PADS gstutils.c:1034:gst_pad_check_link: trying to link primary-inference:src and convertor:sink
0:00:00.072668556   171       0xbb4ef0 INFO                GST_PADS gstpad.c:4237:gst_pad_peer_query:<convertor:src> pad has no peer
0:00:00.072728446   171       0xbb4ef0 INFO                GST_PADS gstutils.c:1587:prepare_link_maybe_ghosting: primary-inference and convertor in same bin, no need for ghost pads
0:00:00.072735795   171       0xbb4ef0 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link primary-inference:src and convertor:sink
0:00:00.072747578   171       0xbb4ef0 INFO                GST_PADS gstpad.c:4237:gst_pad_peer_query:<convertor:src> pad has no peer
0:00:00.072770687   171       0xbb4ef0 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked primary-inference:src and convertor:sink, successful
0:00:00.072776677   171       0xbb4ef0 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:00.072781346   171       0xbb4ef0 INFO               GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<primary-inference:src> Received event on flushing pad. Discarding
0:00:00.072790819   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstutils.c:1771:gst_element_link_pads_full: trying to link element convertor:(any) to element filter:(any)
0:00:00.072797074   171       0xbb4ef0 INFO                GST_PADS gstutils.c:1034:gst_pad_check_link: trying to link convertor:src and filter:sink
0:00:00.072822612   171       0xbb4ef0 INFO                GST_PADS gstpad.c:4237:gst_pad_peer_query:<filter:src> pad has no peer
0:00:00.072831463   171       0xbb4ef0 INFO                GST_PADS gstutils.c:1587:prepare_link_maybe_ghosting: convertor and filter in same bin, no need for ghost pads
0:00:00.072838623   171       0xbb4ef0 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link convertor:src and filter:sink
0:00:00.072865150   171       0xbb4ef0 INFO                GST_PADS gstpad.c:4237:gst_pad_peer_query:<filter:src> pad has no peer
0:00:00.072873923   171       0xbb4ef0 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked convertor:src and filter:sink, successful
0:00:00.072878770   171       0xbb4ef0 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:00.072883249   171       0xbb4ef0 INFO               GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<convertor:src> Received event on flushing pad. Discarding
0:00:00.072892414   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstutils.c:1771:gst_element_link_pads_full: trying to link element filter:(any) to element onscreendisplay:(any)
0:00:00.072898799   171       0xbb4ef0 INFO                GST_PADS gstutils.c:1034:gst_pad_check_link: trying to link filter:src and onscreendisplay:sink
0:00:00.072927336   171       0xbb4ef0 INFO                GST_PADS gstpad.c:4237:gst_pad_peer_query:<onscreendisplay:src> pad has no peer
0:00:00.072940807   171       0xbb4ef0 INFO                GST_PADS gstutils.c:1587:prepare_link_maybe_ghosting: filter and onscreendisplay in same bin, no need for ghost pads
0:00:00.072949665   171       0xbb4ef0 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link filter:src and onscreendisplay:sink
0:00:00.072977884   171       0xbb4ef0 INFO                GST_PADS gstpad.c:4237:gst_pad_peer_query:<onscreendisplay:src> pad has no peer
0:00:00.072990371   171       0xbb4ef0 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked filter:src and onscreendisplay:sink, successful
0:00:00.072995041   171       0xbb4ef0 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:00.072999485   171       0xbb4ef0 INFO               GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<filter:src> Received event on flushing pad. Discarding
0:00:00.073008525   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstutils.c:1771:gst_element_link_pads_full: trying to link element onscreendisplay:(any) to element fakesink:(any)
0:00:00.073014684   171       0xbb4ef0 INFO                GST_PADS gstutils.c:1034:gst_pad_check_link: trying to link onscreendisplay:src and fakesink:sink
0:00:00.073049985   171       0xbb4ef0 INFO                GST_PADS gstutils.c:1587:prepare_link_maybe_ghosting: onscreendisplay and fakesink in same bin, no need for ghost pads
0:00:00.073057462   171       0xbb4ef0 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link onscreendisplay:src and fakesink:sink
0:00:00.073093523   171       0xbb4ef0 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked onscreendisplay:src and fakesink:sink, successful
0:00:00.073098910   171       0xbb4ef0 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:00.073103404   171       0xbb4ef0 INFO               GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<onscreendisplay:src> Received event on flushing pad. Discarding
0:00:00.073509477   171       0xbb4ef0 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad onscreendisplay:sink
0:00:00.074216534   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2090:gst_bin_get_state_func:<pipeline0> getting state
(<enum GST_STATE_CHANGE_SUCCESS of type Gst.StateChangeReturn>, state=<enum GST_STATE_NULL of type Gst.State>, pending=<enum GST_STATE_VOID_PENDING of type Gst.State>)
0:00:00.074281059   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<fakesink> current NULL pending VOID_PENDING, desired next READY
0:00:00.074289968   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<fakesink> completed state change to READY
0:00:00.074296042   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<fakesink> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.074324919   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'fakesink' changed state to 2(READY) successfully
0:00:00.074348938   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<onscreendisplay> current NULL pending VOID_PENDING, desired next READY
0:00:00.074354517   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<onscreendisplay> completed state change to READY
0:00:00.074359741   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<onscreendisplay> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.074366621   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'onscreendisplay' changed state to 2(READY) successfully
0:00:00.074372435   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<filter> current NULL pending VOID_PENDING, desired next READY
0:00:00.074377701   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<filter> completed state change to READY
0:00:00.074382740   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<filter> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.074391563   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'filter' changed state to 2(READY) successfully
0:00:00.074397339   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<convertor> current NULL pending VOID_PENDING, desired next READY
0:00:00.074402653   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<convertor> completed state change to READY
0:00:00.074407485   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<convertor> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.074413505   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'convertor' changed state to 2(READY) successfully
0:00:00.074419149   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<primary-inference> current NULL pending VOID_PENDING, desired next READY
0:00:00.074424168   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<primary-inference> completed state change to READY
0:00:00.074429485   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<primary-inference> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.074435499   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'primary-inference' changed state to 2(READY) successfully
0:00:00.074440780   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<Stream-muxer> current NULL pending VOID_PENDING, desired next READY
0:00:00.117396186   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<Stream-muxer> completed state change to READY
0:00:00.117413258   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<Stream-muxer> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.117429446   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'Stream-muxer' changed state to 2(READY) successfully
0:00:00.117438332   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:00.117443715   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY (PAUSED pending)
0:00:00.117449353   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
0:00:00.117462849   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<fakesink> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.117474388   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2959:gst_bin_change_state_func:<pipeline0> child 'fakesink' is changing state asynchronously to PAUSED
0:00:00.117480440   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<onscreendisplay> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.117658175   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<onscreendisplay> completed state change to PAUSED
0:00:00.117664955   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<onscreendisplay> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.117673674   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'onscreendisplay' changed state to 3(PAUSED) successfully
0:00:00.117707287   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<filter> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.117716859   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<filter> completed state change to PAUSED
0:00:00.117721462   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<filter> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.117727508   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'filter' changed state to 3(PAUSED) successfully
0:00:00.117733056   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<convertor> current READY pending VOID_PENDING, desired next PAUSED
0:00:00.117741021   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<convertor> completed state change to PAUSED
0:00:00.117761150   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<convertor> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.117785481   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'convertor' changed state to 3(PAUSED) successfully
0:00:00.117791037   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<primary-inference> 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:01.852258859   171       0xbb4ef0 INFO                 nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1909> [UID = 1]: deserialized trt engine from :/test/models/resnet10.caffemodel_b1_gpu0_int8.engine
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 3
0   INPUT  kFLOAT input_1         3x368x640       
1   OUTPUT kFLOAT conv2d_bbox     16x23x40        
2   OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40         

0:00:01.862396082   171       0xbb4ef0 WARN                 nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::checkBackendParams() <nvdsinfer_context_impl.cpp:1841> [UID = 1]: Backend has maxBatchSize 1 whereas 12 has been requested
0:00:01.862539491   171       0xbb4ef0 WARN                 nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2018> [UID = 1]: deserialized backend context :/test/models/resnet10.caffemodel_b1_gpu0_int8.engine failed to match config params, trying rebuild
0:00:01.863779549   171       0xbb4ef0 INFO                 nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1923> [UID = 1]: Trying to create engine from model files
WARNING: [TRT]: The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
0:00:32.262393265   171       0xbb4ef0 INFO                 nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<primary-inference> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1955> [UID = 1]: serialize cuda engine to file: /test/models/resnet10.caffemodel_b12_gpu0_int8.engine successfully
INFO: ../nvdsinfer/nvdsinfer_model_builder.cpp:610 [Implicit Engine Info]: layers num: 3
0   INPUT  kFLOAT input_1         3x368x640       
1   OUTPUT kFLOAT conv2d_bbox     16x23x40        
2   OUTPUT kFLOAT conv2d_cov/Sigmoid 4x23x40         

0:00:32.275641805   171       0xbb4ef0 INFO                 nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<primary-inference> [UID 1]: Load new model:model_config.txt sucessfully
0:00:32.275663711   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<primary-inference> completed state change to PAUSED
0:00:32.275671250   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<primary-inference> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:32.275682417   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'primary-inference' changed state to 3(PAUSED) successfully
0:00:32.275690415   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2503:gst_bin_element_set_state:<Stream-muxer> current READY pending VOID_PENDING, desired next PAUSED
0:00:32.275771266   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<Stream-muxer> completed state change to PAUSED
0:00:32.275778488   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<Stream-muxer> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:32.275786167   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2952:gst_bin_change_state_func:<pipeline0> child 'Stream-muxer' changed state to 3(PAUSED) successfully
0:00:32.275816501   171       0xbb4ef0 INFO              GST_STATES gstbin.c:2090:gst_bin_get_state_func:<pipeline0> getting state
0:00:32.275822514   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2404:gst_element_get_state_func:<pipeline0> waiting for element to commit state
0:00:32.275827398   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2419:gst_element_get_state_func:<pipeline0> timed out
(<enum GST_STATE_CHANGE_ASYNC of type Gst.StateChangeReturn>, state=<enum GST_STATE_READY of type Gst.State>, pending=<enum GST_STATE_PAUSED of type Gst.State>)
Starting pipeline 

0:00:33.276758478   171      0x2045260 INFO              GST_STATES gstbin.c:2090:gst_bin_get_state_func:<pipeline0> getting state
0:00:33.276848440   171      0x2045260 INFO              GST_STATES gstelement.c:2404:gst_element_get_state_func:<pipeline0> waiting for element to commit state
0:00:33.276875228   171      0x2045260 INFO              GST_STATES gstelement.c:2419:gst_element_get_state_func:<pipeline0> timed out
(<enum GST_STATE_CHANGE_ASYNC of type Gst.StateChangeReturn>, state=<enum GST_STATE_READY of type Gst.State>, pending=<enum GST_STATE_PLAYING of type Gst.State>)
debug--------------------------------> adding  source
Calling Start 1 
creating uridecodebin forrtsp://admin:123456@192.168.99.81
source-bin-01
0:00:42.286231234   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstplayback.so" loaded
0:00:42.286246347   171       0xbb4ef0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "uridecodebin" named "source-bin-01"
0:00:42.286481811   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<source-bin-01> committing state from NULL to READY, pending PLAYING, next PAUSED
0:00:42.286492489   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<source-bin-01> notifying about state-changed NULL to READY (PLAYING pending)
0:00:42.286508108   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<source-bin-01> continue state change READY to PAUSED, final PLAYING
0:00:42.287074856   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtsp.so" loaded
0:00:42.287085070   171       0xbb4ef0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "rtspsrc" named "source"
0:00:42.287494257   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrealmedia.so" loaded
0:00:42.287504184   171       0xbb4ef0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtspreal"
0:00:42.287808840   171       0xbb4ef0 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstasf.so" loaded
0:00:42.287818080   171       0xbb4ef0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtspwms"
Decodebin child added: source
0:00:42.288114499   171       0xbb4ef0 INFO                    task gsttask.c:460:gst_task_set_lock: setting stream lock 0x14ecc948 on task 0x14cc74d0
0:00:42.288126983   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<source> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:42.288134483   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<source> notifying about state-changed NULL to READY (PAUSED pending)
0:00:42.288150291   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<source> continue state change READY to PAUSED, final PAUSED
0:00:42.288199431   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<source> completed state change to PAUSED
0:00:42.288207163   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<source> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:42.288222174   171       0xbb4ef0 INFO              GST_STATES gstbin.c:3421:bin_handle_async_done:<source-bin-01> committing state from READY to PAUSED, old pending PLAYING
0:00:42.288226945   171       0xbb4ef0 INFO              GST_STATES gstbin.c:3444:bin_handle_async_done:<source-bin-01> completed state change, pending VOID
0:00:42.288232071   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<source-bin-01> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:42.288240719   171       0xbb4ef0 INFO              GST_STATES gstelement.c:2679:gst_element_continue_state:<source-bin-01> nothing pending
STATE CHANGE NO PREROLL

0:00:42.293766306   171      0x1245180 INFO                 rtspsrc gstrtspsrc.c:7788:gst_rtspsrc_retrieve_sdp:<source> Now using version: 1.0
0:00:42.299504990   171      0x1245180 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstudp.so" loaded
0:00:42.299519806   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsrc"
0:00:42.299605656   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSrc@0x7f43540231e0> adding pad 'src'
0:00:42.299658733   171      0x1245180 INFO                  udpsrc gstudpsrc.c:1420:gst_udpsrc_open:<udpsrc0> setting udp buffer of 524288 bytes
0:00:42.299668450   171      0x1245180 INFO                  udpsrc gstudpsrc.c:1439:gst_udpsrc_open:<udpsrc0> forcibly setting udp buffer of 524288 bytes
0:00:42.299677963   171      0x1245180 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:42.299688929   171      0x1245180 INFO        GST_ERROR_SYSTEM gstelement.c:2153:gst_element_message_full_with_details:<udpsrc0> posting message: Could not get/set settings from/on resource.
0:00:42.299697939   171      0x1245180 INFO        GST_ERROR_SYSTEM gstelement.c:2180:gst_element_message_full_with_details:<udpsrc0> posted warning message: Could not get/set settings from/on resource.
0:00:42.299705421   171      0x1245180 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<udpsrc0> have udp buffer of 212992 bytes while 524288 were requested
0:00:42.299717888   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<udpsrc0> completed state change to READY
0:00:42.299726631   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<udpsrc0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:42.299779145   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsrc"
0:00:42.299791392   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSrc@0x7f43540268d0> adding pad 'src'
0:00:42.299825684   171      0x1245180 INFO                  udpsrc gstudpsrc.c:1459:gst_udpsrc_open:<udpsrc1> have udp buffer of 106496 bytes
0:00:42.299836847   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<udpsrc1> completed state change to READY
0:00:42.299843912   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<udpsrc1> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:42.302570872   171      0x1245180 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtpmanager.so" loaded
0:00:42.302583449   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:360:gst_element_factory_create: creating element "rtpbin" named "manager"
0:00:42.302740684   171      0x1245180 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<manager> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:42.302750812   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<manager> notifying about state-changed NULL to READY (PAUSED pending)
0:00:42.302767442   171      0x1245180 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<manager> continue state change READY to PAUSED, final PAUSED
0:00:42.302775702   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<manager> completed state change to PAUSED
0:00:42.302781234   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<manager> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:42.302811566   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'recv_rtp_sink_0' in element "manager"
0:00:42.302831298   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtpsession"
0:00:42.302992987   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtpssrcdemux"
0:00:42.303029580   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstRtpSsrcDemux@0x13a12b0> adding pad 'sink'
0:00:42.303039711   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstRtpSsrcDemux@0x13a12b0> adding pad 'rtcp_sink'
0:00:42.303575860   171      0x1245180 INFO      GST_PLUGIN_LOADING gstplugin.c:902:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstrtp.so" loaded
0:00:42.303589006   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtpstorage"
0:00:42.303631448   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstRtpStorage@0x14cc75a0> adding pad 'src'
0:00:42.303639344   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstRtpStorage@0x14cc75a0> adding pad 'sink'
0:00:42.303696305   171      0x1245180 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<rtpssrcdemux0> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:42.303704875   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpssrcdemux0> notifying about state-changed NULL to READY (PAUSED pending)
0:00:42.303717941   171      0x1245180 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<rtpssrcdemux0> continue state change READY to PAUSED, final PAUSED
0:00:42.303727017   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<rtpssrcdemux0> completed state change to PAUSED
0:00:42.303732942   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpssrcdemux0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:42.303744867   171      0x1245180 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<rtpsession0> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:42.303751192   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpsession0> notifying about state-changed NULL to READY (PAUSED pending)
0:00:42.303759789   171      0x1245180 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<rtpsession0> continue state change READY to PAUSED, final PAUSED
0:00:42.303765696   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<rtpsession0> completed state change to PAUSED
0:00:42.303772984   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpsession0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:42.303783999   171      0x1245180 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<rtpstorage0> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:42.303790370   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpstorage0> notifying about state-changed NULL to READY (PAUSED pending)
0:00:42.303813892   171      0x1245180 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<rtpstorage0> continue state change READY to PAUSED, final PAUSED
0:00:42.303823546   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<rtpstorage0> completed state change to PAUSED
0:00:42.303829639   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpstorage0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:42.303840132   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'recv_rtp_sink' in element "rtpsession0"
0:00:42.303856069   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<rtpsession0> adding pad 'recv_rtp_sink'
0:00:42.303868377   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<rtpsession0> adding pad 'recv_rtp_src'
0:00:42.303904116   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link recv_rtp_sink_0:proxypad0 and rtpsession0:recv_rtp_sink
0:00:42.303912982   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked recv_rtp_sink_0:proxypad0 and rtpsession0:recv_rtp_sink, successful
0:00:42.303918464   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.303928807   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<manager> adding pad 'recv_rtp_sink_0'
0:00:42.303938472   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpsession0:recv_rtp_src
0:00:42.303945946   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpstorage0:sink
0:00:42.303954309   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link rtpsession0:recv_rtp_src and rtpstorage0:sink
0:00:42.303964554   171      0x1245180 INFO                GST_PADS gstpad.c:4237:gst_pad_peer_query:<rtpstorage0:src> pad has no peer
0:00:42.303972980   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked rtpsession0:recv_rtp_src and rtpstorage0:sink, successful
0:00:42.303978304   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.303988220   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpstorage0:src
0:00:42.303994702   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpssrcdemux0:sink
0:00:42.304002254   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link rtpstorage0:src and rtpssrcdemux0:sink
0:00:42.304008884   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked rtpstorage0:src and rtpssrcdemux0:sink, successful
0:00:42.304017839   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.304032153   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'recv_rtcp_sink_0' in element "manager"
0:00:42.304040345   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'recv_rtcp_sink' in element "rtpsession0"
0:00:42.304054524   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<rtpsession0> adding pad 'recv_rtcp_sink'
0:00:42.304066012   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<rtpsession0> adding pad 'sync_src'
0:00:42.304077847   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpsession0:sync_src
0:00:42.304084099   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpssrcdemux0:rtcp_sink
0:00:42.304092224   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link rtpsession0:sync_src and rtpssrcdemux0:rtcp_sink
0:00:42.304098875   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked rtpsession0:sync_src and rtpssrcdemux0:rtcp_sink, successful
0:00:42.304103775   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.304119209   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link recv_rtcp_sink_0:proxypad1 and rtpsession0:recv_rtcp_sink
0:00:42.304126187   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked recv_rtcp_sink_0:proxypad1 and rtpsession0:recv_rtcp_sink, successful
0:00:42.304130840   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.304139315   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<manager> adding pad 'recv_rtcp_sink_0'
0:00:42.304157359   171      0x1245180 INFO                 rtspsrc gstrtspsrc.c:3953:gst_rtspsrc_stream_configure_manager:<source> configure bandwidth in session 0x2020f10
0:00:42.304166656   171      0x1245180 INFO                 rtspsrc gstrtspsrc.c:3958:gst_rtspsrc_stream_configure_manager:<source> setting AS: 3000.000000
0:00:42.304193873   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad udpsrc0:src
0:00:42.304204462   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link udpsrc0:src and manager:recv_rtp_sink_0
0:00:42.304211232   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked udpsrc0:src and manager:recv_rtp_sink_0, successful
0:00:42.304216017   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.304221451   171      0x1245180 INFO               GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<udpsrc0:src> Received event on flushing pad. Discarding
0:00:42.304235715   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad udpsrc1:src
0:00:42.304248089   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link udpsrc1:src and manager:recv_rtcp_sink_0
0:00:42.304254799   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked udpsrc1:src and manager:recv_rtcp_sink_0, successful
0:00:42.304259607   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.304265424   171      0x1245180 INFO               GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<udpsrc1:src> Received event on flushing pad. Discarding
0:00:42.304311412   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsink"
0:00:42.304376515   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSink@0x7f4354049d40> adding pad 'sink'
0:00:42.304411397   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "fakesrc"
0:00:42.304469101   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSrc@0x7f435404c0e0> adding pad 'src'
0:00:42.304493981   171      0x1245180 INFO        GST_ELEMENT_PADS gstutils.c:1771:gst_element_link_pads_full: trying to link element fakesrc0:src to element udpsink0:sink
0:00:42.304500667   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad fakesrc0:src
0:00:42.304505929   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad udpsink0:sink
0:00:42.304512075   171      0x1245180 INFO                GST_PADS gstutils.c:1587:prepare_link_maybe_ghosting: fakesrc0 and udpsink0 in same bin, no need for ghost pads
0:00:42.304520378   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link fakesrc0:src and udpsink0:sink
0:00:42.304526910   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked fakesrc0:src and udpsink0:sink, successful
0:00:42.304531676   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.304536947   171      0x1245180 INFO               GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<fakesrc0:src> Received event on flushing pad. Discarding
0:00:42.304572653   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsink"
0:00:42.304592571   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSink@0x7f435404e530> adding pad 'sink'
0:00:42.304630436   171      0x1245180 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<udpsink1> committing state from NULL to READY, pending PLAYING, next PAUSED
0:00:42.304637867   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<udpsink1> notifying about state-changed NULL to READY (PLAYING pending)
0:00:42.304645806   171      0x1245180 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<udpsink1> continue state change READY to PAUSED, final PLAYING
0:00:42.304655262   171      0x1245180 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<udpsink1> committing state from READY to PAUSED, pending PLAYING, next PLAYING
0:00:42.304661513   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<udpsink1> notifying about state-changed READY to PAUSED (PLAYING pending)
0:00:42.304668406   171      0x1245180 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<udpsink1> continue state change PAUSED to PLAYING, final PLAYING
0:00:42.304674159   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<udpsink1> completed state change to PLAYING
0:00:42.304679733   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<udpsink1> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:42.304691150   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad udpsink1:sink
0:00:42.304699240   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'send_rtcp_src_0' in element "manager"
0:00:42.304706769   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'send_rtcp_src' in element "rtpsession0"
0:00:42.304722887   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<rtpsession0> adding pad 'send_rtcp_src'
0:00:42.304742254   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link rtpsession0:send_rtcp_src and send_rtcp_src_0:proxypad2
0:00:42.304754313   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked rtpsession0:send_rtcp_src and send_rtcp_src_0:proxypad2, successful
0:00:42.304759429   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.304769395   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<manager> adding pad 'send_rtcp_src_0'
0:00:42.304780109   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link manager:send_rtcp_src_0 and udpsink1:sink
0:00:42.304786580   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked manager:send_rtcp_src_0 and udpsink1:sink, successful
0:00:42.304791357   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.304835944   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsrc"
0:00:42.304848018   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSrc@0x7f4354053060> adding pad 'src'
0:00:42.304887573   171      0x1245180 INFO                  udpsrc gstudpsrc.c:1420:gst_udpsrc_open:<udpsrc2> setting udp buffer of 524288 bytes
0:00:42.304895717   171      0x1245180 INFO                  udpsrc gstudpsrc.c:1439:gst_udpsrc_open:<udpsrc2> forcibly setting udp buffer of 524288 bytes
0:00:42.304904231   171      0x1245180 WARN                  udpsrc gstudpsrc.c:1445:gst_udpsrc_open:<udpsrc2> warning: Could not create a buffer of requested 524288 bytes (Operation not permitted). Need net.admin privilege?
0:00:42.304913287   171      0x1245180 INFO        GST_ERROR_SYSTEM gstelement.c:2153:gst_element_message_full_with_details:<udpsrc2> posting message: Could not get/set settings from/on resource.
0:00:42.304921826   171      0x1245180 INFO        GST_ERROR_SYSTEM gstelement.c:2180:gst_element_message_full_with_details:<udpsrc2> posted warning message: Could not get/set settings from/on resource.
0:00:42.304929405   171      0x1245180 WARN                  udpsrc gstudpsrc.c:1455:gst_udpsrc_open:<udpsrc2> have udp buffer of 212992 bytes while 524288 were requested
0:00:42.304941374   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<udpsrc2> completed state change to READY
0:00:42.304948449   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<udpsrc2> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:42.304984067   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsrc"
0:00:42.304994648   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSrc@0x7f4354053480> adding pad 'src'
0:00:42.305027721   171      0x1245180 INFO                  udpsrc gstudpsrc.c:1459:gst_udpsrc_open:<udpsrc3> have udp buffer of 106496 bytes
0:00:42.305038520   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<udpsrc3> completed state change to READY
0:00:42.305045203   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<udpsrc3> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:42.307647243   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'recv_rtp_sink_1' in element "manager"
0:00:42.307666774   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtpsession"
0:00:42.307690144   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtpssrcdemux"
0:00:42.307704057   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstRtpSsrcDemux@0x13a13e0> adding pad 'sink'
0:00:42.307718097   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstRtpSsrcDemux@0x13a13e0> adding pad 'rtcp_sink'
0:00:42.307726456   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "rtpstorage"
0:00:42.307744636   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstRtpStorage@0x14cc76c0> adding pad 'src'
0:00:42.307750595   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstRtpStorage@0x14cc76c0> adding pad 'sink'
0:00:42.307797110   171      0x1245180 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<rtpssrcdemux1> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:42.307805946   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpssrcdemux1> notifying about state-changed NULL to READY (PAUSED pending)
0:00:42.307819462   171      0x1245180 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<rtpssrcdemux1> continue state change READY to PAUSED, final PAUSED
0:00:42.307828558   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<rtpssrcdemux1> completed state change to PAUSED
0:00:42.307834913   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpssrcdemux1> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:42.307851138   171      0x1245180 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<rtpsession1> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:42.307857955   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpsession1> notifying about state-changed NULL to READY (PAUSED pending)
0:00:42.307868058   171      0x1245180 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<rtpsession1> continue state change READY to PAUSED, final PAUSED
0:00:42.307873588   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<rtpsession1> completed state change to PAUSED
0:00:42.307878970   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpsession1> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:42.307891441   171      0x1245180 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<rtpstorage1> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:42.307902058   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpstorage1> notifying about state-changed NULL to READY (PAUSED pending)
0:00:42.307909377   171      0x1245180 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<rtpstorage1> continue state change READY to PAUSED, final PAUSED
0:00:42.307917924   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<rtpstorage1> completed state change to PAUSED
0:00:42.307924000   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<rtpstorage1> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:42.307932320   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'recv_rtp_sink' in element "rtpsession1"
0:00:42.307947090   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<rtpsession1> adding pad 'recv_rtp_sink'
0:00:42.307959355   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<rtpsession1> adding pad 'recv_rtp_src'
0:00:42.307980917   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link recv_rtp_sink_1:proxypad3 and rtpsession1:recv_rtp_sink
0:00:42.307988695   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked recv_rtp_sink_1:proxypad3 and rtpsession1:recv_rtp_sink, successful
0:00:42.307993604   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.308004442   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<manager> adding pad 'recv_rtp_sink_1'
0:00:42.308013247   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpsession1:recv_rtp_src
0:00:42.308019809   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpstorage1:sink
0:00:42.308027892   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link rtpsession1:recv_rtp_src and rtpstorage1:sink
0:00:42.308036897   171      0x1245180 INFO                GST_PADS gstpad.c:4237:gst_pad_peer_query:<rtpstorage1:src> pad has no peer
0:00:42.308045428   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked rtpsession1:recv_rtp_src and rtpstorage1:sink, successful
0:00:42.308051166   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.308061888   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpstorage1:src
0:00:42.308068363   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpssrcdemux1:sink
0:00:42.308075065   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link rtpstorage1:src and rtpssrcdemux1:sink
0:00:42.308081582   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked rtpstorage1:src and rtpssrcdemux1:sink, successful
0:00:42.308086756   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.308099127   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'recv_rtcp_sink_1' in element "manager"
0:00:42.308106885   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'recv_rtcp_sink' in element "rtpsession1"
0:00:42.308120862   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<rtpsession1> adding pad 'recv_rtcp_sink'
0:00:42.308133589   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<rtpsession1> adding pad 'sync_src'
0:00:42.308148357   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpsession1:sync_src
0:00:42.308154489   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad rtpssrcdemux1:rtcp_sink
0:00:42.308162703   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link rtpsession1:sync_src and rtpssrcdemux1:rtcp_sink
0:00:42.308169676   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked rtpsession1:sync_src and rtpssrcdemux1:rtcp_sink, successful
0:00:42.308174802   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.308190799   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link recv_rtcp_sink_1:proxypad4 and rtpsession1:recv_rtcp_sink
0:00:42.308198065   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked recv_rtcp_sink_1:proxypad4 and rtpsession1:recv_rtcp_sink, successful
0:00:42.308203359   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.308211766   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<manager> adding pad 'recv_rtcp_sink_1'
0:00:42.308222464   171      0x1245180 INFO                 rtspsrc gstrtspsrc.c:3953:gst_rtspsrc_stream_configure_manager:<source> configure bandwidth in session 0x2021250
0:00:42.308230765   171      0x1245180 INFO                 rtspsrc gstrtspsrc.c:3958:gst_rtspsrc_stream_configure_manager:<source> setting AS: 64000.000000
0:00:42.308251284   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad udpsrc2:src
0:00:42.308261386   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link udpsrc2:src and manager:recv_rtp_sink_1
0:00:42.308268094   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked udpsrc2:src and manager:recv_rtp_sink_1, successful
0:00:42.308273370   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.308279605   171      0x1245180 INFO               GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<udpsrc2:src> Received event on flushing pad. Discarding
0:00:42.308293331   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad udpsrc3:src
0:00:42.308301665   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link udpsrc3:src and manager:recv_rtcp_sink_1
0:00:42.308308170   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked udpsrc3:src and manager:recv_rtcp_sink_1, successful
0:00:42.308312976   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.308318077   171      0x1245180 INFO               GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<udpsrc3:src> Received event on flushing pad. Discarding
0:00:42.308355095   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsink"
0:00:42.308374032   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSink@0x7f43540579f0> adding pad 'sink'
0:00:42.308408054   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "fakesrc"
0:00:42.308418687   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSrc@0x7f435404c4c0> adding pad 'src'
0:00:42.308438979   171      0x1245180 INFO        GST_ELEMENT_PADS gstutils.c:1771:gst_element_link_pads_full: trying to link element fakesrc1:src to element udpsink2:sink
0:00:42.308445695   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad fakesrc1:src
0:00:42.308451305   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad udpsink2:sink
0:00:42.308456867   171      0x1245180 INFO                GST_PADS gstutils.c:1587:prepare_link_maybe_ghosting: fakesrc1 and udpsink2 in same bin, no need for ghost pads
0:00:42.308464852   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link fakesrc1:src and udpsink2:sink
0:00:42.308471334   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked fakesrc1:src and udpsink2:sink, successful
0:00:42.308476144   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.308481806   171      0x1245180 INFO               GST_EVENT gstpad.c:5812:gst_pad_send_event_unchecked:<fakesrc1:src> Received event on flushing pad. Discarding
0:00:42.308517331   171      0x1245180 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:363:gst_element_factory_create: creating element "udpsink"
0:00:42.308528119   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<GstBaseSink@0x7f435405aa70> adding pad 'sink'
0:00:42.308567533   171      0x1245180 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<udpsink3> committing state from NULL to READY, pending PLAYING, next PAUSED
0:00:42.308578967   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<udpsink3> notifying about state-changed NULL to READY (PLAYING pending)
0:00:42.308586665   171      0x1245180 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<udpsink3> continue state change READY to PAUSED, final PLAYING
0:00:42.308595664   171      0x1245180 INFO              GST_STATES gstelement.c:2660:gst_element_continue_state:<udpsink3> committing state from READY to PAUSED, pending PLAYING, next PLAYING
0:00:42.308603114   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<udpsink3> notifying about state-changed READY to PAUSED (PLAYING pending)
0:00:42.308609396   171      0x1245180 INFO              GST_STATES gstelement.c:2668:gst_element_continue_state:<udpsink3> continue state change PAUSED to PLAYING, final PLAYING
0:00:42.308614878   171      0x1245180 INFO              GST_STATES gstelement.c:2688:gst_element_continue_state:<udpsink3> completed state change to PLAYING
0:00:42.308620706   171      0x1245180 INFO              GST_STATES gstelement.c:2588:_priv_gst_element_state_changed:<udpsink3> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:42.308632853   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:928:gst_element_get_static_pad: found pad udpsink3:sink
0:00:42.308640289   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'send_rtcp_src_1' in element "manager"
0:00:42.308647740   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:925:gst_element_get_static_pad: no such pad 'send_rtcp_src' in element "rtpsession1"
0:00:42.308662107   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<rtpsession1> adding pad 'send_rtcp_src'
0:00:42.308680692   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link rtpsession1:send_rtcp_src and send_rtcp_src_1:proxypad5
0:00:42.308688322   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked rtpsession1:send_rtcp_src and send_rtcp_src_1:proxypad5, successful
0:00:42.308693445   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
0:00:42.308702838   171      0x1245180 INFO        GST_ELEMENT_PADS gstelement.c:671:gst_element_add_pad:<manager> adding pad 'send_rtcp_src_1'
0:00:42.308713031   171      0x1245180 INFO                GST_PADS gstpad.c:2377:gst_pad_link_prepare: trying to link manager:send_rtcp_src_1 and udpsink3:sink
0:00:42.308719855   171      0x1245180 INFO                GST_PADS gstpad.c:2585:gst_pad_link_full: linked manager:send_rtcp_src_1 and udpsink3:sink, successful
0:00:42.308724776   171      0x1245180 INFO               GST_EVENT gstevent.c:1579:gst_event_new_reconfigure: creating reconfigure event
       


as you said, testing h264 mp4/h265 mp4/rtsp, deepstream_rt_src_add_del without modification works fine. after commenting out that four lines code, testing rtsp failed. can you narrow down this issue?

  1. I did the same code modification. using h264 rtsp source, I can’t reproduce this halt issue.
  2. you can add log before " #for source_id in range(MAX_NUM_SOURCES)", from the code, the app will show video one by one, then go the function delete_sources.
  1. I got access to an h264 RTSP stream, I fed it to deepstream_rt_src_add_del (without any modification) and I got the following error
Error: gst-resource-error-quark: Unauthorized (15): gstrtspsrc.c(6540): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstURIDecodeBin:source-bin-00/GstRTSPSrc:source:
Unauthorized (401)

The RTSP streams works fine on VLC

  1. if possible can you run the code shared by me , deepstream.py (please comment the kafka import ) using your RTSP stream.

yes , I can reproduce that “STATE CHANGE NO PREROLL” issue. noticing it is a custom code, can you modify deepstream_rt_src_add_del to reproduce this issue?

deepstream_rt_src_add_del.py (17.7 KB)
i have attached the modified code

compared with the working log, there is no “rtspsrc gstrtspsrc.c:8783:gst_rtspsrc_thread:e[00m got command PLAY” in no-working log, rtsp negotiation paused. will continue to check.

as the last comment said, there is no “PLAY” message in rtsp negotiation. I suppose it is related to element’s statechange.
based on your deepstream_rt_src_add_del.py, the app works after adding these code in add_sources. this issue would be outside of Deepstream, You could try asking in the Gstreamer Github or community.
Set state of source bin to playing
state_return = g_source_bin_list[source_id].set_state(Gst.State.READY)
state_return = g_source_bin_list[source_id].set_state(Gst.State.PAUSED)
state_return = g_source_bin_list[source_id].set_state(Gst.State.PLAYING)

1 Like