Re: Frames come in bursty when capturing with low framerate

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



v4l@xxxxxxx writes:

> I'm using the streaming I/O (Memory Mapping) method to capture frames with
> the bttv2 driver. I'm queing buffers at a framerate of 10 frames per
> second (realtime thread, SCHED_FIFO) with the VIDIOC_QBUF ioctl. I expect
> the frames to be captured evenly distributed over time, but it seems that
> this is not the case. When I look at the timestamps of the captured frames,
> they are 'clustered' or 'bursty'.

PAL or NTSC?  With NTSC has 30 fps frame rate and it should hit every
3th frame pretty well.  PAL has 25 fps and it will not work that nicely.

The only way to reduce the frame rate is to skip frames and picking 10
frames out of 25 isn't going to work smooth ...

> Is this the proper way of grabbig with reduced framerate ?

Grab at full frame rate and throw away the frames you don't want.

  Gerd

-- 
You have a new virus in /var/mail/kraxel




[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