Not able to create seekable video blobs from mediarecorder using EBML.js - MediaRecorder API - Chrome

679 views
Skip to first unread message

Gaurav Kalia

unread,
Mar 4, 2021, 1:50:19 PM3/4/21
to discuss-webrtc

guest271314

unread,
Mar 4, 2021, 5:18:30 PM3/4/21
to discuss-webrtc
The last time I checked the code at the second linked plnkr at this post https://github.com/guest271314/MediaFragmentRecorder/issues/8#issuecomment-520287772 created seekable Blobs.

guest271314

unread,
Mar 4, 2021, 5:24:58 PM3/4/21
to discuss-webrtc
Are you recording both audio and video?

On the server you can use mkvmerge from MKVToolNix to merge multiple WebM files to a single file, or set duration of the combined results from dataavailable with --enable-durations option, without using ts-ebml client side.

guest271314

unread,
Mar 4, 2021, 5:57:13 PM3/4/21
to discuss-webrtc
I have not tried the ts-ebml live streaming option https://github.com/legokichi/ts-ebml/blob/d05c476d366afd3ffc2747f3fb84784e61f58142/src/example_mediasource.ts. https://github.com/thenickdude/webm-writer-js creates seekable video/webm;codecs=vp8 and 
https://github.com/kbumsik/opus-media-recorder creates seekable audio/webm;codecs=opus or audio/ogg;codecs=opus files. An example of concatenating multiple discrete WebM files https://github.com/guest271314/native-messaging-mkvmerge in the browser and local filesystem using Native Messaging https://github.com/guest271314/native-messaging-mkvmerge.
Reply all
Reply to author
Forward
0 new messages