Graph Composer Multi Source Input Container Error

Please provide complete information as applicable to your setup.

Hardware Platform (Jetson / GPU) RTX3050
DeepStream Version 6.2
• JetPack Version (valid for Jetson only)
TensorRT Version 8.5.3
NVIDIA GPU Driver Version (valid for GPU only) 525.85.12
Issue Type( questions, new requirements, bugs) bug

Hi,

I’m using a Multi Source Input in my Graph. When running the graph locally from composer - all works as expected. However when I containerise the graph and launch the container locally - I get the following error. ( Missing parser: MPEG-4 AAC )

PS: With a single Source input the container runs fine.

See below console log…

2023-03-26 15:54:19.495 ERROR extensions/nvdsbase/nvds_scheduler.cpp@312: Error from /GstPipeline:NvDsScheduler-Pipeline/GstBin:Multi Source Input/Multi Source Input5/GstDsNvUriSrcBin:dsnvurisrcbin0/GstParseBin:aparsebin: Your GStreamer installation is missing a plug-in.
2023-03-26 15:54:19.495 ERROR extensions/nvdsbase/nvds_scheduler.cpp@314: Debug info:
gstparsebin.c(3486): gst_parse_bin_expose (): /GstPipeline:NvDsScheduler-Pipeline/GstBin:Multi Source Input/Multi Source Input5/GstDsNvUriSrcBin:dsnvurisrcbin0/GstParseBin:aparsebin:
no suitable plugins found:
Missing parser: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, stream-format=(string)raw, codec_data=(buffer)1588)

2023-03-26 15:54:19.495 ERROR extensions/nvdsbase/nvds_scheduler.cpp@349: Error from /GstPipeline:NvDsScheduler-Pipeline/GstBin:Multi Source Input/Multi Source Input5/GstDsNvUriSrcBin:dsnvurisrcbin0/GstParseBin:aparsebin: Your GStreamer installation is missing a plug-in.
2023-03-26 15:54:19.495 ERROR extensions/nvdsbase/nvds_scheduler.cpp@351: Debug info:
gstparsebin.c(3486): gst_parse_bin_expose (): /GstPipeline:NvDsScheduler-Pipeline/GstBin:Multi Source Input/Multi Source Input5/GstDsNvUriSrcBin:dsnvurisrcbin0/GstParseBin:aparsebin:
no suitable plugins found:
Missing parser: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, stream-format=(string)raw, codec_data=(buffer)1588)

Returned, stopping playback
2023-03-26 15:54:19.505 ERROR extensions/nvdsbase/nvds_scheduler.cpp@312: Error from /GstPipeline:NvDsScheduler-Pipeline/GstBin:Multi Source Input/Multi Source Input5/GstDsNvUriSrcBin:dsnvurisrcbin1/GstParseBin:aparsebin: Your GStreamer installation is missing a plug-in.
2023-03-26 15:54:19.505 ERROR extensions/nvdsbase/nvds_scheduler.cpp@314: Debug info:
gstparsebin.c(3486): gst_parse_bin_expose (): /GstPipeline:NvDsScheduler-Pipeline/GstBin:Multi Source Input/Multi Source Input5/GstDsNvUriSrcBin:dsnvurisrcbin1/GstParseBin:aparsebin:
no suitable plugins found:
Missing parser: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, stream-format=(string)raw, codec_data=(buffer)1588)

How can I resolve this?

Thanks!

Can the graph work after the error log output?

No - It does not - It seems the pipeline actually starts - but then crashes… Below is the full output…

2023-03-27 06:56:28.847 INFO  gxf/gxe/gxe.cpp@180: Creating context
2023-03-27 06:56:29.022 INFO  gxf/gxe/gxe.cpp@105: Loading app: 'One.yaml'
2023-03-27 06:56:29.022 INFO  gxf/std/yaml_file_loader.cpp@129: Loading GXF entities from YAML file 'One.yaml'...
2023-03-27 06:56:29.024 INFO  gxf/gxe/gxe.cpp@105: Loading app: 'parameters.yaml'
2023-03-27 06:56:29.024 INFO  gxf/std/yaml_file_loader.cpp@129: Loading GXF entities from YAML file 'parameters.yaml'...
2023-03-27 06:56:29.024 INFO  gxf/gxe/gxe.cpp@249: Initializing...

(gst-plugin-scanner:7): GStreamer-WARNING **: 06:56:29.042: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstopenmpt.so': libmpg123.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7): GStreamer-WARNING **: 06:56:29.053: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2enc.so': libmpeg2encpp-2.1.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7): GStreamer-WARNING **: 06:56:29.072: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpg123.so': libmpg123.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7): GStreamer-WARNING **: 06:56:29.106: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmpeg2dec.so': libmpeg2.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7): GStreamer-WARNING **: 06:56:29.140: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstchromaprint.so': libavcodec.so.58: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7): GStreamer-WARNING **: 06:56:29.319: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_inferserver.so': libtritonserver.so: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7): GStreamer-WARNING **: 06:56:29.337: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_ucx.so': libucs.so.0: cannot open shared object file: No such file or directory

