Hey Ryan,

On Tue, 2003-06-10 at 16:28, Ryan Ayers wrote:
> Could you send me a working code snippet for NTSC?  The grab program in the
> examples dir just produces black images.  The capture program appears to
> work, but I can't view any of the files to determine if it does.

For C, you would do:

struct video_channel vchan;

/* set preferred input/norm.
 * for BTTV - 0 = tv tuner input, 1 = composite, 2 = svideo */
vchan.channel = 0; 
vchan.norm = VIDEO_MODE_NTSC;
ioctl(fd, VIDIOCSCHAN, &vcan);

I have no clue how this would look in whatever language you're using
(Perl?), but I'm sure the idea is largely the same there.

Ronald

-- 
Ronald Bultje <[EMAIL PROTECTED]>


--
video4linux-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/video4linux-list

Reply via email to