I\'d like to use Flash to capure video from the user\'s webcam and then save it on the same server that hosts the Flash file. The web server will be running ASP.Net technolo
i found this blog usefull.
http://www.zeropointnine.com/blog/updated-flv-encoder-alchem/ This code is based on the answer given by richardolsson.
I tried this code once in my project and also successfull in uploading a 10 sec video to Facebook also. i have written a detail blog about my experience. http://www.logicmanialab.com/2012/10/upload-video-to-facebook-using.html
This code will break or hang up the browser if the video is too lengthy. Anyway it's worth a try.
Besides the best way to save video is to use Flash Media server or RED5 server(My experienece).I never tried ffmpeg as am not best in PHP:).