Changes

117 bytes added ,  12:22, 19 February 2023
→‎File format: Keep header and metadata separate
Line 163: Line 163:     
The following entries use little-endian.
 
The following entries use little-endian.
 +
 +
=== Header ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 194: Line 196:  
|-
 
|-
 
| 0x18
 
| 0x18
| 0x14
+
|  
 
| [[#Interactive links header|Interactive links header]]
 
| [[#Interactive links header|Interactive links header]]
 
|-
 
|-
| 0x2C
+
|  
 +
|
 +
| [[#Metadata|Metadata]]
 +
|}
 +
 
 +
=== Metadata ===
 +
{| class="wikitable"
 +
|-
 +
! Offset
 +
! Length
 +
! Notes
 +
|-
 +
| 0x0
 
| 0x4
 
| 0x4
 
| Metadata length
 
| Metadata length
 
|-
 
|-
| 0x30
+
| 0x4
 
| 0x20
 
| 0x20
 
| Video ID (M<shortvidtitle>video ID)
 
| Video ID (M<shortvidtitle>video ID)
 
|-
 
|-
| 0x50
+
| 0x24
 
| 0x8
 
| 0x8
 
| [[#Timestamp|Release date]]
 
| [[#Timestamp|Release date]]
 
|-
 
|-
| 0x58
+
| 0x2C
 
| 0x8
 
| 0x8
 
| [[#Timestamp|Expire date]]
 
| [[#Timestamp|Expire date]]
 
|-
 
|-
| 0x60
+
| 0x34
 
| 0x78
 
| 0x78
 
| UTF-16 video title
 
| UTF-16 video title
 
|-
 
|-
| 0xD8
+
| 0xAC
 
| 0x8
 
| 0x8
 
| ?
 
| ?
 
|-
 
|-
| 0xE0
+
| 0xB4
 
| 0x4
 
| 0x4
 
| Video length
 
| Video length
 
|-
 
|-
| 0xE4
+
| 0xB8
 
| 0x190
 
| 0x190
 
| UTF-16 video description
 
| UTF-16 video description
 
|-
 
|-
| 0x274
+
| 0x248
 
| 0x20 * number of links
 
| 0x20 * number of links
 
| Interactive link IDs (I<shortvidtitle>video ID)
 
| Interactive link IDs (I<shortvidtitle>video ID)
Line 283: Line 297:  
| Padding?
 
| Padding?
 
|}
 
|}
 +
 +
    
=== Interactive links ===
 
=== Interactive links ===
106

edits