Open Hothi-Jimit opened 3 years ago
i have the same problem. I thought i was doing something wrong.
I have the same problem also.
does the first sliced video playable?
@farizyoga Yes, the first sliced video playable. And what I have found is, if I merge all the slices then the whole thing is playable. I think the slices except the first slice doesn't contain required metadata to play the slices alone.
yea, it should be merged first, then all videos playable
Is there a way around that issue? I want to upload the chunks on dataavailable callback and join them on the server after the recording is finished.
@MichaelJC91 , i am able to merge the chunked file in the server (PHP) by doing this
foreach ($chunks as $chunk) { file_put_contents('file.webm', file_get_contents($chunk), FILE_APPEND); }
note that $chunks variable is array of chunk file path
@farizyoga my flow at the moment is I upload the chunks to an S3 bucket then I plan to combine them at a later time. How would I go about this using something like Node?
you should retrieve all chunked videos first, then process the video with your Node server or PHP server
Hi there.
Hi, I am facing the issue. The first slice is only playable. The rest of the slices seems to be corrupt.
My Code on Angular 10