(gst-plugin-scanner:7): GStreamer-WARNING **: 06:56:29.340: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/deepstream/libnvdsgst_udp.so': librivermax.so.0: cannot open shared object file: No such file or directory
2023-03-27 06:56:29.491 INFO  extensions/nvdsbase/nvds_scheduler.cpp@270: This program is linked against GStreamer 1.16.3 

2023-03-27 06:56:29.492 INFO  extensions/nvdsinference/nvinferbin.hpp@24: initialize: nvinferbin object_detector

2023-03-27 06:56:29.492 INFO  extensions/nvdsvisualization/nvosdbin.hpp@24: initialize: nvosdbin onscreen_display

2023-03-27 06:56:29.492 INFO  ./extensions/nvdsbase/tee.hpp@23: initialize: tee tee_1

2023-03-27 06:56:29.492 INFO  extensions/nvdsoutputsink/nvvideorenderersinkbin.hpp@24: initialize: nvvideorenderersinkbin video_renderer

2023-03-27 06:56:29.492 INFO  extensions/nvdscloudmsg/nvmsgbrokersinkbin.hpp@23: initialize: nvmsgbrokersinkbin Cloud Message Converter and Broker3

2023-03-27 06:56:29.492 INFO  extensions/nvdsmuxdemux/nvstreammux.hpp@27: initialize: nvstreammux streammux

2023-03-27 06:56:29.492 INFO  extensions/nvdsvisualization/nvtilerbin.hpp@37: initialize: nvtilerbin Video Tiler0

2023-03-27 06:56:29.492 INFO  gxf/gxe/gxe.cpp@256: Running...
2023-03-27 06:56:29.492 INFO  extensions/nvdsbase/nvds_scheduler.cpp@121: Scheduling 8 elements and 2 components
2023-03-27 06:56:29.492 INFO  extensions/nvdsinference/nvinferbin.hpp@32: create_element: nvinferbin object_detector

2023-03-27 06:56:29.550 INFO  extensions/nvdsinference/nvinferbin.hpp@56: bin_add: nvinferbin object_detector

2023-03-27 06:56:29.550 INFO  extensions/nvdsvisualization/nvosdbin.hpp@32: create_element: nvosdbin onscreen_display

2023-03-27 06:56:29.551 INFO  extensions/nvdsvisualization/nvosdbin.hpp@56: bin_add: nvosdbin onscreen_display

2023-03-27 06:56:29.551 INFO  ./extensions/nvdsbase/tee.hpp@31: create_element: tee tee_1

2023-03-27 06:56:29.551 INFO  ./extensions/nvdsbase/tee.hpp@55: bin_add: tee tee_1

2023-03-27 06:56:29.551 INFO  extensions/nvdsoutputsink/nvvideorenderersinkbin.hpp@32: create_element: nvvideorenderersinkbin video_renderer

2023-03-27 06:56:29.551 INFO  extensions/nvdsoutputsink/nvvideorenderersinkbin.hpp@54: bin_add: nvvideorenderersinkbin video_renderer

2023-03-27 06:56:29.551 INFO  extensions/nvdscloudmsg/nvmsgbrokersinkbin.hpp@31: create_element: nvmsgbrokersinkbin Cloud Message Converter and Broker3

2023-03-27 06:56:29.551 INFO  extensions/nvdscloudmsg/nvmsgbrokersinkbin.hpp@49: bin_add: nvmsgbrokersinkbin Cloud Message Converter and Broker3

2023-03-27 06:56:29.551 INFO  extensions/nvdsmuxdemux/nvstreammux.hpp@37: create_element: nvstreammux streammux

2023-03-27 06:56:29.552 INFO  extensions/nvdsmuxdemux/nvstreammux.hpp@61: bin_add: nvstreammux streammux

2023-03-27 06:56:29.552 INFO  extensions/nvdsvisualization/nvtilerbin.hpp@45: create_element: nvtilerbin Video Tiler0

2023-03-27 06:56:29.552 INFO  extensions/nvdsvisualization/nvtilerbin.hpp@69: bin_add: nvtilerbin Video Tiler0

2023-03-27 06:56:29.552 INFO  extensions/nvdssource/multi_uri_src_bin.cpp@343: create_element: NvDsMultiSrcInput Multi Source Input5

2023-03-27 06:56:29.552 INFO  extensions/nvdssource/multi_uri_src_bin.cpp@389: bin_add: bin Multi Source Input5

WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
WARNING: ../nvdsinfer/nvdsinfer_model_builder.cpp:1487 Deserialize engine failed because file path: /workspace/One/gxf/sample_models/primary.resnet10.caffemodel_b1_gpu0_int8.engine open error
0:00:04.952767192     1 0x7f3ca159be00 WARN                 nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<nvinfer_bin_nvinfer> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1897> [UID = 1]: deserialize engine from file :/workspace/One/gxf/sample_models/primary.resnet10.caffemodel_b1_gpu0_int8.engine failed
0:00:05.002643126     1 0x7f3ca159be00 WARN                 nvinfer gstnvinfer.cpp:677:gst_nvinfer_logger:<nvinfer_bin_nvinfer> NvDsInferContext[UID 1]: Warning from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:2002> [UID = 1]: deserialize backend context from engine from file :/workspace/One/gxf/sample_models/primary.resnet10.caffemodel_b1_gpu0_int8.engine failed, try rebuild
0:00:05.002658181     1 0x7f3ca159be00 INFO                 nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<nvinfer_bin_nvinfer> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1923> [UID = 1]: Trying to create engine from model files
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
WARNING: [TRT]: The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
0:00:26.861477710     1 0x7f3ca159be00 INFO                 nvinfer gstnvinfer.cpp:680:gst_nvinfer_logger:<nvinfer_bin_nvinfer> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::buildModel() <nvdsinfer_context_impl.cpp:1955> [UID = 1]: serialize cuda engine to file: /workspace/One/gxf/sample_models/primary.resnet10.caffemodel_b2_gpu0_int8.engine successfully
WARNING: [TRT]: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars
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:26.915761485     1 0x7f3ca159be00 INFO                 nvinfer gstnvinfer_impl.cpp:328:notifyLoadModelStatus:<nvinfer_bin_nvinfer> [UID 1]: Load new model:/workspace/One/gxf/sample_models/config_infer_primary.txt sucessfully
Running...
****** NvDsScheduler Runtime Keyboard controls:
p: Pause pipeline
r: Resume pipeline
q: Quit pipeline
2023-03-27 06:56:55.941 INFO  extensions/nvdsbase/nvds_scheduler.cpp@398: NvDsScheduler Pipeline ready

2023-03-27 06:56:55.941 INFO  extensions/nvdsbase/nvds_scheduler.cpp@383: NvDsScheduler Pipeline running

Warning: Color primaries 5 not present and will be treated BT.601
2023-03-27 06:56:56.272 ERROR extensions/nvdsbase/nvds_scheduler.cpp@312: Error from /GstPipeline:NvDsScheduler-Pipeline/GstBin:Multi Source Input/Multi Source Input5/GstDsNvUriSrcBin:dsnvurisrcbin0/GstParseBin:aparsebin: Your GStreamer installation is missing a plug-in.
2023-03-27 06:56:56.272 ERROR extensions/nvdsbase/nvds_scheduler.cpp@314: Debug info:
gstparsebin.c(3486): gst_parse_bin_expose (): /GstPipeline:NvDsScheduler-Pipeline/GstBin:Multi Source Input/Multi Source Input5/GstDsNvUriSrcBin:dsnvurisrcbin0/GstParseBin:aparsebin:
no suitable plugins found:
Missing parser: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, stream-format=(string)raw, codec_data=(buffer)1588)

Warning: Color primaries 5 not present and will be treated BT.601
Returned, stopping playback
Source 0: Frame Number = 0 Total objects = 0 [ ]
Source 0: Frame Number = 1 Total objects = 0 [ ]
2023-03-27 06:56:56.419 ERROR extensions/nvdsbase/nvds_scheduler.cpp@312: Error from /GstPipeline:NvDsScheduler-Pipeline/GstBin:Multi Source Input/Multi Source Input5/GstDsNvUriSrcBin:dsnvurisrcbin1/GstParseBin:aparsebin: Your GStreamer installation is missing a plug-in.
2023-03-27 06:56:56.419 ERROR extensions/nvdsbase/nvds_scheduler.cpp@314: Debug info:
gstparsebin.c(3486): gst_parse_bin_expose (): /GstPipeline:NvDsScheduler-Pipeline/GstBin:Multi Source Input/Multi Source Input5/GstDsNvUriSrcBin:dsnvurisrcbin1/GstParseBin:aparsebin:
no suitable plugins found:
Missing parser: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, stream-format=(string)raw, codec_data=(buffer)1588)

Source 0: Frame Number = 2 Total objects = 0 [ ]
Deleting pipeline
2023-03-27 06:56:56.586 INFO  gxf/gxe/gxe.cpp@278: Deinitializing...
2023-03-27 06:56:56.587 INFO  gxf/gxe/gxe.cpp@285: Destroying context
2023-03-27 06:56:56.587 INFO  gxf/gxe/gxe.cpp@291: Context destroyed.

Ok - I think I have found a solution - my IP cameras audio codec was set to was set to AAC - I switched them to PCM and now the container can run.

What are the audio codec limitations on the base containers? Locally the graph would run fine with the AAC codec - but in the container it would only work when I switched my cameras over to PCM?

PS - I think when I was running the single source container - I was just testing with an mp4 that comes with the demo app - that is why it was working - If I switched to my rtsp stream - the same issue occurred on the single source container.

What is your pipeline?

I don’t think It’s pipeline related - but related to the audio codec. We can close the issue for now. Thanks!

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