Results 1 to 5 of 5

Thread: Access and view IP camera from Qt

  1. #1
    Join Date
    Mar 2009
    Posts
    116
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Access and view IP camera from Qt

    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

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Access and view IP camera from Qt

    I think that this camera is visible as HTTP or FTP server. So use appropriate Qt module (QtWebkit or QFtp)

  3. #3
    Join Date
    Mar 2009
    Posts
    116
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Access and view IP camera from Qt

    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
    Qt Code:
    1. QWebView view = new QWebView(parent);
    2. view.load(new QUrl("ip camera 's ip and forwarded port no"));
    3. view.show();
    To copy to clipboard, switch view to plain text mode 


    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?

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Access and view IP camera from Qt

    If your webcam doesn't support it, you'll have to support it yourself.

    Try QHttp.

  5. #5
    Join Date
    Apr 2011
    Location
    Gurgaon
    Posts
    32
    Thanks
    6
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Access and view IP camera from Qt

    have you got any solution for this.?
    please share something....

Similar Threads

  1. Connect camera in Qt?
    By nthung in forum Qt Programming
    Replies: 12
    Last Post: 25th May 2010, 11:19
  2. IP camera
    By vinod sharma in forum Qt Programming
    Replies: 1
    Last Post: 12th March 2010, 13:41
  3. Capturing VIDEO from USB Camera
    By Rajeshsan in forum Newbie
    Replies: 6
    Last Post: 10th March 2010, 10:23
  4. Camera Detection
    By tiho_bg in forum Qt Programming
    Replies: 0
    Last Post: 18th November 2009, 20:09
  5. How to access Widgets created in Tab View
    By kapoorsudhish in forum Newbie
    Replies: 5
    Last Post: 23rd October 2009, 13:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.