Re: Picking device input format



On Nov 22, 2007 1:46 AM, Patryk Zawadzki <patrys pld-linux org> wrote:
> 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).

Do you know how many frames per second a camera working in jpeg mode
gives? I think that also for photo mode we might want to have video
only, if the framerate is very low.

Jaap

BTW feel free to write patches and atttach them to a bug in bugzilla


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