PDA

View Full Version : save screenshots as a movie?



qt_gotcha
4th April 2013, 20:50
is it possible to save screenshots (of a widget) as a movie? I have been looking at Qimagereader and phonon but these are for displaying movies, not making them

amleto
4th April 2013, 23:55
you can use QPixMap::grabWidget (on a timer?) to get a series of screen shots. How you turn that into a movie... not sure.

d_stranz
5th April 2013, 00:40
You might find this link (http://www.adp-gmbh.ch/win/programming/avi/avi.html) useful. It's Windoze code, but could probably be translated into normal C++ for use with Qt.

This link too. (http://stackoverflow.com/questions/9053325/c-library-class-to-create-simple-video-files-out-of-memory-bitmap-array) And this one. (http://www.wischik.com/lu/programmer/avi_utils.html) As well as this one. (http://www.videolan.org/developers/x264.html)

qt_gotcha
6th April 2013, 11:00
I have the screenshots, thats okay

thanks for the links, very useful. I'll see what I can do