View Single Post
Old 12th December 2008, 23:42   #813  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by neuron2 View Post
If someone can tell me how to detect those audio types, I can probably do it.
This is with m2ts container, right? If so, you can use the stream type:

Code:
0x03: MP2 (MPEG-1 Audio Layer II)
0x04: MP2 (MPEG-2 Audio Layer II)
0x0f: AAC (MPEG-2 Part 7 Audio)
0x11: AAC (MPEG-4 Part 3 Audio)
0x80: LPCM (only if format id descriptor is 'HDMV')
0x81: AC3
0x82: DTS
0x83: TrueHD+AC3
0x84: E-AC3
0x85: DTS-HD High Resolution
0x86: DTS-HD Master Audio
0x87: E-AC3
0xA1: E-AC3 (secondary audio)
0xA2: DTS Express (secondary audio)
madshi is offline