Create a video File from frames
-
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,... -
Hi
As far as i know, its still not possible to via Qt alone.
https://forum.qt.io/topic/63258/getting-qimages-into-qmediarecoder-to-create-video-files-e-g-avi-mp4-or-animated-gif -
Hi,
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.