RES: capture speed improvement

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



Hi,

I am no using double buffering. I have used a sample code from videodog 
I believe that to use double buffering I should set the modules.conf
parameter
add options bttv gbuffers=2 fieldnr=2. Am I wrong ?

Please, do you have any sample code showing how I can use double buffer
properly ?

You said I should get at least 27,28 fps. What computer configuration did
you get this ?

Thanks a lot,

Best regards,

André Luiz R. Moutinho
Computer Engineer, COMPSIS - Computadores e Sistemas Ind. e Com. Ltda
moutinho@xxxxxxxxxxxxxxxxx, moutinho@xxxxxxxxxx
Voice: +55 12 394-13966	Fax: +55 12 322-0888


> ----- Mensagem original -----
> De:		Gleicon S. Moraes [SMTP:gleicon@xxxxxxxxxx]
> Enviada em:		terça-feira, 29 de janeiro de 2002 16:25
> Para:		video4linux-list@xxxxxxxxxx
> Assunto:		Re:  capture speed improvement
> 
> If should get at least 27, 28 fps with this card.
> The read syscall can be slower than a memcpy from a mmap'ed device.
> Something must be wrong with your code, check out if you are using double
> buffering properly.
> Best regards
> 
> 
> --
> Gleicon S. Moraes
> gleicon@xxxxxxxxxxxx
> gleicon@xxxxxxxxxx
> http://planeta.terra.com.br/informatica/gleicon
> 
> ----- Original Message -----
> From: "André Luiz Ribeiro Moutinho" <andre.moutinho@xxxxxxxxxxxxxxxxx>
> To: <video4linux-list@xxxxxxxxxx>
> Cc: "Mauricio Micoski" <mauricio.micoski@xxxxxxxxxxxxxxxxx>; "Marcelo
> Ferreira Vinhas" <marcelo.vinhas@xxxxxxxxxxxxxxxxx>
> Sent: Tuesday, January 29, 2002 6:17 PM
> Subject:  capture speed improvement
> 
> 
> > Hi
> >
> > I am developing a capture and video multicast. I have
> > used the VIDIOCMCAPTURE and  VIDIOCSYNC ioctls to read
> > 1 frame from the grabber (struct video_mmap.frame = 0)
> >
> > I could accomplish this but the maximum frame rate is 15.
> > I would like to know how I can improve the video frame rate.
> > I need a higher frame rate and the CPU usage is very low.
> >
> > What about using the read syscall ? Is it faster than mmap
> > method ? Is threre a faster method ? Do I have a DMA access
> > time limit ?
> >
> > I am using the PixelView Play TV Pro and running under
> > a Pentium 300Mhz equivalent machine and linux RH7.1
> > kernel 2.4.7.
> >
> > Thanks a lot,
> >
> > André Luiz R. Moutinho
> > Computer Engineer, COMPSIS - Computadores e Sistemas Ind. e Com. Ltda
> > moutinho@xxxxxxxxxxxxxxxxx, moutinho@xxxxxxxxxx
> > Voice: +55 12 394-13966 Fax: +55 12 322-0888
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Video4linux-list mailing list
> > Video4linux-list@xxxxxxxxxx
> > https://listman.redhat.com/mailman/listinfo/video4linux-list
> >
> 
> 
> 
> _______________________________________________
> Video4linux-list mailing list
> Video4linux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/video4linux-list





[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