New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 781744 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 782492
Owner: ----
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: 2017-11-15
OS: Linux , Android , Windows , Chrome , Mac
Pri: 2
Type: Feature



Sign in to add a comment

Feature Request: support for pcm or audio/wav output from mediaRecorder

Reported by jbnesl...@gmail.com, Nov 6 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36

Steps to reproduce the problem:
1. Pass a mimeType of audio/wav to a MediaRecorder instance

What is the expected behavior?
mediaRecorder.onDataAvailable should be passed raw uncompressed audio data.  

What went wrong?
mediaRecorder.onDataAvailable is passed compressed audio data using a default codec.

Did this work before? No 

Does this work in other browsers? No

Chrome version: 62.0.3202.75  Channel: stable
OS Version: OS X 10.12.6
Flash Version: 

This is necessary if you need to capture uncompressed audio data.  Most audio editors and producers will only work with lossless wav files.  For these cases, the MediaRecorder is unusable at the moment and the only alternative is to use scriptProcessorNodes which have issues with dropping frames.
 
Labels: -Type-Bug Type-Feature
Cc: emir...@chromium.org mcasas@chromium.org chfremer@chromium.org
Cc: ttay@google.com
Components: -Blink>MediaStream Blink>MediaRecording
Labels: OS-Android OS-Chrome OS-Linux OS-Windows
Instead of audio/wav, there's work ongoing to produce
uncompressed PCM in a Matroska container, see e.g.
https://crrev.com/c/749864 & associated.

ttay@, do we have a crbug.com for your work?
Labels: Needs-Feedback
NextAction: 2017-11-15
The crbug I asked for in c3 is  https://crbug.com/782492 .   

jbneslein@ does that cover your needs?
I believe so.  Would this make it possible to record video along with uncompressed pcm audio and have that available in the onDataAvailable event?
Project Member

Comment 6 by sheriffbot@chromium.org, Nov 9 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "mcasas@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
#5: yes it would! Note that you'd need to specify it in the MR ctor,

mr = new MediaRecorder(stream, "video/webm;codecs=pcm_f32le");

or some such, see the other bug.  The produced file will be a matroska,
so technically the extension, if and when saved, should be .mkv.

Mergedinto: 782492
Status: Duplicate (was: Unconfirmed)
The NextAction date has arrived: 2017-11-15

Sign in to add a comment