Re: [mediacapture-record] How to concatenate Blobs of recordings into single file capable of playback?

I'm afraid that from the POV of Media Recorder there's not much that can be done since every one of these individual 1-second files would have a file header, several video frame headers and possibly a trailer; merging them would not be trivial at all.  

You could try wrapping e.g. [`mkvmerge`](https://mkvtoolnix.download/doc/mkvmerge.html) to in js using [emscriptem](http://kripken.github.io/emscripten-site/) or [WebAssembly](http://webassembly.org/), or perhaps cast each file in succession into a `<video>`/`<canvas>` and record a MediaStream out of it (see e.g. [`captureStream()`](https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/external/wpt/mediacapture-fromelement/capture.html?type=cs&q=layouttests+capturestream+mediarecorder&sq=package:chromium&l=19)).

-- 
GitHub Notification of comment by yellowdoge
Please view or discuss this issue at https://github.com/w3c/mediacapture-record/issues/130#issuecomment-317625206 using your GitHub account

Received on Tuesday, 25 July 2017 04:23:44 UTC