cancel
Showing results for 
Search instead for 
Did you mean: 

Qt WebEngine support features for STM32MP257

DMårt
Lead

ST Dev team have successfully created a web browser with Qt WebEngine and deployed that into the MP257 processor.

The browser has been made in kiosk mode. There is no official benchmark about that scenario.

My question is how well supported is the MP257 from Qt6 WebEngine? By looking at the Qt WebEngine features https://doc.qt.io/qt-6/qtwebengine-features.html 

It seems that the Qt WebEngine have lots of stuff in the box. Are all features from Qt WebEngine possible to enable inside a web browser for MP257?

I'm more interested in WebRTC, HTML5 DRM, Hardware acceleration, WebGL, WebSockets. DOM Extensions, Vulkan support API.

This is a question about hardware, rather than software. My goal is to create optimized kiosk mode web browser of specific dynamical web pages.

I'm targeting web pages such as Netflix, GeForce Now, Spotify etc. I don't have any high requirements on resolution. Max 1080p, which is supported by MP257.

 

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer

STM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer
6 REPLIES 6
asadullah4571
Senior

Hi @DMårt 

I m Also waiting from last year's, Just i want to play the video at least 720P using web browser, { live streaming},


Hi @asadullah4571

I will create a repo at my Github later about a web browser that can be compiled at Windows and be used on Linux.

Qt6 

Writing here later.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer

STM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer

Hi @asadullah4571 

Here is the web browser made in Qt by using Qt6 WebEngine.

https://github.com/DanielMartensson/QtForce_NOW

Fork it and develople onto it.

The first thing I will do is to remove everything so it can only handle static web pages.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer

STM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer

Hi @DMårt 

Thanks you so much,
I will compile it , 
I will let you know soon.

Hi @DMårt 

can I replace main.cpp with python 
import os
import sys
from PySide6.QtCore import QCoreApplication, Qt
from PySide6.QtGui import QGuiApplication
from PySide6.QtQml import QQmlApplicationEngine
from PySide6.QtWebEngineQuick import QtWebEngineQuick

os.environ["QTWEBENGINE_CHROMIUM_FLAGS"] = "--enable-gpu --ignore-gpu-blocklist"

QCoreApplication.setAttribute(Qt.AA_UseOpenGLES)

QtWebEngineQuick.initialize()

app = QGuiApplication(sys.argv)

engine = QQmlApplicationEngine()
engine.load("Main.qml")

sys.exit(app.exec())


will it work ?

 

@asadullah4571 

Don't replace. Instead send a PR with your main.py file.

Make sure that you need to add so it will compile for both Python and C++.

I wonder too if you could find more parameters for optimization? For example, the video decoder most be configured for h.264 VP8.

I think most of the optimization can be done in QML.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer

STM32MP257FAK3 custom board with STM64-OS as operating system: https://github.com/DanielMartensson/STM64-Computer