|
2010-06-01
, 02:32
|
Posts: 1 |
Thanked: 3 times |
Joined on Jun 2010
|
#2
|
The Following 3 Users Say Thank You to chia0418 For This Useful Post: | ||
|
2010-06-01
, 12:09
|
Posts: 124 |
Thanked: 213 times |
Joined on Dec 2009
|
#3
|
|
2010-06-01
, 12:13
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#4
|
The Following User Says Thank You to noobmonkey For This Useful Post: | ||
|
2010-06-01
, 14:03
|
Posts: 124 |
Thanked: 213 times |
Joined on Dec 2009
|
#5
|
The Following User Says Thank You to Dak For This Useful Post: | ||
|
2010-06-01
, 14:19
|
Posts: 182 |
Thanked: 540 times |
Joined on Aug 2009
@ Finland
|
#6
|
|
2010-06-01
, 14:40
|
Posts: 124 |
Thanked: 213 times |
Joined on Dec 2009
|
#7
|
|
2010-06-01
, 14:45
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#8
|
Is there a way I can grab the kernel source without using scratchbox?
A simple link to a repository?
I don't want to build the kernel - not yet, anyway - but rather simply inspect the code to better understand what is happening...
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
|
2010-06-03
, 15:34
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#9
|
How are you attempting this, noobmonkey?
Are you just creating/closing pipelines alternately, and overlaying the incoming frames as fast as you can? In C, of course
That would seem to be the only available approach, unless deeper hackery can expose a better trick...
|
2010-09-15
, 11:40
|
Posts: 2 |
Thanked: 0 times |
Joined on Sep 2010
|
#10
|
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?