I found a solution for extracting date and time information from miniDV AVI files. Here’s the method I used:
Steps:
Search for the non-decimal identifier: Look for the sequence "ix01"
Locate "00db": After finding "ix01", search for "00db" in the file. Inside this cluster, you will find auxiliary data.
Extract Date: Search for 0x62 ("recdate"). It’s followed by 4 bytes that represent the date.
For example: 62 FF C2 E9 07 → 2007-09-02.
For example: 63 FF 84 C1 D8 → 18:41:04.
Time Encoding:
Minutes and Seconds are encoded as hexadecimal values with a shift:
8 = 0, 9 = 1, A = 2, B = 3, C = 4, D = 5 for MM and SS.
Hours are encoded in a similar way:
C = 0, D = 1 for HH.