Flash Mp4 Encoder Script
I spent a couple of hours tidying up a batch file I had started for encoding video to Mp4. The output can be used for progressive downloads (Should work for FMS etc. hosted videos as well) in the later versions of Flash player that support H264 and AAC encoded videos.
It makes use of FFMpeg and qt-faststart behind the scenes to do the heavy lifting. It will perform a 2 pass encoding and allows you to adjust the size and quality on the command line. It is outputing 25 FPS video with a key frame every second.
Usage: encode input size bitrate [audio_bitrate(96000) audio_sampling(22500)]
Example: encode myvideo.avi 320x240 400k
The usual disclaimers apply: all care no responsibility.
Download EncodeFlashMp4.zip



