×

Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    8

    Multiple Cameras

    I would like to create a Maemo5/Qt app (for my N900) that shows the output from both the /dev/video0 and /dev/video1 cameras simultaneously.

    To keep things simple, I'm using the gst_parse_launch( "v4l2src device=/dev/videoX ! xvimagesink", NULL ) method to get a pipeline. I make two calls, where X is "0" or "1".

    However, only the first call works...the second always fails with a "cannot open /dev/video1 for reading or writing" error. If I reverse the calls, obviously the error refers to /dev/video0.

    I understand that I cannot open the *same* device in two separate applications, but why can I not open two *different* devices within the same app? Do I need to write some device_open code at a lower level perhaps?

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Multiple Cameras

    Quote Originally Posted by DAK View Post
    I understand that I cannot open the *same* device in two separate applications, but why can I not open two *different* devices within the same app?
    There is only one DAC.

  3. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    8

    Re: Multiple Cameras

    I see that there are two cameras feeding into one multiplexor that supplies the camera bus (on the TI OMAP 3430) with data.

    Is there no way for the multiplexor to signal (0 or 1) which camera the data comes from, so that driver code could correctly differentiate the data into separate, 'simultaneous', pipelines?

  4. #4
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Multiple Cameras

    Quote Originally Posted by DAK View Post
    I see that there are two cameras feeding into one multiplexor that supplies the camera bus (on the TI OMAP 3430) with data.
    Where do you see it?

Similar Threads

  1. Replies: 3
    Last Post: 2012-06-20, 11:48
  2. running applicaiton on mobile device or multiple machine
    By markwilson in forum Bluetooth Technology
    Replies: 4
    Last Post: 2009-03-19, 12:00
  3. Cellphones challenge cameras with sharper pictures
    By jennyyu in forum General Development Questions
    Replies: 0
    Last Post: 2008-06-18, 09:23
  4. Using multiple cameras simultaneously
    By pflammertsma in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2008-05-12, 12:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×