Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User DAK's Avatar
    Join Date
    Oct 2009
    Posts
    8
    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
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    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 DAK's Avatar
    Join Date
    Oct 2009
    Posts
    8
    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
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    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. error about multiple definition of vtable and typeinfo
    By sslsslssl in forum Symbian C++
    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. 调用OpenC/C++的问题
    By shaojieli in forum Symbian
    Replies: 32
    Last Post: 2008-08-20, 09:48
  4. Cellphones challenge cameras with sharper pictures
    By jennyyu in forum General Development Questions
    Replies: 0
    Last Post: 2008-06-18, 09:23
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved