[streaming] Re: USB Cameras....
Tristan Leteurtre
tristan.leteurtre at anevia.com
Tue Oct 14 10:55:23 CEST 2003
On Mon, Oct 13, 2003, Richard Ham wrote:
>
> On 10/13/2003, "Tristan Leteurtre" <tristan.leteurtre at anevia.com> wrote:
> >On Mon, Oct 13, 2003, Richard Ham wrote:
> >> Is there a way to specify to vls what parameters to talk to the camera
> >> with?? I've been looking for a palette type compand for v4linput, but
> >> seems it doesn't exist....
> >
> >All can be done through the vls.cfg (height x width, ...), but it is not
> >possible to choose the palette type. The vls tries to initialize with
> >other palettes in case of failure.
>
> Tristan,
>
> Is it possible to see this in operation through debug? Will vls try to go
> greyscale or just colour? I'm trying to figure out why a usb camera that
> works beautifully with apps like motv fail with vls.... (after all, if I can
> figure this out, I can probably find a way around the
> issue....programatically or otherwise....)
All the key is in src/modules/v4lreader.cpp. Maybe I forgot some cases,
I'm sure this part of code can be more tolerant and support more
webcams.
Speaking about palette, vls will successively try YUV420P, YUV422 and
RGB24. The reason for not trying more palette is I am not sure if ffmpeg
can convert and handle other v4l palette. Probably, but I have to try.
To debug, modifying ioctl to a new function with a printf associated
would be great... anyway, 'strace' can be of great help for quick debug.
I have to deal quickly with all that sound / palette pb and v4l....
Regards,
--
Tristan
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the streaming
mailing list