Hello.
I have N number of chunks recorded from Brower's MediaRecorder API. As you know Brower's MediaRecorder API has bug with missing metadata and media is unseekable. I wrote some simple script to concat chunks into a single webm file and use ebml to create a seekable webm. I just wondering is there a way to create seekable webm without concatenating. Idea is something like this:
const output = fs.createWriteStream("seekable.webm");
const decoder = new (require("ebml").Decoder)();
const chunks = ['1.webm', '2.webm', '3.webm', /*...*/];
for (chunk of chunks) {
fs.createReadStream(chunk).pipe(decoder).pipe(output, { end : false });
}
Hello.
I have N number of chunks recorded from Brower's
MediaRecorder API. As you know Brower'sMediaRecorder APIhas bug with missing metadata and media is unseekable. I wrote some simple script to concat chunks into a single webm file and useebmlto create a seekable webm. I just wondering is there a way to create seekable webm without concatenating. Idea is something like this: