Home >Backend Development >PHP Tutorial >Is there any plug-in that can compress the video after uploading it?

Is there any plug-in that can compress the video after uploading it?

WBOY
WBOYOriginal
2016-07-06 13:51:452495browse

I have a requirement: I need to upload videos in the background. Due to limited bandwidth, if the video is too large, it needs to be compressed. If it is not compressed, it will load very slowly.
The back-end language is php. Is it the same process to upload videos and files?
After watching the video uploaded by Youku Video, is there any expert who can specify one or two?

Reply content:

I have a requirement: I need to upload videos in the background. Due to limited bandwidth, if the video is too large, it needs to be compressed. If it is not compressed, it will load very slowly.
The back-end language is php. Is it the same process to upload videos and files?
After watching the video uploaded on Youku, is there any expert who can specify one or two?

Why not choose Qiniu (non-advertising)

The correct answer upstairs is that it is best to use a third party, otherwise the pressure will be too great. Videos are inherently large, and compression (should be said to be format conversion, not compression) consumes resources. It is not cost-effective to invest in a high-end server. The upload process is no different from that of ordinary files.

Don’t you need breakpoints when uploading large files? ?

ffmpeg can process videos

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn