Capturing MJPEG
Hello im a student from belguim and im dooing a project atm and i have to inport MJPEG data from a ip cam into Qt.
this is my first year of Qt and i searched al around and i cant find somthing that helps me get started.
could annyone get me anny idea’s how to get started?
thx on forward
7 replies
If your camera uses multipart http or ICamView properitary protocoll your friend should be the
QImageGrabber:
http://code.google.com/p/qimagegrabber/
Let me know if you have any questions/comments with the library!
If your camera uses multipart http or ICamView properitary protocoll your friend should be the
QImageGrabber:http://code.google.com/p/qimagegrabber/
Let me know if you have any questions/comments with the library!
Sorry to hijack, XavierClinquart.
@martonmiklos, how do i actually use your library? What to download and where do i save it to?
Thanks~!
Sync the latest svn trunk with:
svn checkout http://qimagegrabber.googlecode.com/svn/trunk/ qimagegrabber-read-only
There is an example folder containing an example how to use the library.
Sync the latest svn trunk with:
svn checkout http://qimagegrabber.googlecode.com/svn/trunk/ qimagegrabber-read-onlyThere is an example folder containing an example how to use the library.
Thanks, i don’t know how to use svn checkout, but i suppose it’s following way via QtCreator?
- New project
- Import project
- Subversion Checkout
Then the first problem i encounter was:
Failed to open project in ‘/Applications/Qt5.0.1/qimagegrabber’.
Could not find any project files matching (*.pro, CMakeLists.txt, *.cmake, *.creator, *.qmlproject) in the directory ‘/Applications/Qt5.0.1/qimagegrabber’.
nonetheless i was able to manually open up your examples.pro
As i’m using Qt5.0.1 on Mac, it seems that Qt library configuration is slightly different.
include <QtGui/QApplication> = include <QApplication> -> this should be okay?(no errors)
Then this is the main part executing your program…
_#include <qwt/qwt_plot_curve.h>
/Applications/Qt5.0.1/qimagegrabber/examples/qimagegrabber_benchmark/dialogcomparesettings.h:7: error: ‘qwt/qwt_plot_curve.h’ file not found
#include <qwt/qwt_plot_curve.h>
^_
Sorry for being such a beginner :)
You must log in to post a reply. Not a member yet? Register here!
