Mailing List archive

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

[linux-dvb] is this correct?



prakash writes:
 > hello,
 > I am trying to read the streams from dvr with the new nokia api. the
 > tuning process is fine(?) as i get FE_HAS_SIGNAL(?). Then i set the demux
 > filters for audio and video. for this i open demux0(twice) and set them as
 > 
 > 	pesFilterParamsV.pid = vip;
 >         pesFilterParamsV.input = DMX_IN_FRONTEND;
 >         pesFilterParamsV.output  = DMX_OUT_TS_TAP;
 >         pesFilterParamsV.pesType = DMX_PES_VIDEO;
 >         pesFilterParamsV.flags   = DMX_IMMEDIATE_START;
 > and the same for audio.
 > ioctl(fd,DMX_SET_PES_FILTER, &pesFilterParams(A/V)) sets the filter
 > for recording i open dvr0 in read/write mode. Here the open operation
 > fails saying device or resource busy. what are the other settings to be
 > set up or am i making a very fundamental mistake during the setup?
 > any suggestions would be helpful.

Did you set the buffer size, i.e.   ioctl(fd, DMX_SET_BUFFER_SIZE,
64*1024) ?


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 as subject.



Home | Main Index | Thread Index