If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

[FxOS] Video APP keeps loading if a broken video file is copied to sdcard

RESOLVED DUPLICATE of bug 1198169

Status

()

Core
Audio/Video: Playback
RESOLVED DUPLICATE of bug 1198169
2 years ago
2 years ago

People

(Reporter: bwu, Unassigned)

Tracking

37 Branch
ARM
Gonk (Firefox OS)
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
Created attachment 8659292 [details]
h264_192kbps_aacPlus_24kbps_3sec_QVGA_10_fps.3gp

Device:
Aries with my local build.

STR:
1. Copy the attached file to sdcard.
2. Enter the video App 

Actual result:
Video App keeps showing loading message (........), doesn't show new thumbnail and cannot choose other video to play. 

Expected result:
Video App should finish loading and create a new thumbnail.
(Reporter)

Comment 1

2 years ago
The following is the info I got from ffmpeg -i

ffmpeg version 2.2.3 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jun  3 2014 06:51:16 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
  libavutil      52. 66.100 / 52. 66.100
  libavcodec     55. 52.102 / 55. 52.102
  libavformat    55. 33.100 / 55. 33.100
  libavdevice    55. 10.100 / 55. 10.100
  libavfilter     4.  2.100 /  4.  2.100
  libavresample   1.  2.  0 /  1.  2.  0
  libswscale      2.  5.102 /  2.  5.102
  libswresample   0. 18.100 /  0. 18.100
  libpostproc    52.  3.100 / 52.  3.100
[sdp @ 0x7fb51c016e00] Could not find codec parameters for stream 0 (Video: h264, 320x240): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, sdp, from '/Users/blake/Documents/video/h264_192kbps_aacPlus_24kbps_3sec_QVGA_10_fps.3gp':
  Metadata:
    title           : /h264_192kbps_aacPlus_24kbps_3sec_QVGA_10_fps.3gp
  Duration: 00:01:59.13, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0: Video: h264, 320x240, 90k tbr, 90k tbn, 180k tbc
    Stream #0:1: Audio: aac, 24000 Hz, stereo, fltp
(Reporter)

Comment 2

2 years ago
I can see this problem on Flame as well. 
It looks like Video App cannot get onloadedmetadata or onerror event, so it keeps showing the loading message. It might get stuck in MetadataRead in Gecko side.
Summary: [FxOS] Video APP keeps loading if a new and broken video file is in sdcard → [FxOS] Video APP keeps loading if a broken video file is copied to sdcard
(Reporter)

Comment 3

2 years ago
After applying the attachment 8660778 [details] [review] in bug 1200401 to my code base, this bug is gone.
(Reporter)

Updated

2 years ago
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1198169
You need to log in before you can comment on or make changes to this bug.