пол дня пытаюсь найти как это правильно сделать
Вот так:
Match key by audio pid, or video pid, or pmt pid
F <sid><pid> 00000000 <key>где:sid (2 bytes) : the service id of the channel
pid (2 bytes) : any other pid of the channel (except the ecm pid) like audio pids, video pid or pmt pid.
key (8 bytes) : the key (Control Word - CW) with or without the checksum bytes set
Пример:sid : 0001
pid : 1020
key : 1122330055667700
F 00011020 00 1122330055667700
F 00011020 01 1122330055667700Обычно мы используем не аудиопид, а видеопид.