

Using Linux ffmpeg installation is super-easy! You can install DEVEL packages as well. ffmpeg -i audio-file.wav -i video-file.webm -map 0:0 -map 1:0 output-file-name.webm Merger.sh file is executed to invoke ffmpeg functionalities on Mac/Linux/etc. Though, EXE file is hard-coded to "C:\ffmpeg\bin\ffmpeg.exe" however you can easily edit it according to your own installations. It is assumed that you already have installed ffmpeg on your system. Merger.bat file is executed to invoke ffmpeg functionalities on windows: offįfmpeg -i audio-file.wav -i video-file.webm 0:0 -map 1:0 output-file-name.webm The merged webm file's URL is returned using same HTTP-callback for playback!.Node.js code invokes ffmpeg to merge wav/webm in single "webm" file.Node.js code saves both files into disk.POST both files in single HttpPost-Request to Node.js (FormData).Records audio/video separately as wav/webm.

Make sure that directory names MUST NOT have spaces e.g. = RecordRTC to Node.js npm install recordrtcĬd. Note: You MUST always manually create a directory and name it "uploads".
