How to change to composite input in Java

asked 2016-01-09 17:40:33 -0600

Hello,

I can't seem to find any info on how to do the following:... I need to switch the default input 0 (S-Video) to the composite input (1) in my application which captures the video from the /dev/video0 device.

OpenCV under java seems to default to input 0 and stays that way, I've tried using the command line:

sudo v4l2-ctl -d /dev/video0 -i 1
with no success... I still get a black screen ... otherwise no errors.

I know my setup works as xawtv on input 1 displays the video.

Thx in advance.

edit retag flag offensive close merge delete