Open ulissesvaquero opened 9 years ago
What is original blob's size?
alert (
bytesToSize( window.arrVideoBlob )
);
Are you using Firefox or Chrome?
Size is correct, but when i play video, the result shows me only first 5 seconds..
I am trying to download the concatenated blob like this : ConcatenateBlobs(blobArray,'audio/wav', function(resultingBlob) { var resultingUrl= URL.createObjectURL(resultingBlob); hf= document.createElement('a'); hf.href = resultingUrl; hf.download = new Date().toISOString() + '.wav'; hf.innerHTML = hf.download; var li = document.createElement('li'); li.appendChild(hf); document.getElementById('concatenatedBlob').appendChild(li); }); But when I press on the link to download it only gives me the first audio blob which I recorded. Also when I play it using
In your demo page also it is not working properly. Please can you check this issue. https://www.webrtc-experiment.com/ConcatenateBlobs/. In mozilla it is playing only first part. but in chrome it is playing entire audio but audio tag shows duration of first blob only. as mentioned above by @abhijayghildyal.
@ulissesvaquero @abhijayghildyal I have the same issue did you find any solution?
The way I implemented it was useful for the project I was working on. It required me to upload the audio files on the server and also have the stitched audio. So I used a simple ffmpeg
command on the backend to stitch the audio. I uploaded a sample which you'll find here: link
I am facing the same problem? Is anyone managed to solve the issue?
@pons1991 I have used the same way @abhijayghildyal mentioned above.
Hey, Thanks for the reply, I dont want to play the audio in the browser. I am using native javascript and php, I want to concatenate all the blobs and send it to the backend over AJAX. the resultingblob contains only the audio of the first blob. Is there any fix for it? Am i doing any wrong?
I tried to concat my webm blobs but doesn't work...
this is the code