Hello,
I have Apalis imx8 board, with ixora carrier board, and I installed Torizon os 7.1.0+build.4 (scarthgap).
I’m trying to play a video file through QML 6, but the processor consumption is around 90%, and when I try to stream from the internet, the processor consumption is 160%.
I tried to play the video using:
gst-launch-1.0 filesrc location=/home/torizon/test_video.mp4 ! decodebin name=dec ! videoconvert ! waylandsink
But the cpu consumption was around 74%.
I think it seems that the hardware video decoding is not working, or there is some other problem.
These are the packages that I added to my container:
"qt6-multimedia-dev", "qml6-module-qtmultimedia", "libqt6multimedia6", "gstreamer1.0-x", "qml-module-qtgstreamer", "gstreamer1.0-tools", "gstreamer1.0-plugins-base", "gstreamer1.0-plugins-good", "gstreamer1.0-plugins-bad", "gstreamer1.0-plugins-ugly", "libgstreamer1.0-dev", "libgstreamer-plugins-base1.0-dev", "libgstreamer-plugins-bad1.0-dev", "gstreamer1.0-alsa", "gstreamer1.0-gl", "gstreamer1.0-gtk3", "gstreamer1.0-pulseaudio", "gstreamer1.0-libav", "v4l-utils", "pulseaudio", "pulseaudio-utils", "gstreamer1.0-plugins-base-apps", "apulse", "libpulse-dev", "libasound2", "alsa-tools", "alsa-utils", "alsa-oss", "vlc", "qt6-webengine-dev", "libqt6webenginequick6", "qml6-module-qtwebengine", "libqt6webenginecore6", "libqt6webenginecore6-bin", "libqt6webenginewidgets6", "qt6-webengine-dev-tools", "qt6-webview-dev", "libqt6webview6", "qml6-module-qtwebview", "iproute2", "can-utils", "net-tools", "gpiod", "libqt6serialport6", "libqt6serialport6-dev", "qt6-connectivity-dev", "bluez", "dbus", "nano", "libcap2-dev", "libcap2", "libcap2-bin", "nethogs", "bluez-alsa-utils"
Is there any missing package to run the hardware video decoder?
Is there any setting I need to add to Qt to run a hardware video decoder?
Or is there another problem that is not related to hardware video decoding?
How can I solve this problem please? Or look into it?
Best regards,
Tarek