![]() |
| |||||||
| Emulators and Loggers All emulation and logging questions and discussion. |
![]() |
| | LinkBack (1) | Thread Tools | Search this Thread | Display Modes |
| | #4 (permalink) |
| Senior Member | Okay, its easy for me, I have a couple of Nokias, a DBox and a 9500S so I can use the Autodetect feature in MLog to get the PID and Seperator. As you know the PID of the stream you want to search just save a log of few seconds to a bin file, then view the file in an editor such as Hex Workshop or Ultra Edit you will get something like this, a sample from Aurora's IRD1 data Stream, 401CC3482E8801000014680D11002F9251B69807513C008B2E 60F6F98D5B82401CC3482E8401000014680D1100B7C3D34B8A6F5CA2008B2F74 877F0B32FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFF0082401CC3482E8001000014680D110008654282BAF8E50D008B3051 02C30A7982401CC3482E7B01000014680D1100C36EAEC41C290BD5008B3171 FB97CEA782401CC3482E7701000014680D110092356520015E9637008B32F7 36F0E35382401CC3482E7101000014680D1100AB36C0C842424465008B334A 5A2BC09682401CC3482E6D01000014680D1100084D5E59ECF11CC4008B347A 85648551FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFF0082401CC3482E6901000014680D1100AD4EDE83F9E196D1008B35CB EC71AC4482401CC3482E6401000014680D11005304E666554598C5008B36B4 1187DA6982401CC3482E6001000014680D110048484803ADA7CF69008B3705 AD5F20B482401CC3482E5C01000014680D110014FB23F5430F08E5008B3893 573D98C482401CC3482E5801000014680D1100365E660F22D7B83B008B396C 749FD9F3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFF0082401CC3482E As you can see every now and then you will get "filler bytes" of FF's with 00 after it, then 8240, thats the seperator, if you look through the sample provided you will see a few 8240's. Now I don't have a Dreambox or a Sat card so if some have an easier option i.e. software wise, maybe they can let you know, but probably the easiest way is to ask for the information, Aurora's Irdeto1 is 8240, so is Austar's Irdeto2, Aurora Irdeto2 is 8240 (was 8270). Just a note not as many "Filler Bytes" used in Austar Irdeto2 stream
__________________ Cheers Ted (Al) |
| | |
| | #7 (permalink) | |
| Member | Quote:
The main issue with logging from a dream is the does not pass the whole packet. (The header is missing). As a result a slightly differnet way was needed to id the "start" of the packet. This method uses the "separator" to id the start of the packet, then applys know packet formats to work out the length etc. In most cases the seperator will be the 2 byte id for the EMM (when you are logging the EMM stream/PID). So if you know what sort of data you are looking at it should become clear. As others have stated, a raw log sample should show a pattern. eg: 0x8240... EMMs tend to cam in batchs of the same size. So the seperator will be at a constent offset for that batch. But remember the EMM packet size will change as needed, so this is just a way to try to ID the seperator. | |
| | |
| | #9 (permalink) |
| Member | one nice thing about a lot of dream box images, dvbsnoop is already there ![]() telenet into the box and at the prompt type dvbsnoop, to see if it is already installed, 7000-S and 7020's seem to have. As for the commands, umm well that is a little harder to work out, but all the information needed to log can be found. |
| | |
| Sponsored Links | |
| | |
| | #10 (permalink) |
| Member | From al's post 749FD9F3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFF0082401CC3482E The CA stream is 184 data bytes long... that is, mlog will send 184 bytes of data after it drops the dvb header. This means that at some point they will decide not pad out a packet and start the next "command" in the new packet. To look at the last little bit FFFFFFFFFFFFFF0082401CC3482E FFFFFFFFFFFFFF <- Pad bytes so look for lines that have many FF one after the other (or what ever pad they may use) 00 <- this is the offset to the next command... ie: 00 bytes away. 8240 <- Seperator 1CC3482E .... <-data To repeat. 1. find a heap of pad bytes 2. at the end of those should be 00 3. the next 2 bytes should be the seperator. As to getting the CA_PID Using a dream and dvbsnoop 1. Put the dreambox on a channel for the service you want to log (does not need to be decoding and giving pic, just on that channel. 2. type in : dvbsnoop 1 -n 1 this will give something like dvbsnoop V1.4.50 -- dvbsnoop - DVB Stream Analyzer, MPEG Analyzer[/url] ------------------------------------------------------------ SECT-Packet: 00000001 PID: 1 (0x0001), Length: 36 (0x0024) Time received: Wed 2008-08-27 19:02:14.892 ------------------------------------------------------------ 0000: 01 b0 21 ff ff dd 00 00 09 04 09 6c e0 c0 09 04 ..!........l.... 0010: 09 0b e0 c0 09 04 06 24 e3 ea 09 04 06 04 e3 ea .......$........ 0020: ac 00 28 97 ..(. PID: 1 (0x0001) [= assigned for: ISO 13818-1 Conditional Access Table (CAT)] Guess table from table id... CAT-decoding.... Table_ID: 1 (0x01) [= Conditional Access Table (CAT)] section_syntax_indicator: 1 (0x01) (fixed): 0 (0x00) reserved_1: 3 (0x03) Section_length: 33 (0x0021) reserved_2: 262143 (0x3ffff) Version_number: 14 (0x0e) current_next_indicator: 1 (0x01) [= valid now] Section_number: 0 (0x00) Last_Section_number: 0 (0x00) MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor] descriptor_length: 4 (0x04) CA_system_ID: 2412 (0x096c) [= News Datacom (Videoguard)] reserved: 7 (0x07) CA_PID: 192 (0x00c0) MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor] descriptor_length: 4 (0x04) CA_system_ID: 2315 (0x090b) [= News Datacom (Videoguard)] reserved: 7 (0x07) CA_PID: 192 (0x00c0) MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor] descriptor_length: 4 (0x04) CA_system_ID: 1572 (0x0624) [= Irdeto] reserved: 7 (0x07) CA_PID: 1002 (0x03ea) MPEG-DescriptorTag: 9 (0x09) [= CA_descriptor] descriptor_length: 4 (0x04) CA_system_ID: 1540 (0x0604) [= Irdeto] reserved: 7 (0x07) CA_PID: 1002 (0x03ea) CRC: 2885691543 (0xac002897) ================================================== ======== |
| | |
![]() |
LinkBacks (?)
LinkBack to this Thread: http://www.austech.info/emulators-loggers/8938-separator.html | ||||
| Posted By | For | Type | Date | |
| Emulators and Loggers [Archive] - Austech | This thread | Refback | 31-07-08 05:32 PM | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |