Hi,
I have used mediafilesegmenter in order to generate FMP4 content and perform some test on it.
I verified that the tool is quite lazy when it comes to set sample_flags: it only sets the bit corresponding to sample_is_non_sync_sample.
The ISO Base Media File Format specifies many additional fields, with the sematic below, but all are always set to 0 by the tool: at least the sample_depends_on could be set to 2 for Intra frames and to 1 otherwise... Any hope to see this happening in a next release?
is_leading takes one of the following four values:
0: the leading nature of this sample is unknown;
1: this sample is a leading sample that has a dependency before the referenced I-picture (and is therefore not decodable);
2: this sample is not a leading sample;
3: this sample is a leading sample that has no dependency before the referenced I-picture (and is therefore decodable);
sample_depends_on takes one of the following four values:
0: the dependency of this sample is unknown;
1: this sample does depend on others (not an I picture);
2: this sample does not depend on others (I picture);
3: reserved
sample_is_depended_on takes one of the following four values:
0: the dependency of other samples on this sample is unknown;
1: other samples may depend on this one (not disposable);
2: no other sample depends on this one (disposable);
3: reserved
sample_has_redundancy takes one of the following four values:
0: it is unknown whether there is redundant coding in this sample;
1: there is redundant coding in this sample;
2: there is no redundant coding in this sample;
3: reserved