Multimedia processing

Last updated:2021-03-30 17:01:02

1. Does KS3 support processing pictures?

2. How can I use a Web browser to open a picture file uploaded to KS3 that does not have a file extension?

3. Why does picture processing sometimes return error 400?

4. Does KS3 provide the video transcoding service?

5. Why does a request for a picture that does not exist on KS3 fails after KS3 returns a 302 redirect URL when the back-to-origin function is used?

6. Why cannot videos uploaded from KS3 be played?


1. Does KS3 support processing pictures?

Yes. For more information, see Picture processing.

2. How can I use a Web browser to open a picture file uploaded to KS3 that does not have a file extension?

If you use a Web browser to open a picture file uploaded to KS3 that does not have a file extension, the file is downloaded directly. The reason is that object type identification is based only on the file extension when you use an API, SDK, or upload tool to upload a picture file. If the file name does not have an extension, the file is identified as a binary file. The server cannot identify whether the file is a picture file either.

To resolve the issue:

  • To use an API or SDK to upload an object, specifying the Content-Type.
  • Modify the extensions of files in bulk before using the upload tool.
  • Add parameter &response-content-type=image/jpeg to the end of the URL, for example, http://ks3-cn-beijing.ksyun.com/gzz-beijing-test/Chrysanthemum.jpg?response-content-type=image/jpeg.
3. Why does picture processing sometimes return error 400?

Possible reasons include:

  • The picture size is greater than 10 MB.
  • The picture is not in the standard format.

To resolve the issue:

  1. Identify whether the picture size is greater than 10 MB.

  2. Add parameter @[email protected]=imageInfo to the end of the URL and try again. If you still receive error 400, try to use a tool to convert the format and upload the picture to KS3 again.

4. Does KS3 provide the video transcoding service?

This question is related to video cloud and the relevant products. See Kingsoft Elastic Transcoder (KET).

5. Why does a request for a picture that does not exist on KS3 fails by using the 302 redirect URL returned by KS3 when the mirror-back-source function is used?

After a request with picture processing parameters arrives at KS3, KS3 returns a 302 redirect URL with picture processing parameters if the mirror-back-source function is used. If the source site does not have a mechanism for ignoring picture processing parameters, the request fails. As a best practice, first request resources without specifying picture processing parameters, and wait for KS3 to download the picture before sending a request with picture processing parameters.

6. Why cannot videos uploaded from KS3 be played?

Please check the compatibility between the video format and the Web browser.

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