because the video is large, the upload progress should be displayed, so there are two steps:
1 users select the temporary directory where the files are uploaded to ECS in the browser, and cron cleans the directory regularly;
2 users fill in the video introduction, submit the form to ECS,ECS for verification, store it in the database, and forward the temporary video to OSS.
I posted a 27MB mp4, that takes about 25 seconds for the first step and 20 seconds for the second step, which means it will be stuck for 20 seconds when submitting the form!
Why is it so slow? isn"t it Ali"s intranet from ECS to OSS? It should be soon, isn"t it? (both ECS and OSS are in East China 1)
Thank you!
=
now I suddenly think of another problem: for uploaded videos, our backend (PHP) must extract the first frame of the video stream as the poster (poster) for the front end to display the video list. If we send the OSS directly, we will not be able to get the video extraction image at the backend!
this picture is very important because it is displayed on the video list page, so it must be there. At present, our PHP has been able to extract the first image, and there doesn"t seem to be a good way at the front end, so we generated the image when we received the video on ECS.
what should I do about this? Thank you!