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: Library 'libmmparser.so' not found E/ExtendedExtractor( 4667): Failed to open MM_PARSER_LITE_LIB, dlerror = Cannot load library: load_library: 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
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.)
blocking-b2g: --- → leo?
(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.
I tried attachment 752441 [details] on my Galaxy s3. It show the icon of the video, bug show "unable to load the video".
(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.
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
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.
We wouldn't block on malformed videos unless this was a common occurence.
blocking-b2g: leo? → -
Component: Audio/Video → Audio/Video: Playback
Mass closing do to inactivity. Feel free to re-open if still needed.
Status: NEW → RESOLVED
Last Resolved: 2 months ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.