02 October 2013
over 11 years ago by Encoding.com Product Team
Video Overlay
Now you can use keep_audio parameter if you want to keep overlay's audio.
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
keep_audio | keep overlay's audio | 0,1 | 0 |
Audio Overlay
<?xml version="1.0"?>
<query>
<userid><<id>></userid> <!-- required-->
<userkey><<key>></userkey> <!-- required-->
<action>[Action]</action> <!-- required-->
<format>
<audio_overlay>
<overlay_source>[AudioOverlay1Source]</overlay_source>
<overlay_start>[AudioOverlay1Start]</overlay_start>
<overlay_duration>[AudioOverlay1Duration]</overlay_duration>
</audio_overlay>
<!-- ... -->
<audio_overlay>
<overlay_source>[AudioOverlayNSource]</overlay_source>
<overlay_start>[AudioOverlayNStart]</overlay_start>
<overlay_duration>[AudioOverlayNDuration]</overlay_duration>
</audio_overlay>
</format>
</query>
{
"query": {
"userid": "<<id>>",
"userkey": "<<key>>",
"action": "[Action]",
"format": {
"audio_overlay": [
{
"overlay_source": "[AudioOverlay1Source]",
"overlay_start": "[AudioOverlay1Start]",
"overlay_duration": "[AudioOverlay1Duration]"
},
{
"overlay_source": "[AudioOverlayNSource]",
"overlay_start": "[AudioOverlayNStart]",
"overlay_duration": "[AudioOverlayNDuration]"
}
]
}
}
}
Field Name | Description | Allowed Values | Default Values |
---|---|---|---|
(required)overlay_sourceoverlay's source URL | Valid url | None | |
overlay_start | overlay's start time (in seconds) | positive float value | 0 |
overlay_duration | overlay's duration (in seconds) | positive float value | 0 |