On Saturday 20 January 2007 05:52, Andrew McNabb wrote:
> On Wed, Jan 10, 2007 at 01:38:26PM +0100, Nick Rosier wrote:
> > > > To increase the buffer for mpeg load ivtv with module option
> > > > enc_mpg_buffers=8 for example.
> >
> > which bitrates have you configured in MythTV? I had set max bitrate
> > to 7000, min to 5500 to get high-quality recordings and got the
> > same problems. Switching them back to 6000/4500 seems to have
> > solved that.
>
> Okay. I've tried setting enc_mpg_buffers to 8, and it made it a
> little bit better, but I'm still getting lots of errors about the
> application not reading fast enough. My bitrates are actually lower
> than the defaults (3000/2200).
>
> I'm currently using a version of the driver from trunk on 2007-01-07.
> Have there been any fixes in the meantime? I don't doubt that MythTV
> reads data inefficiently, but it's weird that the errors have only
> showed up in the last few months.
>
> Thank you.
Try setting the number of buffers to 16. I looked at the ivtv-0.4 code
and it looks like it was able to dynamically allocate buffers until 16
MB. This dynamic allocation was removed some time ago in ivtv-0.8 and
up (it gave lots of other problems), but that might mean that you can
run out of buffers if MythTV is not responsive enough. I've seen one
other report that said that increasing the number of buffer to 16
works.
There is also a MythTV patch somewhere that improved the responsiveness.
4MB of buffer space should be enough for about 4 seconds with the
default bitrates, so that should be enough for a well written
application.
Regards,
Hans
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel