How to Compress video while uploading to server using PHP or jQuery? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grátis
+ 5

How to Compress video while uploading to server using PHP or jQuery?

I've created a form where user enter some fields and browse a video from his computer/mobile and click on upload. Now all fields are saved in database and video will be video moved to the server with its actual size. As videos recorded from mobile are too large in size, So i want a way to compress the video size before it is moved to the server. I also want to know if compression increase the upload/processing time? Regard SD

28th Jun 2020, 5:30 PM
Sourav Dutt
Sourav Dutt - avatar
6 Respostas
+ 1
Medcl3 Thanks for your suggestion! Any idea how to compress in server?
30th Jun 2020, 5:13 PM
Sourav Dutt
Sourav Dutt - avatar
+ 1
Medcl3 Ok, let me chk it out.! Thanks again
30th Jun 2020, 5:16 PM
Sourav Dutt
Sourav Dutt - avatar
+ 1
Is it possible without FFMPEG, maybe some other services?
5th Jan 2021, 3:43 PM
Радомир Шевчук
Радомир Шевчук - avatar
5th Jan 2021, 5:00 PM
Sourav Dutt
Sourav Dutt - avatar
0
I don't think that's possible Just compress in server after the user has uploaded it
30th Jun 2020, 1:00 PM
Medcl3
0
Sourav Dutt Use ffmpeg
30th Jun 2020, 5:14 PM
Medcl3