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.

AM625: Video Performance Slow

Part Number: AM625
Other Parts Discussed in Thread: AM62P

Hello All,

I'm trying to test AM625 based product(Beagle Play). 1K 30fps video performance. I think I'm missing something.

Here is my conf:

Yocto v4 Kirkstone enable weston interface.

root@beagleplay:/# lsmod
Module Size Used by
pvrsrvkm 1314816 0
bluetooth 749568 2
cfg80211 798720 0

root@beagleplay:/# gst-inspect-1.0 | grep -i h264
libav: avdec_h264: libav H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 decoder
rtp: rtph264depay: RTP H264 depayloader
rtp: rtph264pay: RTP H264 payloader
typefindfunctions: video/x-h264: h264, x264, 264
uvch264: uvch264deviceprovider (GstDeviceProviderFactory)
uvch264: uvch264mjpgdemux: UVC H264 MJPG Demuxer
uvch264: uvch264src: UVC H264 Source
videoparsersbad: h264parse: H.264 parser
root@beagleplay:/# 

If I try to video with 

gst-launch-1.0 playbin uri=file:/home/weston/hello.mp4 

Video start play but stream is very slow and I got the following message.

../gstreamer-1.20.7/libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstWaylandSink:waylandsink0:
There may be a timestamping problem, or this computer is too slow.

How can I use correct conf or gstream pluging to fix this issue?

Best regards.

  • Hi,

    AM62x doesn't have a Hardware accelerator for video encode/decode like we have in AM62A or AM62P SoC.

    Video playback is supported on AM62x, but with software based plugins and not hardware accelerators. So, we can't guarantee these open sourced plugins are written with performance in mind.

    Is it a hard requirement for you to use AM62x. Can you try using AM62P or any other Sitara MPUs that support HW accelerators?

    Best Regards,

    Suren

  • Hello Suren,

    Thank you for prompt reply. 

    When I examined the form on this subject, similar questions were asked, but I could not see its practical application. This product has 4 A-53 according to datasheet and also BeaglePlay 3D  PowerVR® RogueTm AXE-1-16M GPU.

    In similar questions, it is mentioned that there is software based plugins for arm. What is this plugins and how can I use it?

    Best regards.

  • Hi,

    When we say software based plugins what we are saying is  that AM625 is capable of performing SW based encode/decode and your performance will be limited by the A53 cores. The AM625 SDK supports Gstreamer and it has ARM plugins for encode/decode. However, the plugins are designed by the open source community and I am not sure if they are optimized for performance. My recommendation would be to evaluate the open source plugins for encode/decode to understand their limitations.

    I just ran this on my AM62x:

    gst-launch-1.0 playbin uri=file:/home/BBB_1080_10s_30fps_h264.mp4 video-sink="fpsdisplaysink sync=false video-sink='waylandsink sync=false'"

    Hope this helps.

    Best Regards,

    Suren