camera._convertVideoFormats
Overview
Converts the movie format of a saved movie.
Support model
| Z1 | V | SC | S |
|---|---|---|---|
| All | All | — | — |
Parameters
| Name | Type | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| fileUrl | String | URL of a saved movie file | ||||||||
| size | String | Recorded size (pixels) Specify "3840 x 1920" or "1920 x 960". |
||||||||
| projectionType | String | Projection type of movie file Specify "Equirectangular" . |
||||||||
| codec | String | Codec Specify "H.264/MPEG-4 AVC". |
||||||||
| topBottomCorrection | String | Top/bottom correction
|
Progress
| Name | Type | Description |
|---|---|---|
| completion | Number | Progress of movie file conversion |
Results
| Name | Type | Description |
|---|---|---|
| fileUrl | String | URL of a converted movie file |
Example
Parameters
{
"fileUrl":"http://192.168.1.1/files/abcde/100RICOH/R0010017.mp4",
"size":"3840x1920",
"projectionType":"Equirectangular",
"codec":"H.264/MPEG-4 AVC",
"topBottomCorrection":"Apply"
}
Progress
{
"completion": 0.1
}
Results
{
"fileUrl":"http://192.168.1.1/files/abcde/100RICOH/R0010017.mp4"
}