Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) - Jetson Nano • DeepStream Version - 6.0.1 • JetPack Version (valid for Jetson only) - 4.6.3 • TensorRT Version - 8.4 • NVIDIA GPU Driver Version (valid for GPU only) - 10.2 • Issue Type( questions, new requirements, bugs) - when i try to execute deepstream test 5 smart record event in c object detection is working fine but when i change the code anything could not get any result so what i want to change in that code or configuration and where should i check it how to solve this problem.
• 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) - this is actually not bugs and deepstream test 5 smart record in c • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description) - source - plugi :RTSP,inference-plugin-object detection
So by default deepstream_test5 can work correctly, but not working after you modify somewhere? Can you elaborate the code you modified? And please also provide the full log when the error happens.
Actually when i change in configuration of deep stream test 5 smart record so it is updating output e.g duration of the record but when i try to access class id i could not access and it does not print anything in terminal what should i focus on that code
. Thanking you
jetson@ubuntu:~/Documents/deepstream-test51$ sudo make
cc -o deepstream-test5-app deepstream_test5_app_main.o deepstream_utc.o deepstream-app/deepstream_app.o deepstream-app/deepstream_app_config_parser.o -L/usr/local/cuda-10.2/lib64/ -lcudart -L/opt/nvidia/deepstream/deepstream-6.0/lib/ -lnvdsgst_meta -lnvds_meta -lnvdsgst_helper -lnvdsgst_smartrecord -lnvds_utils -lnvds_msgbroker -lm -lcuda -lgstrtspserver-1.0 -ldl -Wl,-rpath,/opt/nvidia/deepstream/deepstream-6.0/lib/ -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lX11 -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
deepstream-app/deepstream_app.o: In function bus_callback': deepstream_app.c:(.text+0x464): undefined reference to reset_source_pipeline’
deepstream_app.c:(.text+0x468): undefined reference to reset_source_pipeline' deepstream-app/deepstream_app.o: In function add_and_link_broker_sink’:
deepstream_app.c:(.text+0x1bc0): undefined reference to link_element_to_tee_src_pad' deepstream-app/deepstream_app.o: In function create_demux_pipeline’:
deepstream_app.c:(.text+0x1d0c): undefined reference to create_demux_sink_bin' deepstream_app.c:(.text+0x1d90): undefined reference to create_osd_bin’
deepstream-app/deepstream_app.o: In function create_processing_instance': deepstream_app.c:(.text+0x21b4): undefined reference to create_sink_bin’
deepstream_app.c:(.text+0x2230): undefined reference to create_osd_bin' deepstream-app/deepstream_app.o: In function create_common_elements’:
deepstream_app.c:(.text+0x260c): undefined reference to create_secondary_gie_bin' deepstream_app.c:(.text+0x27c4): undefined reference to create_dsanalytics_bin’
deepstream_app.c:(.text+0x2974): undefined reference to create_tracking_bin' deepstream_app.c:(.text+0x2b3c): undefined reference to create_primary_gie_bin’
deepstream_app.c:(.text+0x2dc0): undefined reference to create_preprocess_bin' deepstream-app/deepstream_app.o: In function create_pipeline’:
deepstream_app.c:(.text+0x3794): undefined reference to create_multi_source_bin' deepstream_app.c:(.text+0x3804): undefined reference to set_streammux_properties’
deepstream_app.c:(.text+0x3cd4): undefined reference to link_element_to_tee_src_pad' deepstream_app.c:(.text+0x3e58): undefined reference to create_tiled_display_bin’
deepstream_app.c:(.text+0x3f94): undefined reference to link_element_to_tee_src_pad' deepstream_app.c:(.text+0x44d8): undefined reference to create_dsexample_bin’
deepstream_app.c:(.text+0x47e4): undefined reference to enable_perf_measurement' deepstream_app.c:(.text+0x483c): undefined reference to start_cloud_to_device_messaging’
deepstream-app/deepstream_app.o: In function destroy_pipeline': deepstream_app.c:(.text+0x4b00): undefined reference to destroy_smart_record_bin’
deepstream_app.c:(.text+0x4e68): undefined reference to destroy_sink_bin' deepstream_app.c:(.text+0x4ee4): undefined reference to pause_perf_measurement’
deepstream_app.c:(.text+0x4f48): undefined reference to stop_cloud_to_device_messaging' deepstream-app/deepstream_app.o: In function pause_pipeline’:
deepstream_app.c:(.text+0x5034): undefined reference to pause_perf_measurement' deepstream-app/deepstream_app.o: In function resume_pipeline’:
deepstream_app.c:(.text+0x5120): undefined reference to resume_perf_measurement' deepstream-app/deepstream_app_config_parser.o: In function parse_source_list’:
deepstream_app_config_parser.c:(.text+0x7c): undefined reference to APP_CFG_PARSER_CAT' deepstream_app_config_parser.c:(.text+0x80): undefined reference to APP_CFG_PARSER_CAT’
deepstream_app_config_parser.c:(.text+0x154): undefined reference to APP_CFG_PARSER_CAT' deepstream_app_config_parser.c:(.text+0x158): undefined reference to APP_CFG_PARSER_CAT’
deepstream_app_config_parser.c:(.text+0x254): undefined reference to APP_CFG_PARSER_CAT' deepstream-app/deepstream_app_config_parser.o:deepstream_app_config_parser.c:(.text+0x258): more undefined references to APP_CFG_PARSER_CAT’ follow
deepstream-app/deepstream_app_config_parser.o: In function set_source_all_configs': deepstream_app_config_parser.c:(.text+0x6ac): undefined reference to get_absolute_file_path’
deepstream-app/deepstream_app_config_parser.o: In function parse_tests': deepstream_app_config_parser.c:(.text+0xa2c): undefined reference to APP_CFG_PARSER_CAT’
deepstream_app_config_parser.c:(.text+0xa30): undefined reference to APP_CFG_PARSER_CAT' deepstream_app_config_parser.c:(.text+0xb04): undefined reference to APP_CFG_PARSER_CAT’
deepstream_app_config_parser.c:(.text+0xb08): undefined reference to APP_CFG_PARSER_CAT' deepstream_app_config_parser.c:(.text+0xbd0): undefined reference to APP_CFG_PARSER_CAT’
deepstream-app/deepstream_app_config_parser.o:deepstream_app_config_parser.c:(.text+0xbd4): more undefined references to APP_CFG_PARSER_CAT' follow deepstream-app/deepstream_app_config_parser.o: In function parse_app’:
deepstream_app_config_parser.c:(.text+0xfdc): undefined reference to get_absolute_file_path' deepstream_app_config_parser.c:(.text+0x100c): undefined reference to APP_CFG_PARSER_CAT’
deepstream_app_config_parser.c:(.text+0x1010): undefined reference to APP_CFG_PARSER_CAT' deepstream_app_config_parser.c:(.text+0x10b4): undefined reference to get_absolute_file_path’
deepstream_app_config_parser.c:(.text+0x10e4): undefined reference to APP_CFG_PARSER_CAT' deepstream_app_config_parser.c:(.text+0x10e8): undefined reference to APP_CFG_PARSER_CAT’
deepstream-app/deepstream_app_config_parser.o: In function parse_config_file': deepstream_app_config_parser.c:(.text+0x127c): undefined reference to APP_CFG_PARSER_CAT’
deepstream_app_config_parser.c:(.text+0x1280): undefined reference to APP_CFG_PARSER_CAT' deepstream_app_config_parser.c:(.text+0x1290): undefined reference to APP_CFG_PARSER_CAT’
deepstream-app/deepstream_app_config_parser.o:deepstream_app_config_parser.c:(.text+0x1294): more undefined references to APP_CFG_PARSER_CAT' follow deepstream-app/deepstream_app_config_parser.o: In function parse_config_file’:
deepstream_app_config_parser.c:(.text+0x1498): undefined reference to parse_source' deepstream_app_config_parser.c:(.text+0x14b8): undefined reference to APP_CFG_PARSER_CAT’
deepstream_app_config_parser.c:(.text+0x14bc): undefined reference to APP_CFG_PARSER_CAT' deepstream_app_config_parser.c:(.text+0x1578): undefined reference to APP_CFG_PARSER_CAT’
deepstream_app_config_parser.c:(.text+0x157c): undefined reference to APP_CFG_PARSER_CAT' deepstream_app_config_parser.c:(.text+0x17b8): undefined reference to parse_source’
deepstream_app_config_parser.c:(.text+0x18c0): undefined reference to parse_streammux' deepstream_app_config_parser.c:(.text+0x190c): undefined reference to parse_osd’
deepstream_app_config_parser.c:(.text+0x195c): undefined reference to parse_preprocess' deepstream_app_config_parser.c:(.text+0x19bc): undefined reference to parse_gie’
deepstream_app_config_parser.c:(.text+0x1a0c): undefined reference to parse_tracker' deepstream_app_config_parser.c:(.text+0x1acc): undefined reference to parse_gie’
deepstream_app_config_parser.c:(.text+0x1bc8): undefined reference to parse_sink' deepstream_app_config_parser.c:(.text+0x1cbc): undefined reference to parse_msgconsumer’
deepstream_app_config_parser.c:(.text+0x1d50): undefined reference to parse_tiled_display' deepstream_app_config_parser.c:(.text+0x1db0): undefined reference to parse_image_save’
deepstream_app_config_parser.c:(.text+0x1e00): undefined reference to parse_dsanalytics' deepstream_app_config_parser.c:(.text+0x1e4c): undefined reference to parse_dsexample’
deepstream_app_config_parser.c:(.text+0x1eac): undefined reference to parse_msgconv' deepstream_app_config_parser.c:(.text+0x1f20): undefined reference to APP_CFG_PARSER_CAT’
deepstream_app_config_parser.c:(.text+0x1f24): undefined reference to `APP_CFG_PARSER_CAT’
collect2: error: ld returned 1 exit status
Makefile:74: recipe for target ‘deepstream-test5-app’ failed
make: *** [deepstream-test5-app] Error 1
after installing this package then i got this error
can you find this file \opt\nvidia\deepstream\deepstream-6.2\sources\apps\apps-common\src\deepstream_preprocess.c? it will define create_preprocess_bin.
in the “cc -o deepstream-test5-app” command, please check why there is no …/…/apps-common/src/deepstream_preprocess.o, you can compare with this whole log. log.txt (38.9 KB)
object detection is working it is only update when i change something in configuration and when i print anything in deepstream_test5_app_main.c does not print anything in terminal
Smart Record - Event based recording
===============================================================================
Event based recording can be enabled by setting “smart-record” under [sourceX]
group. Currently only source type = 4 (RTSP) is supported.
There are two ways in which smart record events can be triggerd.
Through cloud messages.
set smart-record=1 and configure [message-consumerX] group accordingly.
Refer deepstream_c2d_msg_utils.c for format of cloud message to trigger
the smart record start / stop events.
Through local events.
set smart-record=2, this will enable smart record through cloud messages
as well as local events.
To demonstrate the event based recording through local events, application
by default triggers start / stop events every ten seconds.
This interval and other parameters are configurable.
Please refer plugin manual and gst-nvdssr.h header file for more details about
smart record.