Re: V4L2 backwards compatability

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



Wan Tat Chee <tcwan@xxxxxxxxx> writes:

> >   This sounds consistent with the tvtime bugreports.  tvtime must grab
> > all 576 scanlines (for PAL) to deinterlace correctly, and we default to
> > 720 pixels per scanline, but apparently if we capture 200x576 or so
> > things seem to work.  Sounds like a driver bug.
> 
> You're both right. I tried mplayer again, and now I can go up to something
> like 550 x 288, 270 x 576, else 360 x 420 or thereabouts. They're all
> around 150K pixels. Is there a memory window size limitation somewhere
> that's causing this?

Sort of.  The buffer size is determined by the current video format at
VIDIOCGMBUF time.  Which happens to be just the default
(320x240xRGB24) for most v4l applications, because nobody calls
VIDIOCSWIN before VIDIOCGMBUF ...

I've changed the default capture size in the latest snapshot.

  Gerd

-- 
Weil die späten Diskussionen nicht mal mehr den Rotwein lohnen.
				-- Wacholder in “Melanie”





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux