Closed Bug 1112506 Opened 11 years ago Closed 10 years ago

[Flame][Video]some video file with MP3 audio cannot be seen and played.

Categories

(Firefox OS Graveyard :: Gaia::Video, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(b2g-v2.1 affected, b2g-v2.2 affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.1 --- affected
b2g-v2.2 --- affected

People

(Reporter: yulan.zhu, Assigned: bwu)

References

Details

(Whiteboard: [2.2-nexus-5-l])

Attachments

(4 files)

Attached file logcat.txt
[1.Description]: [Flame][v2.1][Video]Video with MPEG2 audio is not supported in the test device. Attach video:Video.mp4. Attach the test file:meetthecubs-mp2-audio.mp4 Attach logcat:logcat.txt. Occurrence time:14:03 [2.Testing Steps]: 1.Put the Videos with MPEG2 audio in SD card or internal storage. 2.Launch Video and check the video. [3.Expected Result]: 2.Device should support the video with MPEG2 audio. [4.Actual Result]: 2. The Video with MPEG2 audio is not in the list. [5.Reproduction build]: Gaia-Rev 79286eafe67707d1330966c1b1413b2d0de595d9 Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/222a62b532db Build-ID 20141216001202 Version 34.0 [6.Reproduction Frequency]: Always Recurrence,5/5 TCID: 8485
Attached video Video.MP4
Hi hubert, This bug can be repro on Flame 2.1& 2.2, Could you help with this bug? Thank you. Flame 2.1 version: Gaia-Rev 73be51f998031f06db0cd660c0e388fa621c9f4c Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/05dd053f1d90 Build-ID 20150103001211 Version 34.0 Device-Name flame FW-Release 4.4.2 FW-Incremental eng.cltbld.20150103.034952 FW-Date Sat Jan 3 03:50:03 EST 2015 Bootloader L1TC000118D0 Flame 2.2 version: Gaia-Rev 698e6e8a098cc060b26cd6f25171633c4c7e739d Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/57e4e9c33bef Build-ID 20150103010205 Version 37.0a1 Device-Name flame FW-Release 4.4.2 FW-Incremental eng.cltbld.20150103.045144 FW-Date Sat Jan 3 04:51:56 EST 2015 Bootloader L1TC000118D0
Flags: needinfo?(hlu)
Enhancement? ni RD for info.
Flags: needinfo?(hlu) → needinfo?(dflanagan)
This line from the logcat is important: 12-17 14:03:02.360 E/GeckoConsole( 6419): Content JS ERROR at app://video.gaiamobile.org/gaia_build_defer_index.js:519 in getMetadata/offscreenVideo.onerror: Can't play video /sdcard1/NaviM11/meetthecubs-mp2-audio.mp4 [object Event] This message comes from apps/video/js/metadata.js:184. It means that gecko is triggering an error event when we try to load the video into an offscreen element. It is not a gaia bug. And desktop Firefox can play this video, so maybe it is not a gecko bug either. I'm not sure who could help with this.
Flags: needinfo?(dflanagan)
Hi hubert, This bug can be repro on Flame 2.1& 2.2, Could you help with this bug? Thank you. Flame 2.1 Build ID 20150227002636 Gaia Revision 5d3479fdd438412adee4452720856b6b771fe5cd Gaia Date 2015-02-25 18:20:09 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/0390c73a827b Gecko Version 34.0 Device Name flame Firmware(Release) 4.4.2 FLame 2.2: Build ID 20150227002521 Gaia Revision eb6a5ac9081d3962198e0f4520b0743d716d7a27 Gaia Date 2015-02-26 17:25:22 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/c8a38dcfbebc Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Refer to log
Flags: needinfo?(hlu)
Attached file logcat(4).txt
Happen time 13:41
Nexus 5 2.2: Build ID 20150318002504 Gaia Revision 306772a58335ac4cad285d27c3805090a8cc6886 Gaia Date 2015-03-17 17:12:36 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/a6f5f4035ea5 Gecko Version 37.0 Device Name hammerhead Firmware(Release) 5.0 Firmware(Incremental) eng.cltbld.20150318.040241 Firmware Date Wed Mar 18 04:02:56 EDT 2015 Bootloader HHZ12d
Whiteboard: [2.2-nexus-5-l]
This issue verified failed on nexus 5 2.2.
I can take a look.
Assignee: nobody → bwu
Flags: needinfo?(hlu)
From the logs shown below. It looks Google's audio decoder failed to decoded this audio data. I believe nexus 5 with Android version can hit this problem as well. ========= 03-19 02:00:49.129 6669 7597 E OMXCodec: Forcing SoftwareCodec for mime type audio/mpeg 03-19 02:00:49.149 6669 6687 I OMXCodec: [OMX.qcom.video.decoder.avc] AVC profile = 66 (Baseline), level = 21 03-19 02:00:49.159 6669 6687 I OMXCodec: [OMX.qcom.video.decoder.avc] video dimensions are 570 x 320 03-19 02:00:49.159 6669 6687 I OMXCodec: [OMX.qcom.video.decoder.avc] Crop rect is 570 x 320 @ (0, 0) 03-19 02:00:49.159 6669 6687 I OMXCodec: NOTE: Overriding minUndequeuedBufs to 3 03-19 02:00:49.159 6669 6687 I OMXCodec: NOTE: Allocating 21 buffers on output port 03-19 02:00:49.239 6669 7601 E OMXCodec: [OMX.google.mp3.decoder] ERROR(0x80001001, 1)
Alissa, Per comment 11, could you help to check if the testing file can be played on nexus 5 (Android version) or not?
Flags: needinfo?(huayu.li)
(In reply to Blake Wu [:bwu][:blakewu] from comment #12) > Alissa, > Per comment 11, could you help to check if the testing file can be played on > nexus 5 (Android version) or not? I will check it.
As I know, mpeg2 decoder is subject to a royalty fee. Google decoder doesn't support it.
By checking with ffmpeg -i, the audio part is mp3 which should be supported by Google. Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf54.22.101 Duration: 00:01:18.37, start: 0.000000, bitrate: 426 kb/s Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 570x320 [SAR 512:513 DAR 16:9], 298 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 127 kb/s (default) Metadata: handler_name : SoundHandler
(In reply to Blake Wu [:bwu][:blakewu] from comment #12) > Alissa, > Per comment 11, could you help to check if the testing file can be played on > nexus 5 (Android version) or not? The same video can be recongnized on android nexus 5, but while we play it, it prompt "Can't play video"
Flags: needinfo?(huayu.li)
Summary: [Flame][Video]Video with MPEG2 audio is not supported. → [Flame][Video]some video file with MP3 audio cannot be seen and played.
Hi djf, IIRC for those files we cannot play or fail to generate thumbnail, there still would be an icon in the thumbnail list of video app to let user know there is some media file in the storage but cannot be played. I don't see that in v2.2 and v3.0. Has that been removed?
Flags: needinfo?(dflanagan)
Blake: I've seen that requested as a feature, but it is not something that we ever implemented. All of the media apps just ignore any media files that they do not know how to play.
Flags: needinfo?(dflanagan)
(In reply to David Flanagan [:djf] from comment #18) > Blake: I've seen that requested as a feature, but it is not something that > we ever implemented. All of the media apps just ignore any media files that > they do not know how to play. Got it. Thanks!
Since the testing file is not a normal file which either contains the wrong mime type or its format not supported by the current Google's mp3 decoder which Android uses and FFOS currently uses as well, change the status of this bug to be wontfix.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
It's weird that mediainfo show different result. Audio ID : 2 Format : MPEG Audio Format version : Version 1 Format profile : Layer 2 Google use mp3 decoder for all tracks with mime type audio/mpeg.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: