[Interest] Generating .avi or .mpg from Qt? (from sequence of QImages or QPixmaps)

2014-08-05 Thread Phil Weinstein
We are generating on-screen animations in Qt 4.8.6 widgets on Windows 
(just redrawing, based on a repeating QTimer).  Does Qt4 or Qt5 proper 
support (or will Qt5 soon support) generation of .mpg / .mpeg (MPEG) or 
.avi files for generated animations?  I'm imagining that this would be 
done by providing a sequence of QImages or QPixmaps having consistent 
dimensions, perhaps with a specified frame rate.  Short of that, are 
there any well supported third-party Qt packages for doing this?

Thanks in advance,
Phil Weinstein
CADSWES, University of Colorado
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Generating .avi or .mpg from Qt? (from sequence of QImages or QPixmaps)

2014-08-05 Thread Giuseppe D'Angelo
On 5 August 2014 23:22, Phil Weinstein ph...@indra.com wrote:
 Short of that, are
 there any well supported third-party Qt packages for doing this?

How about just feeding the sequence of images to an external encoder
like ffmpeg/libav or mencoder?

-- 
Giuseppe D'Angelo
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Generating .avi or .mpg from Qt? (from sequence of QImages or QPixmaps)

2014-08-05 Thread Pau Garcia i Quiles
Hello,

Try using QtGstreamer and a multifile source:

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-multifilesrc.html




On Tue, Aug 5, 2014 at 11:22 PM, Phil Weinstein ph...@indra.com wrote:

 We are generating on-screen animations in Qt 4.8.6 widgets on Windows
 (just redrawing, based on a repeating QTimer).  Does Qt4 or Qt5 proper
 support (or will Qt5 soon support) generation of .mpg / .mpeg (MPEG) or
 .avi files for generated animations?  I'm imagining that this would be
 done by providing a sequence of QImages or QPixmaps having consistent
 dimensions, perhaps with a specified frame rate.  Short of that, are
 there any well supported third-party Qt packages for doing this?

 Thanks in advance,
 Phil Weinstein
 CADSWES, University of Colorado
 ___
 Interest mailing list
 Interest@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/interest




-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest