Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Record video and save it to php server

I had worked on a video-recording project using html5 but failed.I was able to view and take screenshot of video but not record it and send it to php.

Therefore, is flash a more easy and successful way? If yes, then how do i start? How do big sites like skype and google do it? Any alternative.

like image 870
user3508453 Avatar asked May 08 '26 23:05

user3508453


1 Answers

There is RecordRTC-to-PHP open-sourced project, recording both audio and video individually and pushing to server using traditional HTTP-POST mechanism.

There is a similar project: RcordRTC-to-PHP-and-FFmpeg, not only recording audio/video individually but also using ffmpeg on PHP side to merge both files in single WebM container.

You can use ffmpeg-asm.js to not only transcode but also merge inside the browser and POST just single mp4 file to PHP server. Try a demo to see how transcode/merge works.

You may like to try MediaStreamRecorder.js which has flash-fallback solutions as well.

like image 138
Muaz Khan Avatar answered May 11 '26 11:05

Muaz Khan