28 September 2011
over 14 years ago by Encoding.com Product Team
| Option | Description | Allowed Values | Default Values |
|---|---|---|---|
| audio_sync It adjusts the audio stream to match the timestamps, in # of samples per second. 1 is special value that means automatic. | Positive integer | None |
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<region>[us-east-1|us-west-1]</region>
<format>
<!-- Format fields -->
</format>
</query>{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"region": "[us-east-1|us-west-1]",
"format": {}
}
}| Action | Description |
|---|---|
| RestartMedia | Complete restart the entire job |
| RestartMediaErrors | Only retry tasks ended with error |
| RestartMediaTask | Only restart the specified task (format). Additional parameter <taskid> must be specified. |
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<!-- Format fields -->
<twin_turbo>yes</twin_turbo>
<!-- ... -->
</format>
</query>{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"twin_turbo": "yes"
}
}
}Note: muxing is supported for only two sources now.
Sample XML to mux video from one source and audio from another one:
| Format Name | Description | Allowed values: | Default values: |
| image_format | [<span style="color:#ff0000;">required</span>] — Format of resulting image. | jpg, png, gif, tiff | jpg |