Problem description
The l parameter in a video snapshot request is invalid.
Causes
The I parameter in the request does not meet the requirements. This parameter specifies the width of the image to capture in pixels. The value of this parameter is an integer from 0 and the width of the video.
Examples
In the following sample request, the value of the I parameter is -800, which is not within the valid range.
GET /video.mp4?x-oss-process=video/snapshot,t_3000,f_jpg,l_-800,s_600 HTTP/1.1
Host: example-bucket.oss-cn-hangzhou.aliyuncs.com
Date: Thu, 13 Apr 2023 03:17:58 GMT
Authorization: OSS qn6q**************:77Dv****************Solutions
Make sure that all parameters in the video snapshot request are valid. The following example shows a valid request:
GET /video.mp4?x-oss-process=video/snapshot,t_3000,f_jpg,l_800,s_600 HTTP/1.1
Host: example-bucket.oss-cn-hangzhou.aliyuncs.com
Date: Thu, 13 Apr 2023 03:17:58 GMT
Authorization: OSS qn6q**************:77Dv****************