Max size format

Gabriel Duarte <[email protected]> Thu, 29 Jul 2010 13:56:01 -0300
Newsgroups gmane.comp.video.video4linux
Message-ID <[email protected]>
Hello all!
I've built an app to get the max size of my cameras! I got two capture
devices, and simple webcam, with max size 640x480 and a TV capture card, max
size 744x480. When I query my webcam, at /dev/video0, it returns the right
size, but my TV card returns a weird size, like this:


*gabriel@bourbaki:~/Desktop$ ./camera_size /dev/video0*
*raw pixfmt: YUYV 640x480*
*pixfmt: RGB3 640x480*
*gabriel@bourbaki:~/Desktop$ ./camera_size /dev/video1*
*raw pixfmt: BGR3 48x32*
*pixfmt: RGB3 48x32*
*
*
I'll attach my code and if someone find out what is going wrong, I'd be very
glad!

Thank you all!


-- 
Gabriel Duarte
Linux User #471185
Rio de Janeiro - RJ
http://w3.impa.br/~gabrield

Phones:
(55) (21) 9463-7760  -> Mobile
(55) (21) 2464-9302  -> Home
(55) (21) 2529-5080  -> Work
--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list