Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Create a video File from frames
Dimitri Junker last edited by
Hi, some years ago I moved a project from VisualC to QT, the only thing I was'nt able to do with the QT libraries was the creation of a videofile. And I still don't find even the general way of how to do it, so I still use the microsoft vfw Routines like:
AVIFileOpen, AVIFileCreateStream, AVIStreamWrite,...
How do I do this with QT?
The main thing I need is a routine to add a QImage as a frame to an videofile. And of course to create the stream, set resolution, fps,...
As far as i know, its still not possible to via Qt alone.
If you want to do it with Qt alone you would have to create a custom QMediaObject derived class and provide the required interfaces for QMediaRecorder to work.