This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7: Low frame rate after adding tiovxldc/tiovxmultiscaler on AM62A7 GStreamer pipeline Detailed description

Part Number: AM62A7

We run GStreamer pipeline on TI AM62A7 platform.
The pipeline consists of v4l2src, tiovxisp, v4l2h264enc, h264parse, rtspclientsink.
Under input resolution 3840×2160, 30fps, the stable frame rate can reach 28fps.

Once we insert tiovxldc or tiovxmultiscaler after tiovxisp, the frame rate drops sharply to 17fps.

We suspect there are performance bottlenecks within the TIOVX hardware acceleration module.
Please help analyze the possible causes.

Attached are the complete pipeline commands for reference.

```

gst-launch-1.0 v4l2src device=/dev/video3 io-mode=5 ! \
video/x-bayer,width=3840,height=2160,format=bggr12,framerate=30/1 ! \
tiovxisp sensor-name=SENSOR_OX3C \
dcc-isp-file=/etc/camera_app/dcc_bins/dcc_viss_wdr_FOV120.bin \
sink_0::dcc_2a_file=/etc/camera_app/dcc_bins/dcc_2a_wdr_FOV120.bin \
sink_0::device=/dev/v4l-subdev2 format-msb=11 \
sink_0::pool-size=2 src::pool-size=2 ! \
video/x-raw,format=NV12,width=3840,height=2160,framerate=30/1 ! \
tiovxmultiscaler ! \
video/x-raw,format=NV12,width=1920,height=1080 ! \
v4l2h265enc extra-controls='enc,prepend_sps_and_pps_to_idr=1,video_gop_size=30,video_bitrate=3000000,frame_level_rate_control_enable=1' ! \
h265parse ! rtspclientsink location=rtsp://localhost:8554/p1

```

  • Hi Yaohui,

    I assume you are using 11.1 SDK to validate the above pipeline.

    Can you add a queue element after adding tiovxmultiscaler or tiovxldc and see if the frame rate improves.

    Also, I am looping in the VPAC expert for further support related to these two elements specifically.

    Best Regards

    Suren