0053-00000102

Updated at:

Problem description

The l parameter in a video snapshot request is invalid.

Causes

You sent a video snapshot request that contains an invalid l parameter. This parameter specifies the length of the long edge of the snapshot in pixels. The value must be an integer between 0 and the length of the long edge of the video.

Examples

In the following sample request, the value of the l parameter is -800. This value is outside the valid range and causes the error.

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