Results 1 to 11 of 11

Thread: Webcam streaming library's available for windows,linux,mac(three of them) platform

  1. #1
    Join Date
    Apr 2011
    Posts
    39
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Webcam streaming library's available for windows,linux,mac(three of them) platform

    Hello,
    Can anybody tell me,
    wheather any library available for getting the live streaming from the usb webcam
    and this library should work on 3 platform(windows,linux,mac).


    is any library is available that will satisfy above conditions.?

  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: Webcam streaming library's available for windows,linux,mac(three of them) platfor

    This is a device driver specific issue.
    If the manufacturer of your web cam released it with drivers for the platforms you listed, then usually some user libs are also supplier.
    There is no general purpose such library since its hardware specific.
    ==========================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
    Apr 2011
    Posts
    39
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Webcam streaming library's available for windows,linux,mac(three of them) platfor

    ya, that's true.
    but my question is suppose drivers are available for 3 of the platform,
    then any library is useful that can work on 3 of the platform,
    and provide video streaming,and other webcam functions.?

  4. #4
    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: Webcam streaming library's available for windows,linux,mac(three of them) platfor

    You can't decouple the lib from the driver, since there is no standard for it, which all the camera manufacturers follow.
    Any lib you have will have to interface with the driver.
    Therefore only manufacturers that ship their camera with driver and an interface lib for developers can be accessed by user applications.
    But there is not general such lib - AFAIK.
    ==========================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.

  5. #5
    Join Date
    Aug 2009
    Location
    Belgium
    Posts
    310
    Thanks
    10
    Thanked 31 Times in 25 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Webcam streaming library's available for windows,linux,mac(three of them) platfor

    Hi,

    I've seen that the OpenCV library is mentioned a lot when people ask about using webcams. It's cross-platform.

    Best regards,
    Marc

  6. #6
    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: Webcam streaming library's available for windows,linux,mac(three of them) platfor

    OpneCV is a computer vision lib.
    It is not responsible for data acquisition.
    You have to feed it the data you want to work on.
    ==========================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.

  7. #7
    Join Date
    Apr 2011
    Posts
    39
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Webcam streaming library's available for windows,linux,mac(three of them) platfor

    Open CV is one of the option,

    but what I want is the library using which I can write the code that will run on 3(Windows,MAC,Linux) of the platform.

  8. #8
    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: Webcam streaming library's available for windows,linux,mac(three of them) platfor

    OpenCV as number of other libs which are cross platform are libs which allow you to work with image data.
    They do NOT do image acquisition, certainly not in cross platform way.

    There is no lib that can acquire image data from any camera in a cross platform way, since there is no standard for writing camera drivers, and or, camera hardware.
    ==========================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.

  9. #9
    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 streaming library's available for windows,linux,mac(three of them) platfor

    OpenCV has the highgui module, which can be used to perform simple camera image acquisition on multiple platforms. For windows it uses vfw, and v4l for linux/unix. I don't know about mac. Here's the link : highgui
    It's very simple, I'm not even sure if it allows to change the capture resolution.

  10. #10
    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: Webcam streaming library's available for windows,linux,mac(three of them) platfor

    Ok, but this will only work with cameras which support these drivers.
    Its not general, but agreed, it will allow you to work with at least some cameras.
    I just found this link which sounds interesting as well, again, as long as you are comfortable with the limitation of using cameras that only support vfw and v4l, or in general the list of camera/ camrea types it lists.
    http://en.wikipedia.org/wiki/Integrating_Vision_Toolkit

  11. #11
    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 streaming library's available for windows,linux,mac(three of them) platfor

    Yes, it's very simple and limited solution, I'm not even sure if this will work with firewire devices. But if OP want's only to capture from webcam, maybe highgui or library from your link will fit he's needs. I guess if he's using C++, the IVT is better than C-style highgui interface.

Similar Threads

  1. How to get video streaming from USB webcam
    By sanket.mehta in forum Qt Programming
    Replies: 4
    Last Post: 15th July 2011, 06:45
  2. how to port application made in linux to windows platform
    By sachinmcajnu in forum Qt Programming
    Replies: 8
    Last Post: 11th March 2011, 18:11
  3. Streaming mp3 with phonon in Windows,need help.
    By MorrisLiang in forum Qt Programming
    Replies: 0
    Last Post: 29th May 2010, 08:36
  4. Port Shared Library from Linux to Windows
    By calh1578 in forum Qt Programming
    Replies: 2
    Last Post: 28th September 2009, 18:14
  5. Webcam USB under Windows with qt4
    By Wickinger in forum General Programming
    Replies: 3
    Last Post: 18th March 2008, 00:10

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.