02 October 2013

Video Overlay

Now you can use keep_audio parameter if you want to keep overlay's audio.

Field NameDescriptionAllowed ValuesDefault Values
keep_audiokeep overlay's audio0,10

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 NameDescriptionAllowed ValuesDefault Values
(required)overlay_sourceoverlay's source URLValid urlNone
overlay_startoverlay's start time (in seconds)positive float value0
overlay_durationoverlay's duration (in seconds)positive float value0