Results 1 to 5 of 5

Thread: Webcam DirectShow

  1. #1
    Join Date
    Dec 2009
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Webcam DirectShow

    How can i grab image from webcam using DirectShow? (Prefferable in Qt-application)
    Can anybody post here compilable sources?
    Thx.

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Webcam DirectShow

    You can do it easily (and multiplatform) with OpenCV - http://opencv.willowgarage.com/documentation/index.html . If you really need to use DShow ( or you just want to ) try windows SDK, should be full of code samples: http://msdn.microsoft.com/en-us/windows/aa904949.aspx . Here is a list of DShow examples in SDK: http://msdn.microsoft.com/en-us/libr...68(VS.85).aspx

  3. #3
    Join Date
    Sep 2010
    Posts
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Webcam DirectShow

    I am doing just that at the moment! I have taken over Windows-based project that uses a combination of Qt, DirectShow/DirectX and OpenCV. It records from webcams.

    However, there seems to be a little too much DirectShow/DirectX code in there if you ask me. So please post your findings to make it as Qt + OpenCV (and therefore portable) as possible. I will do the same.

  4. #4
    Join Date
    Sep 2010
    Posts
    17
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Webcam DirectShow

    a <DirectShow for Qt> project is in progress : check this link ( and even try the sample).
    http://ftp.elvitec.fr/Elvitec/Dlls-U...tX-DirectShow/
    Currently presentation its in french but it will be translated soon.

    srsr

  5. #5
    Join Date
    Jul 2011
    Location
    BRAZIL-RIO DE JANEIRO
    Posts
    47
    Thanks
    33
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Webcam DirectShow

    Access to above link is currently forbidden...

    +++

Similar Threads

  1. :: I can to use library DirectShow with Qt? ::
    By CarlosPhelippe in forum Qt Programming
    Replies: 4
    Last Post: 31st August 2009, 14:13
  2. Phonon and DirectShow
    By chrisb112 in forum Qt Programming
    Replies: 2
    Last Post: 28th April 2009, 16:25
  3. using a DirectShow enabled webcam to take still images in QT
    By Jason Hamilton in forum Qt Programming
    Replies: 4
    Last Post: 9th October 2008, 00:25
  4. DirectShow and Qt
    By Rayven in forum Qt Programming
    Replies: 2
    Last Post: 24th April 2006, 23:36
  5. Using DirectShow and COM objects
    By ToddAtWSU in forum Qt Programming
    Replies: 5
    Last Post: 27th February 2006, 16:35

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.