0053-00000103

Updated at:

Problem description

The s request parameter in a video snapshot request is invalid.

Causes

You sent a video snapshot request, but the value of the s request parameter in your request is invalid. This parameter specifies the length of the shorter edge of the snapshot in pixels. Its value must be an integer from 0 to the length of the shorter edge of the video.

Examples

In the following sample request, the value of the s parameter is -600, which is outside the valid range. Therefore, this error is returned.

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

Ensure that all parameters in your video snapshot request are valid. For example:

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****************

References

Video snapshot