When uploading a video file to the server, it is necessary to keep it in its original and worse quality with the avi or mp4 extension. How can this be implemented?

In Google and Yandex, I was already looking for a solution; I didn’t find anything except some third-party programs under windows.

By the way, I need this in order to change the video quality in the jplayer player. If someone knows how to do this without having a video file for quality, write.

  • For example, you can use FFmpeg via the command line. Or find some PHP extensions based on it. - neluzhin
  • ffmpeg is on php, but it seems there is nothing =) - And
  • Thank you of course, but why write a response in the form of a comment? - Puro

1 answer 1

So ffmpeg. Thank you. Just please write the answers as it should be.