Closed
Bug 874692
Opened 11 years ago
Closed 6 years ago
"Video is malformed"/ "Ignore Corrupt NAL" messages but no error event.
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
INACTIVE
blocking-b2g | - |
People
(Reporter: djf, Unassigned)
References
Details
Attachments
(2 files)
Bug 871482 appears to be caused by the way gecko handles a corrupt video file. In particular, the FirefoxOS Video app metadata parser depends on receiving a'seeked' event after setting the playback time. With the attached video, gecko spews lots of errors, but never fires the seeked event or an error event, and the metadata parsing process hangs. I do get a "metadataloaded" event with this video, but then when I try to seek, I never get my seeked event.
The video does play in Aurora on the desktop but on the phone it doesn't seem to. It seems like we should either get a seeked event or an error event. The bug, I think, is that neither one occurs.
I'll attach the video in question, and also a log of output from a FirefoxOS device. Here are some highlights from the log. I'm guessing that these first lines are benign:
E/ExtendedExtractor( 4667): Failed to open MM_PARSER_LIB, dlerror = Cannot load library: load_library[1091]: Library 'libmmparser.so' not found
E/ExtendedExtractor( 4667): Failed to open MM_PARSER_LITE_LIB, dlerror = Cannot load library: load_library[1091]: Library 'libmmparser_lite.so' not found
Here is the main message I see. These two lines are repeated hundreds of times, starting right after I set the src attribute of the <video> tag tot he blob URL of the corrupt video:
W/OMXCodec( 4667): Ignore Corrupt NAL
E/MPEG4Extractor( 4667): Video is malformed
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
Sotaro: do you know anything about bugs like this? Or do any of the NZ people at your workweek work on things like this?
Nominating this for leo because it is blocking a blocker. (I might be able to work around in Gaia, but we should fix it at the source if we can.)
Comment 4•11 years ago
|
||
(In reply to David Flanagan [:djf] from comment #0)
> The video does play in Aurora on the desktop but on the phone it doesn't
> seem to. It seems like we should either get a seeked event or an error
> event. The bug, I think, is that neither one occurs.
How is it playing on desktop? I wasn't aware 3gp support was there.
Comment 5•11 years ago
|
||
I tried attachment 752441 [details] on my Galaxy s3. It show the icon of the video, bug show "unable to load the video".
Flags: needinfo?(sotaro.ikeda.g)
Comment 6•11 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #5)
> I tried attachment 752441 [details] on my Galaxy s3. It show the icon of the
> video, bug show "unable to load the video".
It was from Gallery app.
Comment 7•11 years ago
|
||
I checked how gonk and gecko works with the video.
Following logs are internal log. Corrupt NALs and malformed NALs are ignored internally OMXCodec and MPEG4Extractor.
>W/OMXCodec( 4667): Ignore Corrupt NAL
>E/MPEG4Extractor( 4667): Video is malformed
Comment 8•11 years ago
|
||
Gecko succeeded to extract metadata from the video without an error. Though, no frame is extracted from it. To complete seek, at least one frame read at seek position is necessary. That is the reason why 'seeked' event was not emitted.
Comment 9•11 years ago
|
||
We wouldn't block on malformed videos unless this was a common occurence.
blocking-b2g: leo? → -
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Comment 10•6 years ago
|
||
Mass closing do to inactivity.
Feel free to re-open if still needed.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•