We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Gsvideo,any way to set capture source? (Read 1098 times)
Gsvideo,any way to set capture source?
Jul 28th, 2009, 12:43am
 
sorry to ask this silly question,the problem it that i mainly using analog  tv card as my capture device. as you know,there's three soure mode,tv channel、composite、svideo. the only working one is composite. is there any possible way to do it in Gsvideo. more like this http://processing.org/reference/libraries/video/Capture_source_.html
which means i can set my default capture input source as composite mode.

thank you in advanced! Smiley
Re: Gsvideo,any way to set capture source?
Reply #1 - Jul 28th, 2009, 6:50am
 
GSVideo allows you to chose the capture device using the GSCapture.list() functionality, i.e.:

String[] cameras = GSCapture.list();
cam = new GSCapture(this, 320, 240, cameras[0]);

Wouldn't be this what you need in order to choose the capture device? Whether or not that device is supported by gstreamer, is a different story Smiley
Re: Gsvideo,any way to set capture source?
Reply #2 - Jul 28th, 2009, 8:34pm
 
sorry,not this one.  just wondering how can i set my capture preview routing via the device's crossbar,so i can sticks with it--say the composite or svideo&something else.  something like this maybe ?i.e:video.getCrossbarPins(..))
is it possible?

sorry for the confused.  Smiley
Re: Gsvideo,any way to set capture source?
Reply #3 - Aug 4th, 2009, 9:13am
 
Sorry, I'm not familiar with this functionality. I'll do some research online to see if it is possible to implement with gstreamer.
Re: Gsvideo,any way to set capture source?
Reply #4 - Aug 5th, 2009, 9:11pm
 
thank you for looking at this,would be great if this can working with gsvideo,deeply appreciate
Page Index Toggle Pages: 1