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:在 AM62A7 GStreamer 流水线上添加 tiovxldc/tiovxmultiscaler 后的低帧速率详细说明

Guru**** 2905440 points

Other Parts Discussed in Thread: AM62A7

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1647978/am62a7-low-frame-rate-after-adding-tiovxldc-tiovxmultiscaler-on-am62a7-gstreamer-pipeline-detailed-description

器件型号: AM62A7

我们在 TI AM62A7 平台上运行 Gstreamer 流水线。
流水线由 v4l2src、tiovxisp、v4l2h264enc、h264parse、rtspclientsink 组成
在输入分辨率 3840×2160、30fps 下、稳定的帧速率可达到 28fps

一旦我们 在 tiovxisp 之后插入 tiovxldc 或 tiovxmultiscaler、帧速率会急剧下降至 17fps

我们怀疑 TIOVX 硬件加速模块内存在性能瓶颈。
请帮助分析可能的原因。

附件是用于参考的完整流水线命令。

```μ s

gst-launch-1.0 v4l2src device=/dev/video3 io-mode=5! \
视频/x-Bayer、宽度=3840、高度=2160、格式=bggr12、帧速率=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::器件=/dev/v4l-subdev2 FORMAT-MSB=11 \
sink_0::pool-size=2 src ::pool-size=2! \
video/x-raw、格式=NV12、宽度=3840、高度=2160、帧速率=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 位置=rtsp://localhost:8554/P1

```μ s

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的耀辉:

    我假设您使用 11.1 SDK 来验证上述流水线。

    您能否在添加 tiovxmultiscaler 或 tiovxldc 后添加队列元素、看看帧速率是否有所改善。

    此外、我将请教 VPAC 专家、以获取与这两个要素具体相关的进一步支持。

    此致

    Suren