Closed Bug 1096755 Opened 5 years ago Closed 5 years ago

MP4Reader::ReadMetadata doesn't report the correct duration

Categories

(Core :: Audio/Video, defect, P5)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: jya, Unassigned)

References

(Blocks 1 open bug)

Details

http://people.mozilla.org/~jyavenard/tests/mse_mp4/paper-init.html?chunks=1&eos_chunk=5&eos_delay=-1&delay_chunk=0&start=-1

MP4Reader::ReadMetadata reports a duration of 0s.

It should report a duration in this sample of 120.187s
Summary: MP4Reader::ReadMetadata does report the correct duration → MP4Reader::ReadMetadata doesn't report the correct duration
Blocks: MSE
See Also: → 1116645
See Also: → 1116647
Considers it as invalid.

The init segment actually contained two samples. IE and Chrome decodes those two samples and use this as duration (from the last sample pts).

We should however consider the duration as being infinity, (and this is what IE and Chrome do once you remove the two samples)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
See Also: 1116645, 11166471119757
You need to log in before you can comment on or make changes to this bug.