Closed Bug 1113258 Opened 10 years ago Closed 9 years ago

[Video] 3gpp video files stored on an external SD Card do not show in Video app

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox38 fixed, b2g-v2.0 affected, b2g-v2.1 affected, b2g-v2.2 affected)

RESOLVED FIXED
2.2 S5 (6feb)
Tracking Status
firefox38 --- fixed
b2g-v2.0 --- affected
b2g-v2.1 --- affected
b2g-v2.2 --- affected

People

(Reporter: rmead, Assigned: dhylands)

References

()

Details

(Whiteboard: [2.2-exploratory-2])

Attachments

(2 files)

Attached file Flame2.2logcat.txt
Description:
If you save a 3gpp video file to the External SD card, the video will not appear in the Video app.


Repro Steps:
1) Update a Flame to 20141218040201
2) Download a 3gpp file (3GP download link: http://bit.ly/1wG5kbN)
3) Once downloaded open the 'Video' app


Actual:
The video does not appear in the 'Video' app


Expected:
the video does appear in the 'Video' app


Environmental Variables:
Device: Flame 2.2(319mb)(KitKat)(Full Flash)
Build ID: 20141218040201
Gaia: 58734e8a48157f99d5b733412b600c2e04c954fe
Gecko: 5c7a6294b82a
Gonk: e5c6b275d77ca95fb0f2051c3d2242e6e0d0e442
Version: 37.0a1 (2.2)
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0


Notes: If the user opens the video file through the download page, it will load and play.


Repro frequency: 100%
See attached: logcat, video - http://youtu.be/v9FZUdX3mww
This issue also effects Flame 2.0 and Flame 2.1

When you download a 3gpp video file to the device, it will not show up in the 'Video' app


Flame 2.0

Environmental Variables:
Device: Flame 2.0 (319mb)(Kitkat Base)(Full Flash)
Build ID: 20141218000204
Gaia: d04710d5d643eeff5a6493aef92a1af672a2769c
Gecko: decf1ee4464e
Gonk: e5c6b275d77ca95fb0f2051c3d2242e6e0d0e442
Version: 32.0 (2.0)
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0


Flame 2.1

Environmental Variables:
Device: Flame 2.1 (319mb)(Kitkat Base)(Full Flash)
Build ID: 20141218001205
Gaia: 14315733e2d265a42f9ab02d1aba191789870f70
Gecko: ddecea83ce6e
Gonk: e5c6b275d77ca95fb0f2051c3d2242e6e0d0e442
Version: 34.0 (2.1)
Firmware Version: v188-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(dharris)
[Blocking Requested - why for this release]:

3gp files not appearing in the video app, but MP4 and WebM files are. 3gp videos are supported by the flame, and should be appearing in the video app. Nominating to block 2.2.
blocking-b2g: --- → 2.2?
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(dharris)
Sotaro,

Any idea what is going on here? 3gpp file is not being picked up in the video list. 

I see the following in the log...

12-18 10:47:27.097  8375  8823 I OMXClient: Using client-side OMX mux.
12-18 10:47:27.097  8375  8823 V IMediaResourceManagerDeathNotifier: getMediaResourceManagerService
12-18 10:47:27.107  8375  8823 I OMXClient: Using client-side OMX mux.
12-18 10:47:27.107  8375  8823 E OMXCodec: Forcing SoftwareCodec for mime type audio/3gpp
12-18 10:47:27.107  8375  8823 E OMXMaster: A component of name 'OMX.qcom.audio.decoder.aac' already exists, ignoring this one.
12-18 10:47:27.177  8375  8389 I ExtendedCodec: Enabling timestamp reordering
12-18 10:47:27.177  8375  8389 I ExtendedCodec: Decoder will be in frame by frame mode
12-18 10:47:27.187  8375  8389 I OMXCodec: [OMX.qcom.video.decoder.mpeg4] video dimensions are 352 x 288
12-18 10:47:27.187  8375  8389 I OMXCodec: [OMX.qcom.video.decoder.mpeg4] Crop rect is 352 x 288 @ (0, 0)
12-18 10:47:27.207  8375  8389 I OMXCodec: NOTE: Overriding minUndequeuedBufs to 3

Thanks
Hema
Flags: needinfo?(sotaro.ikeda.g)
Bug's description might not clear enough. This bug looks similar to Bug 1090495. If it is, it is video app's bug.

If I store the video file to sdcard via PC, the video was shown in video app and could be playbacked.
Flags: needinfo?(sotaro.ikeda.g)
Dave, could you please take a look.
Flags: needinfo?(dhylands)
I think I uncovered the problem.

When you go into the browser and long press on the video, and then choose "Save Video" it winds up saving the file as 1wG5kbN.3gpp rather than 1wG5kbN.3gp

The original file is named: 

http://download.wavetlan.com/SVV/Media/HTTP/3GP/HelixMobileProducer/HelixMobileProducer_test8_3GPv6_MPEG4SP_xbit_352x288_AR1.22_30fps_KFx_64kbps_AMR-NB_Mono_8000Hz_6.7kbps.3gp

So it would appear that the browser is saving the file with the .3gpp extension.

There are 2 possible fixes:

1 - Fix the browser so that it saves these files with a .3gp extension
2 - Fix device storage and the video app to recognize .3gpp file extensions as being the same as .3gp extensions.

I'm not sure what the "correct" or best solution is. I've ni'd cajbir to get his opinion.
Flags: needinfo?(dhylands) → needinfo?(cajbir.bugzilla)
Dave will add the 3gpp extension to the device storage supported list of extensions. Not a blocker but when fix is ready we can ask for approval as the risk is low. 

Moving out of 2.2 blocker nom

Thanks
Assignee: nobody → dhylands
blocking-b2g: 2.2? → ---
Target Milestone: --- → 2.2 S5 (6feb)
(In reply to Dave Hylands [:dhylands] from comment #6)
> 2 - Fix device storage and the video app to recognize .3gpp file extensions
> as being the same as .3gp extensions.
> 
> I'm not sure what the "correct" or best solution is. I've ni'd cajbir to get
> his opinion.

Option 2 sounds like the best, and least intrusive, solution.
Flags: needinfo?(cajbir.bugzilla)
Attachment #8557413 - Flags: review?(cajbir.bugzilla)
Attachment #8557413 - Flags: review?(cajbir.bugzilla) → review+
https://hg.mozilla.org/mozilla-central/rev/c3604dab9457
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: