March 21, 2012

XavierClinquart XavierClinqu..
Lab Rat
1 posts

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

April 3, 2012

martonmiklos martonmiklos
Lab Rat
17 posts

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!

April 4, 2012

XavierClinquart XavierClinqu..
Lab Rat
1 posts

i will defenetly have a look at the Qimagegrabber thanks sir ill let you know if i have anny questions/comments

March 19, 2013

macchiaazzurro macchiaazzur..
Lab Rat
4 posts

martonmiklos wrote:
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~!

March 19, 2013

martonmiklos martonmiklos
Lab Rat
17 posts

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.

March 19, 2013

macchiaazzurro macchiaazzur..
Lab Rat
4 posts

martonmiklos wrote:
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.

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 :)

March 19, 2013

martonmiklos martonmiklos
Lab Rat
17 posts

I have never tried to compile it with Qt5.
I am installing the Qt5 now and

The benchmark example depends on the Qwt. I will create a simple separate example today without any extra dependencies.

March 19, 2013

macchiaazzurro macchiaazzur..
Lab Rat
4 posts

martonmiklos wrote:
I have never tried to compile it with Qt5.
I am installing the Qt5 now and

The benchmark example depends on the Qwt. I will create a simple separate example today without any extra dependencies.

alright, i will be awaiting for the new revision. Thanks man! ^^

 
  ‹‹ find QScrollArea viewport location relative to embedded widget      [Solved] Qt Programming in VS2008 ››

You must log in to post a reply. Not a member yet? Register here!