I've used dvbsnoop to analyze my ts file. Audio stream of the first channel PID is 2562.
PES PID of the from dvbsnoop is 0xc1 and state that is ISO/IEC 13818-3 or ISO/IEC 11172-3 audio stream. The audio encoded ac aac latm, is that means the the PES PID is set wrong in the stream ?
Info from dvbsnoop
Sync-Byte 0x47: 71 (0x47) Transport_error_indicator: 0 (0x00) [= packet ok] Payload_unit_start_indicator: 1 (0x01) [= Packet data starts] transport_priority: 0 (0x00) PID: 2562 (0x0a02) [= ] transport_scrambling_control: 0 (0x00) [= No scrambling of TS packet payload] adaptation_field_control: 1 (0x01) [= no adaptation_field, payload only] continuity_counter: 12 (0x0c) [= (sequence ok)] Payload: (len: 184) ==> PES-stream: 193 (0xc1) [= ISO/IEC 13818-3 or ISO/IEC 11172-3 audio stream] Data-Bytes: 0000: 00 00 01 c1 06 39 84 80 05 2b 98 37 78 71 56 e0 .....9...+.7xqV. 0010: f8 20 00 13 08 00 07 88 09 d1 ac 22 a4 b9 20 68 . .........".. h 0020: 95 22 05 56 f6 df 2e 19 c4 44 54 ca e1 0a ba 4a .".V.....DT....J 0030: 90 42 a4 a8 1f d2 a9 55 e5 15 a3 f8 1c 4d 7b f0 .B.....U.....M{. 0040: 3f fa 9e 2f 0a 3d bd 81 46 17 dc 7c 9f 16 32 ef ?../.=..F..|..2. 0050: 71 4d a2 b6 6b 5f 12 e4 ad 20 83 7b 24 d9 b8 56 qM..k_... .{$..V 0060: b7 fc 28 f2 7c de 67 33 ef ea 0e fd 9e bd c3 d6 ..(.|.g3........ 0070: c8 41 b5 46 a5 42 4e 57 69 ae ae d5 f5 7d 50 95 .A.F.BNWi....}P. 0080: 95 9e 3c ed 93 84 56 3a 3d 58 12 54 cc 9f 06 85 ..<...V:=X.T.... 0090: 3a c6 22 be da aa dd 6c 71 e7 72 6b b7 0a cf cb :."....lq.rk.... 00a0: ea cc 63 3d 28 9a fa 55 2b c0 66 ae af 66 2a f8 ..c=(..U+.f..f*. 00b0: 21 30 2a a1 28 61 1b eb !0*.(a.. ==========================================================