Mailing List archive

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

[linux-dvb] Re: /dev/dvr and filters



Johannes Stezenbach writes:
 > Andrej Jouravlev wrote:
 > > 
 > > I am trying to setup few filters
 > > something like:
 > > 
 > >  pesFilterParams.pid = 0;
 > >   pesFilterParams.input = DMX_IN_FRONTEND;
 > >   pesFilterParams.output = DMX_OUT_TS_TAP;
 > >   pesFilterParams.pesType = DMX_PES_AUDIO;
 > >   pesFilterParams.flags = DMX_IMMEDIATE_START;
 > >   if (ioctl(fd_demux2, DMX_SET_PES_FILTER, &pesFilterParams) < 0)
 > > return(1);
 > > 
 > >   pesFilterParams1.pid = 1;
 > >   pesFilterParams1.input = DMX_IN_FRONTEND;
 > >   pesFilterParams1.output = DMX_OUT_TS_TAP;
 > >   pesFilterParams1.pesType = DMX_PES_OTHER;
 > >   pesFilterParams1.flags = DMX_IMMEDIATE_START;
 > > 
 > >   if (ioctl(fd_demux2, DMX_SET_PES_FILTER, &pesFilterParams1) < 0)
 > > return(1);
 > > ......
 > > 
 > > but from /dev/dvr i can get only the data from last filter.
 > >  something wrong ?
 > 
 > One filter per file descriptor. You must open /dev/*/dvr twice.
 > 
 > 

You mean /dev/ost/demuxN.

Marcus

---------------------------------------------------------------------
Dr. Marcus Metzler                             
mocm@netcologne.de                     http://www.metzlerbros.de
mocm@convergence.de                    http://www.convergence.de

Convergence Integrated Media GmbH          
Rosenthaler Str. 51                   
D-10178 Berlin                             
---------------------------------------------------------------------


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index