Mailing List archive

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

[linux-dvb] Decrypted packets from FF card with CAM



I have FF card with CAM and subscription which works fine

for encrypted channels with VDR.

 

But when I try to get decrypted packets from the card it fails,

only FTA and encrypted packets come out.

The CAM I use is icam type so it should be easy to get the

packets since all the processing software is in the card.  

The software I use is such:

 

cam = open("/dev/dvb/adapter#/cam", O_RDONLY); //open device

 

            // ADDING FILTERING PIDS (ASSUMING WE ALREADY KNOW WHICH PIDS)

            for(i=0; i<all_necesary_pids; i++)

            {

                        dmx[i] = open("/dev/dvb/adapter#/demux, O_RDWR)

                        pesFilterParams.pid = pids[i];

                        pesFilterParams.input = DMX_IN_FRONTEND;

                        pesFilterParams.output = DMX_OUT_TS_TAP;

                        pesFilterParams.type = DMX_PES_OTHER; //here could be DMX_PES_(VIDEO, AUDIO, TXT, etc)

                        pesFilterParams.flags = 0; //here could be DMX_IMMEDIATE_START, but it is working this way too;

                        ioctl(dmx[i], DMX_SET_PES_FILTER, &pesFilterParams);

            }

 

So where might be the problem in getting decrypted packets?

Another PID filtering method should used?

Another API? Driver from av7110? CI/CAM setting?


Home | Main Index | Thread Index