html5 - webapp中将录下的视频,照片上传服务器之前,需要如何处理(转变格式?),降低对服务器的压力?
PHP中文网
PHP中文网 2017-04-17 14:55:17
0
1
526

webapp中,由于视频,照片体积比较大,考虑到在上传服务器时会很慢,不经处理由浪费资源,需要先进行怎样的处理再上传到服务器?主要考虑减小体积,加快传输速度

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
洪涛

First of all, it is impossible to process videos efficiently in a browser environment. Even if you do it hard, it will cause the page to freeze and consume a lot of time. It makes no difference to the user whether the time is spent on preprocessing or uploading. .
Many professional video websites transcode the video after it is uploaded, or directly recommend users to process the video in advance on the upload page.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!