Hi, I am using imx8m mini quad hardware with the latest BSP 5.10.72 - hard knot.
I have built a meta-webkit below are my configurations in local.conf
IMAGE_INSTALL_append = " wpewebkit cog"
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-fdo"
After booting the system I am running the below command
cog --enable-media-stream=1 --platform=wl --set-permissions=all --enable-accelerated-2d-canvas=1 --enable-webgl=1 https://browserbench.org/JetStream/ &
Here, Obersrvations are,
In youtube, 720P achieved 30/60 FPS smooth video play with no artifacts, however higher CPU usage seems not justifiable.
gst-launch-1.0 -v filesrc location=/home/root/output.mp4 ! qtdemux name=dd.video_0 ! queue ! h264parse ! v4l2h264dec ! imxvideoconvert_g2d ! queue ! glimagesink &
The above pipeline gives 13% CPU usage conforming HW acceleration enabled from BSP and being used.
Further attached are the logs gstreamer logs and dot files when using cog as per the guidance link in log.zip - log.zip
From the same link ,
gst-play-1.0 --videosink glimagesink /path/to/video.mp4
Also works smooth and CPU usage is near about 30-35% for gst-play and 11% for wayland
Attached are the logs for VPU usage while running the above gst command - vpu_log.txt
Can anyone suggest?