0053-00000106

Updated at:

Problem description

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

Causes

The m request parameter is invalid. This parameter specifies the snapshot mode. If you do not specify this parameter, the default mode is used to capture a snapshot at a precise point in time. If you set this parameter to `fast`, the snapshot is captured from the most recent keyframe before the specified point in time.

Examples

In the following sample request, the value of the m parameter is 32, which is an invalid value.

GET /video.mp4?x-oss-process=video/snapshot,t_3000,f_jpg,w_800,h_600,m_32 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 all parameters in the video snapshot request are valid. For example:

GET /video.mp4?x-oss-process=video/snapshot,t_3000,f_jpg,w_800,h_600,m_fast 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