QMediaRecorder is a class of Qt. What would be the way to implement the same in QML w.r.t https://doc.qt.io/qt-5/qml-qtmultime...iaplayer.html?

There is a camera recorder but can we pass a .mp4 file here and let it be recorded?
https://doc.qt.io/qt-5/qml-qtmultime...arecorder.html

What is way to record a .mp4 file in QML?