W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > March 2019

[mediacapture-record] Feature request: Concat filter (#166)

From: guest271314 via GitHub <sysbot+gh@w3.org>
Date: Fri, 22 Mar 2019 19:41:36 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issues.opened-424371615-1553283694-sysbot+gh@w3.org>
guest271314 has just created a new issue for https://github.com/w3c/mediacapture-record:

== Feature request: Concat filter  ==
Related: https://github.com/w3c/mediacapture-record/issues/147; https://github.com/w3c/mediacapture-fromelement

Feature request: Include an option to `MediaRecorder` to concatenate (e.g., http://trac.ffmpeg.org/wiki/Concatenate) all input streams to a single `webm` file.

For example 

`Promise.all([Promise0, Promise1, Promise2])`

when all `PromiseN` are fulfilled `Promise.all()` is fulfilled, even if `Promise2` is resolved before `Promise0`. 

Such code can be implemented in `MediaRecorder` as

let recorder = new MediaRecorder(new MediaStream([video0.captureStream(), video1.captureStream(), video2.captureStream()]), {concat:true, width:<"scaleToMinimumDetected|scaleToMaximumDetected|default:maximum">, height:<"scaleToMinimumDetected|scaleToMaximumDetected|default:maximum">});

recorder.ondataavailable = e => {
 // e.data single `.webm` file

Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/166 using your GitHub account
Received on Friday, 22 March 2019 19:41:37 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:46 UTC