Tom_FarOneEye
5th December 2006, 20:26
Hi,
I'm new to all this xvid stuff, but I'm trying to write a very simple application that can play an xvid file.
I'm using Qt and a combination of C and C++ (C since the whole xvi d thing is C) and working in Windows XP (yeah I know Linux is easier when it comes to xvid)
Now I've got a problem...
When decoding the avi file I get an xvid_dec_frame_t that contains a decoded image, right? Now how do I get the image out of the xvid_image_t to show it in the gui? I need something like an image file or something that I can put in a QImage or a QPixmap.
grt,
Tom
I'm new to all this xvid stuff, but I'm trying to write a very simple application that can play an xvid file.
I'm using Qt and a combination of C and C++ (C since the whole xvi d thing is C) and working in Windows XP (yeah I know Linux is easier when it comes to xvid)
Now I've got a problem...
When decoding the avi file I get an xvid_dec_frame_t that contains a decoded image, right? Now how do I get the image out of the xvid_image_t to show it in the gui? I need something like an image file or something that I can put in a QImage or a QPixmap.
grt,
Tom