Watching EME video hits ASSERTION: Can't handle edits with fixed durations: 'segment_duration == 0', file media\libstagefright\binding/MoofParser.cpp

RESOLVED FIXED in Firefox 39

Status

()

P2
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: cpeterson, Assigned: mattwoodrow)

Tracking

(Blocks: 2 bugs)

unspecified
mozilla39
x86
macOS
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox39 fixed)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
When I watch an EME video using the Adobe or ClearKey CDM and a debug build of Firefox Nightly, I see the following (nonfatal) assertion failure every 10–20 seconds or so. I don't see this assertion failure when watching HTML5 video on YouTube.

[1836] ###!!! ASSERTION: Can't handle edits with fixed durations: 'segment_duration == 0', file c:\builds\moz2_slave\m-cen-w32-d-
000000000000000000\build\src\media\libstagefright\binding/MoofParser.cpp, line 670
(Reporter)

Comment 1

4 years ago
Matt: is this a edts block assertion failure a Firefox bug or an encoding problem in the video?

NS_ASSERTION(segment_duration == 0, "Can't handle edits with fixed durations");
Flags: needinfo?(matt.woodrow)
(Assignee)

Comment 2

4 years ago
Looking at the spec [1], it seems like non-0 durations are perfectly valid.

I think this is just an invalid assertion.


[1] https://w3c.github.io/media-source/isobmff-byte-stream-format.html#iso-init-segments
Flags: needinfo?(matt.woodrow)
(Reporter)

Comment 3

4 years ago
If this is an invalid assertion, it doesn't need to block EME MVP.
No longer blocks: 1032660, 1102666

Updated

4 years ago
Priority: -- → P2
(Assignee)

Comment 4

4 years ago
Created attachment 8582841 [details] [diff] [review]
Remove assertion
Assignee: nobody → matt.woodrow
Attachment #8582841 - Flags: review?(ajones)
Attachment #8582841 - Flags: review?(ajones) → review+
https://hg.mozilla.org/mozilla-central/rev/ecd90a83bb4a
Status: NEW → RESOLVED
Last Resolved: 4 years ago
status-firefox39: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in before you can comment on or make changes to this bug.