LinHES Forums
http://forums.linhes.org/

Can't seem to set ivtv enc_xxx_buffers
http://forums.linhes.org/viewtopic.php?f=6&t=18058
Page 1 of 1

Author:  jmacmythtv [ Sun Mar 16, 2008 9:08 am ]
Post subject:  Can't seem to set ivtv enc_xxx_buffers

Hi everyone,

Can anyone provide guidance as to how to set the ivtv buffer sizes? I used to put them in /etc/modprobe.d/options. This doesn't seem to do it anymore. I have also tried adding the lines to /etc/mythtv/modules/ivtvX

An example line that I am using:

options ivtv enc_mpg_buffers=16

The error message in syslog that I am having to prompt this is:

ar 16 06:47:22 myvcr kernel: ivtv0: All encoder VBI stream buffers are full. Dropping data.
Mar 16 06:47:22 myvcr kernel: ivtv0: Cause: the application is not reading fast enough.
Mar 16 06:47:22 myvcr kernel: ivtv0: All encoder MPG stream buffers are full. Dropping data.
Mar 16 06:47:22 myvcr kernel: ivtv0: Cause: the application is not reading fast enough.

I am using modinfo ivtv to see the settings:

parm: dec_vbi_buffers:Decoder VBI buffers (in kB)
Default: 64 (int)
parm: dec_yuv_buffers:Decoder YUV buffers (in MB)
Default: 1 (int)
parm: dec_mpg_buffers:Decoder MPG buffers (in MB)
Default: 1 (int)
parm: enc_pcm_buffers:Encoder PCM buffers (in kB)
Default: 320 (int)
parm: enc_vbi_buffers:Encoder VBI Buffers (in MB)
Default: 1 (int)
parm: enc_yuv_buffers:Encoder YUV Buffers (in MB)
Default: 2 (int)
parm: enc_mpg_buffers:Encoder MPG Buffers (in MB)
Default: 4 (int)

Although I don't think that it is relevant, I have also enabled the set_ivtv_params script to run at startup and set the temporal filter to 8 on my two pvr250 cards.

thanks!

Author:  craigtv [ Mon Mar 17, 2008 1:48 pm ]
Post subject: 

Assuming you're using R5F27

increase buffers for ivtv by adding a line to /etc/mythtv/modules/ivtv

Here's what I used ...

Code:
#following line added to increase buffers
options ivtv enc_yuv_buffers=8 enc_mpg_buffers=32 enc_vbi_buffers=8 enc_pcm_buffers=8


I put it just before the line that says "install ivtv..." Note that the format of the options is a little different as well.

Author:  jmacmythtv [ Mon Mar 31, 2008 7:16 pm ]
Post subject: 

Thanks -changed this a while ago and shutdown recently for a couple of hours while I added a disk...but Still no luck with this. I put the identical line as you in /etc/mythtv/modules/ivtv

Is there a script somewhere that might be overwriting these values on boot?

and Yes I am using R527 - sorry to omit that.

tks!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/