PDA

View Full Version : Access and view IP camera from Qt



Qt Coder
1st June 2010, 12:07
Hello all,

I m using Qt 4.6.2 on linux ,I need to access IP camera and view its contents in Qt .How to acheive it?

Any help would be appreciated..

Thank you in advance

Lesiok
1st June 2010, 15:18
I think that this camera is visible as HTTP or FTP server. So use appropriate Qt module (QtWebkit or QFtp)

Qt Coder
2nd June 2010, 11:19
I need to show contents of IP camera in a small frame inside my mainwindow.

One method I found is to load url of ip camera using QWebView
QWebView view = new QWebView(parent);
view.load(new QUrl("ip camera 's ip and forwarded port no"));
view.show();



But how to resize the video to fit into the small frame? this
might be slower,is there any other way to access and view ip camera from qt without using QWebView?

squidge
2nd June 2010, 14:35
If your webcam doesn't support it, you'll have to support it yourself.

Try QHttp.

anupam
3rd January 2014, 10:35
have you got any solution for this.?
please share something....