Results 1 to 4 of 4

Thread: Video Parsing - Frame by Frame

  1. #1
    Join Date
    Jan 2010
    Posts
    23
    Qt products
    Qt4
    Platforms
    Windows

    Default Video Parsing - Frame by Frame

    Hey again everyone,

    I'm still pretty new to Qt. Is there a way to parse video over a USB connection? For example, we have a Sony HandyCam that connects to the computer via USB -- we need to be able to take in that data frame-by-frame and parse our pixels for colors of interest. Can someone point me in the general direction? Preferably, the solution would be platform independent but this isn't a requirement right away.

    Thanks for any help

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Video Parsing - Frame by Frame

    The image acquisition it self will have to be handled by the USB driver and the utility lib that usually comes with such a driver.
    The application being cross platform is dependent on the platforms support by the camera driver, and if it comes with a utility lib, then the platforms which this lib supports.

    The rest, handling the image data it self, can be done with Qt in a cross platform way.

    Classes of interest will probably be:
    QImage,
    QPixmap,
    QByteArray
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Jan 2010
    Posts
    23
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Video Parsing - Frame by Frame

    Currently we're using VideoCapX -- any clue about how we can get that incorporated somehow?

  4. #4
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Video Parsing - Frame by Frame

    did you get the source code or just the activex component?
    It must have come with some code examples.
    You might want to read up on all the QAx classes.

Similar Threads

  1. QT 4.4 / Phonon / Video / Rendering a single frame
    By rextr in forum Qt Programming
    Replies: 10
    Last Post: 5th January 2011, 13:47
  2. Replies: 1
    Last Post: 13th December 2009, 02:34
  3. PNG that contains more than one frame
    By sophister in forum Qt Programming
    Replies: 2
    Last Post: 8th December 2009, 15:33
  4. Previous frame inner to this frame(corrupt stack?)
    By coralbird in forum Qt Programming
    Replies: 1
    Last Post: 28th May 2007, 01:35
  5. Previous frame inner to this frame(corrupt stack?)
    By coralbird in forum Qt Programming
    Replies: 17
    Last Post: 29th April 2006, 01:42

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.