Re: [V4L] switch to v4l2 ?

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



Gerd Knorr wrote:
> 
> >   - Multi-buffering:  You can choose how many capture buffers you want
> > (for short captures you can do a ramdisk type thing, where you allocate
> > enough buffers for your capture, capture to these buffers and write to
> > disk later).  In normal use, this also allows you to absorb a lot of I/O
> > latency.
> 
> v4l allows this too, althrouth there is no way for the driver and the
> application to negotiate size and number of the buffers (that's why it
> might waste alot of memory).  The driver just says how much buffers it
> has and the application can use them.
> 
> For bttv the number + size of buffers can be configured at insmod time.
> Default is only two buffers, but you can raise that if you need more.
> 
>   Gerd

Yes, v4l does allow it, but the frames you get out of the buffers are
not timestamped, so it is impossible to accurately synchronise them if
you pull them out of a long queue. (I still think the lack of
timestamping is the biggest problem with v4l).  There is also no method
to tell how deep the queue actually is, so you can't even get
approximate timing.

-justin





[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