QMovie::supportedFormats() returns only "gif, mng"
I need to write a program which play a video, any format. But as I checked two Qt sample codes, the format they support is so limited
gif and mng. If qt 4.7 does not support it, is there any tool to add?
moreover, I also cannot find any camera and image capture headers. although, if I go for the locate qcamera.h
it shows:
Code:
/QtSDK/Simulator/QtMobility/gcc/include/QtMultimediaKit/qcamera.h
but, when I add it to my program it give th error:
Code:
error: QtMultimediaKit/qcamera.h: No such file or directory
m stuck actually!
how should I write the below to programs:
1. a program that play video format any type, at least jpeg, avi
2. a program that connects to camera, could be a usb camera or any other type. so that, I can capture the live video and play it on the widget?
Your
Re: QMovie::supportedFormats() returns only "gif, mng"
QMovie only handles simple movie format. If you need something more complex, then use either Phonon or QtMultimedia module.
Re: QMovie::supportedFormats() returns only "gif, mng"
Quote:
Originally Posted by
wysota
QMovie only handles simple movie format. If you need something more complex, then use either Phonon or QtMultimedia module.
has anyone got experience using the two modules? which one is more reliable?
Re: QMovie::supportedFormats() returns only "gif, mng"
It depends what you want to do with them. Read the docs on both and decide for yourself.