Closed Bug 1016148 Opened 8 years ago Closed 8 years ago

A/V Sync broken after seek in new MP4 demuxer

Categories

(Core :: Audio/Video, defect)

29 Branch
x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: cpearce, Assigned: cpearce)

Details

Attachments

(2 files)

STR:

1. Make sure Nightly is up to date.
2. Pref on new demuxer, media.fragmented-mp4.exposed = true
3. Load http://people.mozilla.org/~cpearce/video/avatar.mp4
4. Seek somewhere into the video. Note that the audio is no longer in sync with the video.
This is on Windows 8.1, in case that's not clear.
Assignee: nobody → ajones
Seems to work fine on Linux.
This is a bug in the WMF PDM.
Assignee: ajones → cpearce
Status: NEW → ASSIGNED
Since the WMFOutputSource also handles input now, it doesn't really make sense for it to be called and "output source", so rename it to MFTManager.
Attachment #8452911 - Flags: review?(paul)
The problem was that the MFT doesn't automatically mark samples after a seek as a discontinuity, so we have to do it manually. This meant the timestamps were wrong, which was messing up the A/V sync.
Attachment #8452912 - Flags: review?(paul)
Attachment #8452912 - Attachment description: wmf-flush-discon.patch → Patch 2: Mark samples after seek as discontinuities
Attachment #8452911 - Flags: review?(paul) → review+
Attachment #8452912 - Flags: review?(paul) → review+
https://hg.mozilla.org/mozilla-central/rev/47ff2362d955
https://hg.mozilla.org/mozilla-central/rev/2dfa46ff5eca
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
QA Whiteboard: [good first verify]
You need to log in before you can comment on or make changes to this bug.