Comments (10)
Actually MediaStreamRecorder is a modified version of RecordRTC. You should try RecordRTC instead:
RecordRTC provides startRecording/stopRecording methods:
from mediastreamrecorder.
Just for clarifications, MediaStreamRecorder also provides "stop" method:
var mediaRecorder = new MediaStreamRecorder(stream);
mediaRecorder.mimeType = 'video/webm';
mediaRecorder.start(60 * 60 * 1000); // 1 hour recording
btnStopRecording.onclick = function() {
mediaRecorder.stop(); // stop any time!
};
from mediastreamrecorder.
Much thanks. I actually happened to find RecordRTC just after I posted this.
I'm currently unclear - does the PHP-and-FFmpeg work with Chrome to capture audio + video at the same time?
from mediastreamrecorder.
In Chrome
RecordRTC can merely record audio as "WAV" and video as "WebM".
So, we always need a media processing mechanism to combine/merge both files in one.
All following demos are using ffmpeg on server side for encodnig/muxing job:
There are some demos that are using ffmpeg-asm.js
to encode/decode inside the browser:
In Firefox
Firefox is supporting recording of both audio+video in single WebM or Mp4 container. Firefox also supports Audio-only recording in Ogg container. So we don't need any ffmpeg solution to merge files.
from mediastreamrecorder.
Ok, thanks for the clarification. So in Chrome Audio + Video can be recorded at the same time, sent to the server and merged.
It also appears that RecordRTC.js is in two different repositories? I'll use https://github.com/muaz-khan/RecordRTC for my current work as I imagine it will be the most current versions.
from mediastreamrecorder.
In RecordRTC, if we record more than 10minutes or so, chrome crashes? Any idea, How to rectify this...
from mediastreamrecorder.
Use MediaStreamRecorder.js
and concatenate blobs on node.js server using ffmpeg. You can even migrate this library:
Unit32Array/Float64Array/ArrayBuffer: All types are having limitations.
from mediastreamrecorder.
Hi there,
Do you have version of this for IE and/or Edge?
from mediastreamrecorder.
StereoAudioRecorder.js
( this one as well ) is supported on Edge however there is NO-support for IE.
from mediastreamrecorder.
Dear Muaz-Khan,
I recorded video and uploaded to web server as blob in each 2 seconds. In the uploads folder have many video files ater recording.
How to concatenate all video files to 1 file?
Thank you so much,
Bien
from mediastreamrecorder.
Related Issues (20)
- ondataavailable not being called HOT 2
- Allow receiving of ArrayBuffer instead of blobs
- 'onstart' event is not implemented
- how to record the sound of bluetooth headset
- Save recording as MPEG-TS HOT 3
- No MediaRecorder handler can be created HOT 2
- Very high CPU utilization on chrome version 77.X HOT 2
- How to record the system sound or the other party's voice
- Audio Channels constraint
- Float32 to Int16 in StereoAudioRecorderHelper.js
- why I can't save my record file,it's downloaded,but cant play in my player but the bolb link can play in browser HOT 2
- streams with audiotracks only are not recorded and give any data on ondataavailable event HOT 3
- Example of how to record the screen? HOT 1
- MultiStreamRecorder with 1 audio only and 1 video stream results in poor video quality (low resolution) HOT 1
- Deprecation: ScriptProcessorNode
- I want to open two (or more) screens with different sources.
- ERROR TypeError: Failed to construct 'MediaRecorder': parameter 1 is not of type 'MediaStream'.
- exact sync of video and audio HOT 1
- Get audio blob on demand explicitly.
- gif chrome
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediastreamrecorder.