All of lore.kernel.org
 help / color / mirror / Atom feed
* Max size format
@ 2010-07-29 16:56 Gabriel Duarte
  2010-07-29 17:46 ` Charlie X. Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Duarte @ 2010-07-29 16:56 UTC (permalink / raw)
  To: video4linux-list

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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Max size format
  2010-07-29 16:56 Max size format Gabriel Duarte
@ 2010-07-29 17:46 ` Charlie X. Liu
  2010-07-29 17:59   ` Gabriel Duarte
  0 siblings, 1 reply; 3+ messages in thread
From: Charlie X. Liu @ 2010-07-29 17:46 UTC (permalink / raw)
  To: 'Gabriel Duarte', 'video4linux-list'

Usually, you should take 720x480 (D1.NTSC) or 720x576 (D1.PAL) or 640x480
(VGA) size from a TV capture card.

-----Original Message-----
From: video4linux-list-bounces@redhat.com
[mailto:video4linux-list-bounces@redhat.com] On Behalf Of Gabriel Duarte
Sent: Thursday, July 29, 2010 9:56 AM
To: video4linux-list
Subject: Max size format

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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Max size format
  2010-07-29 17:46 ` Charlie X. Liu
@ 2010-07-29 17:59   ` Gabriel Duarte
  0 siblings, 0 replies; 3+ messages in thread
From: Gabriel Duarte @ 2010-07-29 17:59 UTC (permalink / raw)
  To: Charlie X. Liu; +Cc: video4linux-list

I know, but the camera driver returns me 744x480. The image size is not a
problem to, because there is post processing to it;

On Thu, Jul 29, 2010 at 2:46 PM, Charlie X. Liu <charlie@sensoray.com>wrote:

> Usually, you should take 720x480 (D1.NTSC) or 720x576 (D1.PAL) or 640x480
> (VGA) size from a TV capture card.
>
> -----Original Message-----
> From: video4linux-list-bounces@redhat.com
> [mailto:video4linux-list-bounces@redhat.com] On Behalf Of Gabriel Duarte
> Sent: Thursday, July 29, 2010 9:56 AM
> To: video4linux-list
> Subject: Max size format
>
> 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:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
>
>


-- 
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:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-29 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-29 16:56 Max size format Gabriel Duarte
2010-07-29 17:46 ` Charlie X. Liu
2010-07-29 17:59   ` Gabriel Duarte

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.