I need a script that will convert any video file to flv. This script should be able to accept all bitrates, resolutions, audiovideo formats etc and should convert the files to flv via ffmpeg/mencoder. The script should be in PHP (which will probably include shell commands to ffmpeg etc.)
I already have an existing script (1 ffmpeg command) that converts most video types to .flv. The problem is that the script fails for a few birtae/video types. This script shouldnt be complicated at all. You'll probably just have to add if/else's to cover all possible scenarios, or to change the ffmpeg command so that it works for all scenarios.