Gstreamer-plugins issue in nano

Hi,
i am using deepstream-4.0.2 in jetson nano with latest jetpack4.3.

I built objectDetector_Yolo. And it was running good.

All of sudden due to some extra library installation for some other project, some gstreamer-plugins are missing now.

Now there are errors regarding different test cases-

  1. on running deepstream-app -c deepstream_app_config_yoloV2.txt
    error-
    0:00:00.097245014 28208 0x5585bb0200 WARN GST_ELEMENT_FACTORY gstelementfactory.c:456:gst_element_factory_make: no such element factory “nvv4l2h264enc”!
    **** ERROR: <create_encode_file_bin:325>: Failed to create ‘sink_sub_bin_encoder1’**
    **** ERROR: <create_encode_file_bin:395>: create_encode_file_bin failed**
    **** ERROR: <create_sink_bin:662>: create_sink_bin failed**
    **** ERROR: <create_processing_instance:705>: create_processing_instance failed**
    **** ERROR: <create_pipeline:1045>: create_pipeline failed**
    **** ERROR: main:632: Failed to create pipeline**
    Quitting

Note-
Same objectDetector_Yolo is running on disabling “sink”.

  1. running “gst-launch-1.0 filesrc location=…/…/samples/streams/sample_1080p_h264.mp4 ! decodebin ! m.sink_0 nvstreammux name=m batch-size=1 width=1280 height=720 ! nvinfer config-file-path= config_infer_primary_ssd.txt ! nvvideoconvert ! nvdsosd ! nvegltransform ! nveglglessink”

error-
0:00:00.164602347 28294 0x55666dc6f0 WARN GST_ELEMENT_FACTORY gstelementfactory.c:456:gst_element_factory_make: no such element factory “nvegltransform”!
0:00:00.164676515 28294 0x55666dc6f0 ERROR GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "nvegltransform"
0:00:00.164711047 28294 0x55666dc6f0 ERROR GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no sink [source=@0x5566708190]
0:00:00.164746985 28294 0x55666dc6f0 WARN GST_ELEMENT_FACTORY gstelementfactory.c:456:gst_element_factory_make: no such element factory “nveglglessink”!
0:00:00.164775267 28294 0x55666dc6f0 ERROR GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "nveglglessink"
0:00:00.164801569 28294 0x55666dc6f0 ERROR GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no source [sink=@(nil)]
WARNING: erroneous pipeline: no element "nvegltransform"

I tried reinstalling gstreamer-plugins also but same result.
Any suggesstion.
Thanks.

Hi,
Please clean the cache and try again.
If the application encounters errors and cannot create Gst elements, remove the GStreamer cache, then try again. To remove the GStreamer cache, enter this command:
$ rm ${HOME}/.cache/gstreamer-1.0/registry.aarch64.bin

1 Like