Unknown or legacy key specified

Set
raw-output-generated-callback=write_infer_output_to_file
raw-output-file-write=1
in property group and I have

Unknown or legacy key specified ‘raw-output-generated-callback’ for group [property]
Unknown or legacy key specified ‘raw-output-file-write’ for group [property]

Are they deprecated?

Deepstream 5.0
TensorRT 7.1
Jetpack 4.4
Xavier

Could you share your config file with us?

This is my config file.

[property]
gpu-id=0
net-scale-factor=0.0039215697906911373
onnx-file=../../../../samples/models/platerect/numplate_recg_nhwc_removed_sparsetodense.onnx
model-engine-file=../../../../samples/models/platerect/numplate_recg_nhwc_removed_sparsetodense.onnx_batch_max10_gpu0_fp16.engine
#mean-file=../../../../samples/models/Secondary_CarColor/mean.ppm
#labelfile-path=../../../../samples/models/platerect/labels.txt
#int8-calib-file=../../../../samples/models/Secondary_CarColor/cal_trt.bin
infer-dims=24;94;3
force-implicit-batch-dim=0
batch-size=10
# 0=FP32 and 1=INT8 mode
network-mode=2
input-object-min-width=20
input-object-min-height=10
process-mode=2
model-color-format=0
gpu-id=0
gie-unique-id=2
operate-on-gie-id=1
operate-on-class-ids=1
network-type=1
parse-classifier-func-name=NvDsInferParseCustomCTCGreedy
custom-lib-path=/usr/src/tensorrt/CTCGreedyDecoder_Plugin/build/libCTCGreedyDecoder.so
output-blob-names=trest:0
classifier-threshold = 0
#raw-output-generated-callback=raw_output_callback

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Are you using gst-launch-1.0 to run the pipeline?

how resolved ?