PHP script to compress videos

Im looking for a web script to compress videos from popular format (avi, mp4, mpeg, etc) to mp4 or mkv.
It could use some options like reduce size/compress 30%,50% etc or we could put some manual settings like new file size.
I want to use it on my dedicated server for a few friends, so it must have progression bar and queue line, that way only compress one at time.

The freelancer price is too expensive for me since this is for friends jobs with no $ return, but i could pay for a script already available and sold multiple times.

Anyone knows if this exists?

Thank you. But none of that is what i ask :frowning:

That’s all what CodeCanyon has. You may consider another option