Slow image capture using mmap

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



I am also trying to do double buffering with mmap, v4l and bttv at 30 fps.

I'm queueing two frames with VIDIOCSYNC ioctl and am able to get the code to grab and display at 30 fps when I queue and sync correctly. However - although the loop rate is 30 loops per second, I am seeing the same image twice in a row. I've tried display the data at locations bigbuff, and bigbuff + image_size. The later case is always an empty (black) image.

How do you specify where the driver should place the data?

Thank you in advance,
Chris Barnhart


-------
Gleicon S. Moraes wrote:

>Hi !
>I've edited and uploaded that example you sent to us Justin. Added some
>comments .
>URL:
>http://planeta.terra.com.br/informatica/gleicon/video4linux/videojustin.c
>
>regards
>
>--
>Gleicon S. Moraes





[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