How can I record and save flash video's with an H264 codec
- by JimHendriks
Right now I am working on an AIR 3.2 application which lets you stream a video to a Flash Media Server and saves it on a hard drive.
This sequence works fine with the standard Sorenson codec but I want to use H.264 for my videos. I found lots example c ode and implemented it in my code, but when I record a video of myself I am unable to re-watch it afterwards.
I found how to implement a H.264 encoding in a realeyes blog post here. My code is here.
It saves the video as a .f4v file, but my browser (I've tried the latest versions of both Chrome and Firefox, with the latest Flash) and also VLC are unable to load the video. I also used a program called Movie Player which is able to open the file but can only show the first frame and the audio. Neither am I able to upload the video to YouTube because they do not support the file extension.
Here is an example video file it saved: H264Test1.f4v.
My question is: How do I stream and save the movie with a file extension that I am able to re-watch while using the H.264 codec?