Closed Bug 981723 Opened 11 years ago Closed 11 years ago

[B2G][Core][WebRTC] Videos created will be corrupt and unable to be played

Categories

(Core :: Audio/Video: Recording, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: rkunkel, Unassigned)

Details

(Whiteboard: burirun1.4-1)

Attachments

(4 files)

Description: User cannot record a video and play that video created at http://mozilla.github.io/qa-testcase-data/webapi/mediarecorder/index.html Repro Steps: 1) Updated buri to v1.4 BuildID: 20140307040203 2) Navigate to http://mozilla.github.io/qa-testcase-data/webapi/mediarecorder/index.html 3) Select camera and microphone 4) Select video/webm as the Mime type 5) Select Setup 6) Enter in a timeslice amount (3000) 7) Record for 10 seconds 8) Select the created blob at the bottom of the screen 9) Observe "Video can't be played because the file is corrupt" Actual: "Video can't be played because the file is corrupt" is displayed to the user Expected: Ten second video of the media recorded is played Environmental Variables: Device: buri 1.4 MOZ BuildID: 20140307040203 Gaia: 04eb7996543f114133d1367f834a4d88b68c60ac Gecko: b0e7f63c2138 Version: 30.0a1 Firmware Version: V1.2-device.cfg Repro frequency: 100% Link to failed test: https://moztrap.mozilla.org/manage/case/11593/ See attached: screenshot
Tried on a desktop linux x64 inbound build; it worked. Can you save/export the blob and attach it here? Are there any log messages thrown while recording or playing it back? I got one assertion in playback: ###!!! ASSERTION: Frame must have non-negative duration.: 'mDuration >= 0', file ../../../content/media/MediaData.cpp, line 84 and a bunch of !stream warnings during record.
Flags: needinfo?(rkunkel)
If I had to make a guess, it would be something like a field size or byte ordering in the container that's different on B2G/Arm and desktop (for writing the WebM). Just guessing
Attached file log.txt
Flags: needinfo?(rkunkel)
Attached image Error_viewing
Attached image Error_Saving_message
(In reply to Randell Jesup [:jesup] from comment #1) > Tried on a desktop linux x64 inbound build; it worked. Can you save/export > the blob and attach it here? I am unable to save blobs created on the Buri device. I've attached a screenshot showing the error message. > Are there any log messages thrown while recording or playing it back? I got > one assertion in playback: > ###!!! ASSERTION: Frame must have non-negative duration.: 'mDuration >= 0', > file ../../../content/media/MediaData.cpp, line 84 > > and a bunch of !stream warnings during record. I was able to reproduce the issue while recording the logcat, I've attached it to the bug.
WebM video recording is only supported on desktop right now, not FxOS. So this is expected to not work right now.
Status: NEW → RESOLVED
Closed: 11 years ago
Component: WebRTC: Audio/Video → Video/Audio: Recording
Resolution: --- → INVALID
Whiteboard: burirun1.4-1 → burirun1.4-1, [2.0-flame-test-run-1]
Removing whiteboard tag, incorrect bug edited during test pass. Please disregard.
Whiteboard: burirun1.4-1, [2.0-flame-test-run-1] → burirun1.4-1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: