Closed
Bug 1167528
Opened 10 years ago
Closed 9 years ago
Firefox can't play a MP4 video when its moov box is at the end of file
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bwu, Assigned: ayang)
Details
Attachments
(2 files, 1 obsolete file)
|
378.66 KB,
video/mp4
|
Details | |
|
1.09 KB,
patch
|
ajones
:
review+
|
Details | Diff | Splinter Review |
Device:
Flame
SW version:
3.0 code base (two days again).
Repro step:
1. Push the test video to phone.
2. Open Video APP.
Expected result:
The thumbnail of the test file will be shown.
Actual result:
The running dot-line (means it is generating thumbnail) on the top of screen will not stop. The thumbnail is not shown.
Repro rate:
100%
| Reporter | ||
Comment 1•10 years ago
|
||
The test video file.
| Reporter | ||
Comment 2•10 years ago
|
||
After a quick check, Gecko fails to read MetaData and return false @MP4Demuxer::Init()[1]
[1]https://dxr.mozilla.org/mozilla-central/source/dom/media/fmp4/MP4Demuxer.cpp?from=MP4Demuxer.cpp&case=true#35
| Reporter | ||
Comment 3•10 years ago
|
||
(In reply to Blake Wu [:bwu][:blakewu] from comment #0)
> Device:
> Flame
>
> SW version:
> 3.0 code base (two days again).
Need to also apply the patch, attachment 8609133 [details] [diff] [review], in bug 1166169 to let video play with PDM and new demuxer.
| Assignee | ||
Comment 4•10 years ago
|
||
Not only gonk but other platforms have the same problem. The moov is at the end of video and demux can't find it when reading metadata.
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ayang
| Assignee | ||
Updated•10 years ago
|
OS: Gonk (Firefox OS) → All
Hardware: ARM → All
Summary: [FFOS] Demuxer cannot demux the attached file which previously could be played in Video APP. → Firefox can't play a MP4 video when its moov box is at the end of file
| Assignee | ||
Comment 5•10 years ago
|
||
The video can be played after applied this patch; however, it displays error the end.
This video has unknown box, I guess our demuxer doesn't recognize it.
| Assignee | ||
Comment 6•10 years ago
|
||
Gonk is ok after applying demux patch. It could be problem of Mac PlatformDecoderModule.
| Assignee | ||
Comment 7•10 years ago
|
||
I'll add a test case later.
Attachment #8611044 -
Attachment is obsolete: true
Attachment #8613424 -
Flags: review?(ajones)
Comment 8•10 years ago
|
||
Comment on attachment 8613424 [details] [diff] [review]
fix_large_box_length
Review of attachment 8613424 [details] [diff] [review]:
-----------------------------------------------------------------
A mochitest for this case would probably help us avoid breaking this again.
Attachment #8613424 -
Flags: review?(ajones) → review+
Updated•10 years ago
|
Component: Audio/Video → Audio/Video: Playback
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•