Today I have finished phpVideo version 0.1 beta. there is an example of how to use it in the zip file. Also this project uses the BSD license.
You can download it here: phpVideo version 0.1 beta
notice: This is a beta release, so there will most likely be bugs. If so please just email me. Also the restriction of what video formats you can convert are based on the restrictions/version of ffmpeg you have.
I am interested in making this a project that will continued to be developed If you are interested please send me an email.Thank you, and I hope you enjoy!