ffmpeg -i test.wmv test.flv
Now your ffmpeg, it just calls an ffmpeg some where in your server, this may not the same ffmpeg you use in the config.php

Upload a video and get the exact command used for conversion from the debug.txt, then run it in command mode.