CDVA file format¶
CDVA files contain a header (CD-Index mark) and records.
CDV header¶
Field | Format | Length | Description |
---|---|---|---|
Mark | "CDVA" |
4 | Always equal to "CDVA" for CDVA files1 |
Version | byte |
1 | Right now the only possible value is 0x01 |
CDV record¶
Field | Format | Length | Description |
---|---|---|---|
Offset | long int |
4 | Offset of the record in CDV file |
Language | string |
3 | Three-letter language code, e.g., eng |
Translation | byte |
1 | 1 for original, 2 for dubbed, 3 for two-voie, 4 for one-voice and 0 for uknown |
Codec | string |
18 | The codec |
Codec tag | string |
4 | The codec tag |
Channels | byte |
1 | Number of channels |
Bitrate | short |
2 | Bitrate of audio stream (kbit) |
Frequency | short |
2 | Frequency of audio stream |
1 This is the only CDI database file, that has 4 symbols in the mark