Re: NTSC/PAL resolution support for "EasyCap" device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bastien,

(CC'ing the linux-media mailing list)

On Tuesday 31 May 2016 12:38:49 Bastien Nocera wrote:
> Hey,
> 
> I saw your commits to add quirks for Arkmicro "webcams". I recently
> bought a dirt cheap "EasyCap" device on eBay, but it only seems to
> support 640x480 instead of the native "NRSC" resolution as mentioned on
> the device's box.
> 
> $ v4l2-ctl --list-formats-ext -d /dev/video0 
> ioctl: VIDIOC_ENUM_FMT
> 	Index       : 0
> 	Type        : Video Capture
> 	Pixel Format: 'MJPG' (compressed)
> 	Name        : Motion-JPEG
> 		Size: Discrete 640x480
> 			Interval: Discrete 0.017s (60.000 fps)
> 			Interval: Discrete 0.033s (30.000 fps)
> 			Interval: Discrete 0.067s (15.000 fps)
> 			Interval: Discrete 0.200s (5.000 fps)
> 		Size: Discrete 352x288
> 			Interval: Discrete 0.017s (60.000 fps)
> 			Interval: Discrete 0.033s (30.000 fps)
> 			Interval: Discrete 0.067s (15.000 fps)
> 			Interval: Discrete 0.200s (5.000 fps)
> 
> Device is:
> Bus 003 Device 066: ID 18ec:5850 Arkmicro Technologies Inc. 
> 
> In your professional opinion, should I try using UVC_QUIRK_PROBE_DEF
> or UVC_QUIRK_PROBE_MINMAX as a quirk for this device? Is there a stand-
> alone driver somewhere that I can use for testing (rather than
> recompiling a whole kernel)?

Those quirks will not affect the available resolutions.

UVC devices expose a list of resolutions they support through the USB 
descriptors, and the uvcvideo device merely uses that list to expose supported 
resolutions to userspace.

If the device doesn't expose resolutions other than the above two, the box 
could be lying, or the device could use non-standard extensions to UVC to 
support additional resolutions. The first step would be to try the camera in a 
Windows machine to see if additional resolutions are available (without 
installing any additional device-specific software).

> Let me know if you prefer that I send this to the media list.

Done :-)

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux