Picking device input format



Hi,

>From what is now in trunk I can see that currently cheese tries to
pick the highest possible resolution. That might not be the best idea.
>From all the detect.py output I got there are a lot of cameras
supporting different operation modes.

For example it is true that if camera has both YUV and RGB output both
will support all resolutions. But keep in mind some cameras also
support image/jpeg and it usually has much higher resolutions with
much lower framerates.

While picking that mode for pictures is probably fine (other than
forcing gstreamer effects to operate on a 1600x1200 image with quality
of maybe 640x480) and it was meant for pictures, it is rather
unsuitable for recording videos.

Also it looks like cheese-webcam.c (around line 592) needs to check if
format->mimetype is "image/jpeg" and in that case use "jpegdec"
instead of "identity" (identity does nothing but allows for
negotiation, jpegdec should allow too).

Cheers,

-- 
Patryk Zawadzki
PLD Linux Distribution


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