El Martes, 23 de Agosto de 2005 21:00, Hans Verkuil escribió:
> On Tuesday 23 August 2005 10:03, Jose Alberto Reguero wrote:
> > El Lunes, 22 de Agosto de 2005 23:52, Hans Verkuil escribió:
> > > On Monday 22 August 2005 23:43, Jose Alberto Reguero wrote:
> > > > El Lunes, 22 de Agosto de 2005 23:08, Hans Verkuil escribió:
> > > > > On Monday 22 August 2005 23:02, Jose Alberto Reguero wrote:
> > > > > > I have a lot of messages with a PVR 350 PAL vbi and a amd64:
> > > > > >
> > > > > > Aug 22 23:00:47 jar kernel: ivtv warning: ENC Stream 2 OVERFLOW
> > > > > > #0: Stealing a Buffer, 641 currently allocated
> > > > >
> > > > > A bit more info would be nice :-) What program are you using, is it
> > > > > reproducable? What are you doing when these messages appear?
> > > > >
> > > > >       Hans
> > > >
> > > > I am using vdr with pvrinput plugin and osdteletext plugin. It read
> > > > sliced teletext from analog channels from /dev/vbi0 simultaneously
> > > > with the captured
> > >
> > > 'sliced teletext': do you mean that it uses the ivtv-specific ioctls to
> > > capture sliced VBI, or is it the general method of reading raw VBI data
> > > and then slicing it by software?
> >
> > struct ivtv_sliced_vbi_format fmt;
> > if (fmt.service_set = IVTV_SLICED_TELETEXT_B;
> >
> > ioctl(vbi_fd, IVTV_IOC_S_VBI_MODE, &fmt)
> >
> > vbi_buffer = new unsigned char[fmt.io_size];
> > r = read(vbi_fd, buffer, fmt.io_size);
> >
> > ¿There are ivtv-specific ioctls to capture sliced VBI?
> >
> > > > video from /dev/video0
> > > > It happen always after a while and not stop until I close vdr(close
> > > > de device).
> > > > When switching channels, it show teletext of previous channels.
> > > > It work well with the 0.2 drivers.
> > >
> > > Can you test with 0.3.7g? I've made changes to h that may have caused
> > > problems. If it works with g, but not with h then I have to see what
> > > broke.
> >
> > With 0.3.7g is the same:
> >
> > Aug 23 09:52:41 jar kernel: ivtv warning: ENC Stream 2 OVERFLOW #0:
> > Stealing a Buffer, 1317 currently allocated
> > Aug 23 09:52:41 jar kernel: ivtv warning: ENC Stream 2 OVERFLOW #1:
> > Stealing a Buffer, 1317 currently allocated
> > Aug 23 09:52:41 jar kernel: ivtv warning: ENC Stream 2 OVERFLOW #0:
> > Stealing a
>
> Looks very much as if the program is not reading the VBI data (or perhaps
> not fast enough). So the driver runs out of buffers and starts doing this.
> I can reproduce it by simply not reading. After a while I get these
> messages.
> r = read(vbi_fd, buffer, fmt.io_size);
>       Hans
>
Thanks. 
I put
r = read(vbi_fd, buffer, fmt.io_size * 32);
and it works fine.

Jose Alberto


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to