Problem description
The f parameter in a video snapshot request is invalid.
Causes
The f parameter in the request does not meet the requirements. This parameter specifies the format of the captured image. The valid values of this parameter are jpg and png.
Examples
In the following sample request, the value of the f parameter is 32, which is not a valid value.
GET /video.mp4?x-oss-process=video/snapshot,t_3000,f_32,w_800,h_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,w_800,h_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****************