muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.52k stars 1.75k forks source link

how to convert webm to mp4 #621

Open chenweigh opened 4 years ago

chenweigh commented 4 years ago

how to convert webm to mp4. new File([blob], filename, {type: 'video/mp4'}) some video player cannot play.

damore1405 commented 4 years ago

Recording in mp4 format is not yet supported. You'll have to record with webm first, then post-process the video into mp4 using a tool like ffmpeg.

rayj00 commented 3 years ago

I used this: ffmpeg -i videoY.webm -fflags +genpts -r 25 videoY.mp4 to convert webm to mp4. But I had to manually move the webm to the linux server then run the ffmpeg command.

rayj00 commented 3 years ago

If you know a way to send the webm from client to server...I'd love to hear about it!