Steven M. Schultz wrote: > Does anyone know how 20bit LPCM audio is packed? According to > http://www.dvddemystified.com/dvdfaq.html#3.6.2 LPCM of 16, 20 or 24 > bits (at either 48k or 96k) is allowed.
My understanding from examining 20-bit DVD-Audio AOB files (authored using a commercial DVD-A authoring package) is that they are packed in a similar way to 24-bit. i.e. taking the example of four samples (two stereo pairs) 0x01234 (sample 0, left) 0x56789 (sample 0, right) 0xabcde (sample 1, left) 0xf3456 (sample 1, right) these would be packed as: 0x01 0x23 0x56 0x78 0xab 0xcd 0xf3 0x45 0x49 0xe6 i.e. the most significant 16 bits (in big-endian order) for each of the four samples, followed by the least significant 4 bits of each sample. But I haven't even tested this with DVD-Audio, so I can only guess that this is how it's done for DVD-Video. Dave. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Mjpeg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
