Unibrain Fire-i webcam does not work - Ubuntu

Help
2010-05-16
2013-05-09
  • Nobody/Anonymous

    Hello,

    Went though pain of installing tars to get the CaptureApp to compile and run.
    Here is the output

    root@bruce-laptop:/devel/ivt/IVT/examples/CaptureApp# ./captureapp
    = camera 0 ========================================= :
    ---- Camera information ----
    Vendor                            :     Unibrain
    Model                             :     Fire-i BCL 1.2
    Unit                              :     0
    Specifications ID                 :     0xa02d
    Software revision                 :     0x100
    IIDC version code                 :     544
    Unit directory offset             :     0x434
    Unit dependent directory offset   :     0x444
    Commands registers base           :     0xf00000
    Unique ID                         :     0x0814436102632ab8
    Vendor ID                         :     0x81443
    Model ID                          :     0x0
    1394b mode capable (>=800Mbit/s)  :     No
    Platform backend                  :     linux
    ---- Camera platform-specific information ----
    Handle                            :     0x8082b38
    Port                              :     0
    Node                              :     0
    = Found 1 cameras ==================================
    Opening camera 0: Vendor Unibrain, Model Fire-i BCL 1.2, UID 0x0814436102632AB8, Format7 = 0
    Camera 0 bandwidth usage: 3852 quadlets/cycle (1063 quadlets/cycle left)

    ------------- end of screendump -----------------------------------------------------------

    The camera screen pops up but is completely blank.  I am using Ubuntu 8.04.4
    The Coriander application that ships with the Fire-I comes up without errors!

    Anyone have this issue?

    Thanks Ubuntu-ites!

     
  • Nobody/Anonymous

    I incorrectly left out some additional debug statements at the end of the screen dump.  Please notice the difference.

    = camera 0 ========================================= :
    ---- Camera information ----
    Vendor                            :     Unibrain
    Model                             :     Fire-i BCL 1.2
    Unit                              :     0
    Specifications ID                 :     0xa02d
    Software revision                 :     0x100
    IIDC version code                 :     544
    Unit directory offset             :     0x434
    Unit dependent directory offset   :     0x444
    Commands registers base           :     0xf00000
    Unique ID                         :     0x0814436102632ab8
    Vendor ID                         :     0x81443
    Model ID                          :     0x0
    1394b mode capable (>=800Mbit/s)  :     No
    Platform backend                  :     linux
    ---- Camera platform-specific information ----
    Handle                            :     0x8082b38
    Port                              :     0
    Node                              :     0
    = Found 1 cameras ==================================
    Opening camera 0: Vendor Unibrain, Model Fire-i BCL 1.2, UID 0x0814436102632AB8, Format7 = 0
    Camera 0 bandwidth usage: 15408 quadlets/cycle (-10493 quadlets/cycle left)
    error: Opening camera 0 would exceed maximum firewire bandwidth (4915 quadlets/cycle).
    error: could not open camera
    press return to quit

     
  • Nobody/Anonymous

    Yea,

    It is this call

    CLinux1394Capture2 capture(-1, CVideoCaptureInterface::e640x480, CVideoCaptureInterface::eRGB24);

    that is the culprit. I need to investigate this method and step through this.

     
  • Pedram Azad

    Pedram Azad - 2010-05-19

    Hi,

    there seems to be a bandwidth problem. Can you check (e.g. with coriander) what resolution your camera has? With which frame rate did coriander open the camera?

    Pedram

     
  • Bruce Macdonald

    Bruce Macdonald - 2010-05-20

    Hi again,

    I played around with the settings in coriander and adjusted the call that you referenced above:

    CLinux1394Capture2 capture(-1, CVideoCaptureInterface::e640x480, CVideoCaptureInterface::eYUV411ToRGB24);

    //CLinux1394Capture2 capture(-1, CVideoCaptureInterface::e640x480, CVideoCaptureInterface::eBayerPatternToRGB24);

    I get a picture now.

    I am having a similar issue getting this to work under Win XP.  i will need to play with the settings and calling parameters.

    Thanks for setting me in the right direction.
    :)

     
  • Pedram Azad

    Pedram Azad - 2010-05-21

    Hi,

    under Win XP I suggest to use the module CVFWCapture (use 0 as parameter in the constructor to open the first available video device). I never had trouble opening a webcam (or similar) with this module. If you want to change the resolution or color encoding, you can do this with the application that was provided with your camera. The changes will apply when you open the camera the next time(s).

    You might also want to check CVFWCapture::ShowVideoFormatDialog and CVFWCapture::ShowVideoSourceDialog to change the settings in your application. However, you'll usually have to re-open the camera or at least adapt your image instances to the new size etc.

    Pedram

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks