tkhd atom
This commit is contained in:
parent
1e5bf0d21d
commit
b9a7b10639
1 changed files with 37 additions and 13 deletions
|
@ -1,13 +1,13 @@
|
|||
struct WindowMatrix {
|
||||
A: u32,
|
||||
B: u32,
|
||||
U: u32,
|
||||
C: u32,
|
||||
D: u32,
|
||||
V: u32,
|
||||
X: u32,
|
||||
Y: u32,
|
||||
W: u32,
|
||||
a: u32,
|
||||
b: u32,
|
||||
u: u32,
|
||||
c: u32,
|
||||
d: u32,
|
||||
v: u32,
|
||||
x: u32,
|
||||
y: u32,
|
||||
w: u32,
|
||||
}
|
||||
|
||||
struct MOOV {
|
||||
|
@ -19,16 +19,40 @@ struct MOOV {
|
|||
struct MVHD {
|
||||
version: u8,
|
||||
flags: u32,
|
||||
create_time: u64,
|
||||
modify_time: u64,
|
||||
create_time: u32,
|
||||
modify_time: u32,
|
||||
time_scale: u32,
|
||||
duration: u64,
|
||||
duration: u32,
|
||||
playrate: u32,
|
||||
volume: u16,
|
||||
matrix: WindowMatrix,
|
||||
next_track_id: u32,
|
||||
}
|
||||
|
||||
struct TRAK;
|
||||
struct TRAK {
|
||||
tkhd: TKHD,
|
||||
edts: EDTS,
|
||||
mdia: MDIA,
|
||||
}
|
||||
|
||||
struct TKHD {
|
||||
version: u32,
|
||||
flags: u32,
|
||||
create_time: u32,
|
||||
modify_time: u32,
|
||||
track_id: u32,
|
||||
time_scale: u32,
|
||||
duration: u32,
|
||||
layer: u16,
|
||||
alt_group: u16,
|
||||
volume: u16,
|
||||
matrix: WindowMatrix,
|
||||
width: u32,
|
||||
height: u32,
|
||||
}
|
||||
|
||||
struct EDTS;
|
||||
|
||||
struct MDIA;
|
||||
|
||||
struct MVEX;
|
||||
|
|
Loading…
Reference in a new issue