-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to concatenate Blobs of recordings into single file capable of playback? #130
Comments
|
@legokichi That concatenates the |
Can you post some example code plz? Are you trying to merge individual 1s files? |
@yellowdoge Current code http://plnkr.co/edit/dNznvxe504JX7RWY658T?p=preview version 1 using In the interim tried
Both |
@yellowdoge The basic concept is to be able to 1) create discrete files from media fragments, for example, 1 second of a video file, capable of independent playback; whether the implementation be |
@yellowdoge Yes, trying to merge 60 1 second files into a single file. |
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. |
@legokichi Your solution at legokichi/ts-ebml#2 (comment) appears to be a possible solution for w3c/media-source#191. Have no experience using |
@yellowdoge Bizarre. Seems like a significant design flaw to me. |
@yellowdoge Given that all of the input files were created by |
Is this issue solved ? I've been facing this same problem. |
I had this exact issue and was able to resolve it by using RecordRTC It uses However, each
Hope this helps anyone looking for a solution to this issue! |
When recording for example each 1 second of a 60 second video using
HTMLMediaElement.captureStream()
andMediaRecorder
, when we concatenate the discreteBlob
s to a singleBlob
the resultingBlob URL
created withURL.createObjectURL()
only plays 1 second of media.How to concatenate
Blob
objects havingMIME
type set tovideo/webm
into a singleBlob
capable of playback of all of theBlob
s atHTMLMediaElement
?The text was updated successfully, but these errors were encountered: