CDV file format¶
CDV files contain a header (CD-Index mark) and records.
CDV header¶
| Field |
Format |
Length |
Description |
| Mark |
"CDV" |
3 |
Always equal to "CDV" for CDV files |
| 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 CDI file |
| Seconds |
short |
2 |
The duration in seconds |
| Width |
short |
2 |
The width of the image |
| Height |
short |
2 |
The height of the image |
| Codec |
string |
18 |
The codec |
| Codec tag |
string |
4 |
The codec tag, e.g., XVID |
| Bitrate |
short |
2 |
The video bitrate (kbit) |
| Framerate |
float |
4 |
The video frame rate (fps) |
| Interlaced |
byte |
1 |
Is video interlaced? |
| Audio |
long int |
4 |
Offset the audio record in CDVA database |
| Video streams |
byte |
1 |
Number of video streams (>1 can mean 3D) |
| Audio streams |
byte |
1 |
Number of audio streams (which are available in CDVA) |
| Subtitles |
bytes |
1 |
Number of embedded subtitles |
| Title |
string |
128 |
The title of the video |
| IMDB |
long int |
4 |
ID of the video on IMDB (not used) |
| Created |
date |
4 |
The time when the video was created |
| Latitude |
float |
4 |
The GPS latitude |
| Longitude |
float |
4 |
The GPS longitude |