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.

[参考译文] SK-AM62P-LP:如何在视频期间减少 CPU 使用量

Guru**** 2422790 points
Other Parts Discussed in Thread: AM62P

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1538332/sk-am62p-lp-how-to-reduce-cpu-usage-during-video

器件型号:SK-AM62P-LP
主题:AM62P 中讨论的其他器件

工具/软件:

大家好、我正在使用这个流水线

root@am62pxx-evm-Lohr-recovery-mode:~# gst-launch-1.0 -v v4l2src device=/dev/video3! video/x-raw、format=UYVY、width=1280、height=720、帧速率=30/1! 视频转换! 视频/x-RAW、宽度= 1
280、高度=720、帧速率=30/1,格式=NV12! waylandsink sync=false

但我的 CPU 使用率太高。

如何降低 CPU 使用率?

ATT.

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

    您好 Sergio、

    您能否用硬件加速插件“tiovxcolorconvert"来“来替换软件“videoconvert"。“。  

    执行从 TI SoC 上专用硬件加速器的颜色转换任务、与基于软件的转换相比、CPU 利用率显著降低、性能更高。

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

    大家好、感谢您的快速答复。

    当我使用“tiovxcolorconvert"运行“运行流水线时、我获得了此输出  

    root@am62pxx-EVM:~# gst-launch-1.0 -v \
    > v4l2src device=/dev/video3! video/x-raw、format=UYVY、width=1280、height=720、帧速率=30/1! \
    > tiovxcolorconvert ! video/x-raw、width=1280、height=720、帧速率=30/1、format=NV12! waylandsink sync=false
    警告:错误的流水线:无元素“tiovxcolorconvert"</s>“

    root@am62pxx-EVM:~# gst-check-1.0 tiovxcolorconvert
    没有此类元素或插件“tiovxcolorconvert"</s>“

    如何启用此 tiovxcolorconvert?

    此致、

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

    您好 Sergio、

     AM62P 上不存在 tiovxcolorconverter。  

    当您不使用视频转换并使用 kmssink 作为显示接收器而不是 waylandsink 时、您可以共享输出吗?  

    我猜、waylandsink 在显示内容之前会执行额外的视频转换。

    此致、

    Suren

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

    您好、Suren

    这是输出  

    root@am62pxx-EVM:~# gst-launch-1.0 -v v4l2src device=/dev/video3! video/x-raw、format=UYVY、width=1280、height=720、帧速率=30/1! 视频转换! video/x-raw、width=1280、height=720、帧速率=30/1、format=NV12! Kmssink
    警告:错误的管道:没有元素“kmssink"</s>“

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

    您正在使用 Sergio 测试哪个版本的 SDK?

    kmssink driver-name=tidss sync=false  

    另外、我希望您在使用上述元素 (kmssink) 时从管道中删除视频转换

    此致、

    Suren