Release Notes
Announcements
GET /<ObjectKey>?ci-process=convert&format=mp4 HTTP/1.1Host: <BucketName-APPID>.cos.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>Content-Length: <length>
https://<BucketName-APPID>.cos.<Region>.myqcloud.com/for-test.gif?ci-process=convert&format=mp4&<Auth String>
Parameter Name | Description | Type | Required |
ObjectKey | Object filename, such as folder/sample.gif | String | Yes |
ci-process | Operation type, the value is fixed as convert | String | Yes |
width | Width of the transcoding result. Value range: [0,4096]. Default is 0. | Int | No |
height | Height of the transcoding result. Value range: [0,4096]. Default is 0. When both width and height are 0, the video's aspect ratio is used. If one value is 0, the other value is automatically adapted according to the video's aspect ratio. | Int | No |
format | Transcoding format, currently only supports mp4. | String | Yes |
GET /for-test.gif?ci-process=convert&format=mp4 HTTP/1.1Host: examplebucket-1250000000.cos.ap-beijing.myqcloud.comDate: Fri, 10 Mar 2016 09:45:46 GMTAuthorization: q-sign-algorithm=sha1&q-ak=************************************-sign-time=1484213027;32557109027&q-key-time=1484213027;32557109027&q-header-list=host&q-url-param-list=acl&q-signature=**************************************Content-Length: 0
https://examplebucket-1250000000.cos.ap-beijing.myqcloud.com/for-test.gif?ci-process=convert&format=mp4&time=1.5&q-sign-algorithm=sha1&q-ak=**********************************&q-sign-time=1650425932;1650433132&q-key-time=1650425932;1650433132&q-header-list=&q-url-param-list=&q-signature=*******************************
HTTP/1.1 200 OKContent-Type: video/mp4Content-Length: 266005Connection: keep-aliveDate: Fri, 10 Mar 2016 09:45:46 GMTServer: tencent-cix-cos-request-id: NTg3NzRiMjVfYmRjMzVfMTViMl82ZGZmNw==video content
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários