[linux-dvb] RE : Length of /dev/dvb/adapter0/dvr0's buffer.

Thierry Lelegard thierry.lelegard at tv-numeric.com
Mon Feb 25 09:58:08 CET 2008


> I'm trying to read from /dev/dvb/adapter0/dvr0.
> The problem is that the process reading sometimes is not fast enough and after a while I get errno 
> 75 when I try to read from it.
>
> On average the speed is ok, so it should work.
> There must be a buffer behind dvr0 that goes in error onece it is full.
>
> 1) how can I make it bigger?
> 2) how can I check how full it is?

You can set the *demux* buffer size, upstream from dvr, using ioctl DMX_SET_BUFFER_SIZE.
The default value is 8 kB. Using 1 MB, I can do full TS capture without any loss. 




More information about the linux-dvb mailing list