hi
i'm not sure of this is the right place for this question, but i'll ask anyway...
i've been working on an application that will give me some general info about a quicktime
video file (Dimensions, Frame Rate, Compressor Name, Audio channels...)
so i read the "Quicktime File Format Specification" document from apple.com, and i did get
to read most of the data i need from the corresponding atoms (atoms are the building units
of a quicktime file), but i came across some files that didn't have these atoms at all
(since most of these atoms are optional)
examples include
- 'stsd' atoms hold the compressor name, but it's optional
- 'stts' atoms hold data vital to the frame rate calculation, also optional
- 'stss' atoms hold data regarding key frames, also optional
and even though one of the atoms i need isn't even optional, i still couldn't find it
('tkhd' for the video dimensions)
but when i open these files (which missing atoms) they work well, and when i open them in
VLC player, i can see the data i need in the 'media information' provided by the player
so my question is: how can i get the data i need even when the atoms aren't available? (it
must be doable, VLC proves that!)
ps. i'm working on a java applet, so i can only use standard java libraries
i'm not sure of this is the right place for this question, but i'll ask anyway...
i've been working on an application that will give me some general info about a quicktime
video file (Dimensions, Frame Rate, Compressor Name, Audio channels...)
so i read the "Quicktime File Format Specification" document from apple.com, and i did get
to read most of the data i need from the corresponding atoms (atoms are the building units
of a quicktime file), but i came across some files that didn't have these atoms at all
(since most of these atoms are optional)
examples include
- 'stsd' atoms hold the compressor name, but it's optional
- 'stts' atoms hold data vital to the frame rate calculation, also optional
- 'stss' atoms hold data regarding key frames, also optional
and even though one of the atoms i need isn't even optional, i still couldn't find it
('tkhd' for the video dimensions)
but when i open these files (which missing atoms) they work well, and when i open them in
VLC player, i can see the data i need in the 'media information' provided by the player
so my question is: how can i get the data i need even when the atoms aren't available? (it
must be doable, VLC proves that!)
ps. i'm working on a java applet, so i can only use standard java libraries