12 September 2012

Overlay

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <format>
        <!-- Format fields -->
        <overlay>
            <overlay_source>[Overlay1Source]</overlay_source>
            <overlay_x>[Overlay1PositionX]</overlay_x>
            <overlay_y>[Overlay1PositionY]</overlay_y>
            <size>[Overlay1Size]</size>
            <overlay_start>[Overlay1StartInSeconds]</overlay_start>
            <overlay_duration>[Overlay1DurationInSeconds]</overlay_duration>
        </overlay>
        <!-- ... -->
        <overlay>
            <overlay_source>[OverlayNSource]</overlay_source>
            <overlay_x>[OverlayNPositionX]</overlay_x>
            <overlay_y>[OverlayNPositionY]</overlay_y>
            <size>[OverlayNSize]</size>
            <overlay_start>[OverlayNStartInSeconds]</overlay_start>
            <overlay_duration>[OverlayNDurationInSeconds]</overlay_duration>
        </overlay>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "[Action]",
        "format": {
            "overlay": [
                {
                    "overlay_source": "[Overlay1Source]",
                    "overlay_x": "[Overlay1PositionX]",
                    "overlay_y": "[Overlay1PositionY]",
                    "size": "[Overlay1Size]",
                    "overlay_start": "[Overlay1StartInSeconds]",
                    "overlay_duration": "[Overlay1DurationInSeconds]"
                },
                {
                    "overlay_source": "[OverlayNSource]",
                    "overlay_x": "[OverlayNPositionX]",
                    "overlay_y": "[OverlayNPositionY]",
                    "size": "[OverlayNSize]",
                    "overlay_start": "[OverlayNStartInSeconds]",
                    "overlay_duration": "[OverlayNDurationInSeconds]"
                }
            ]
        }
    }
}
Format NameDescriptionAllowed ValuesDefault Values
(required)overlay_source
overlay's source URL
Valid urlNone
overlay_x
overlay's position X
non-negative integer0
overlay_y
overlay's position Y
non-negative integer0
size
overlay's size
WxH where W and H - positive integersNone
overlay_start
overlay's start time (in seconds)
positive float value0
overlay_duration
overlay's duration (in seconds)
positive float valueNone

Split Screen

Combine several sources to one split screen video

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <!-- Main fields -->
    <source>[SourceFile1]</source>
    <!-- ... -->   
    <source>[SourceFileN]</source>
    <split_screen>
        <columns>[ColumnsNumber]</columns>
        <rows>[RowsNumber]</rows>
        <padding_left>[PaddingLeftInPx]</padding_left>
        <padding_right>[PaddingRightInPx]</padding_right>
        <padding_bottom>[PaddingBottomInPx]</padding_bottom>
        <padding_top>[PaddingTopInPx]</padding_top>
    </split_screen>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "[Action]",
        "source": [
            "[SourceFile1]",
            "[SourceFileN]"
        ],
        "split_screen": {
            "columns": "[ColumnsNumber]",
            "rows": "[RowsNumber]",
            "padding_left": "[PaddingLeftInPx]",
            "padding_right": "[PaddingRightInPx]",
            "padding_bottom": "[PaddingBottomInPx]",
            "padding_top": "[PaddingTopInPx]"
        }
    }
}
Format NameDescriptionAllowed ValuesDefault Values
columns
Number of columns in split screen
non-negative integerSources count
rows
Number of rows in split screen
non-negative integer1
padding_top
Padding (in pixels) from top to split screen's main area
non-negative integer0
padding_right
Padding (in pixels) from right to split screen's main area
non-negative integer0
padding_bottom
Padding (in pixels) from bottom to split screen's main area
non-negative integer0
padding_left
Padding (in pixels) from left to split screen's main area
non-negative integer0

YouTube destination

 DescriptionAllowed ValuesDefault Values
destinationYouTube
http://[YoutubeLogin]:[YoutubePassword]@youtube.com/?title=[VideoTitle]&category=[VideoCategory]&keywords=[VideoKeywords]&description=[VideoDescription]&acl=[ACL]
[YoutubeLogin] – Login on YouTube (mandatory)
[YoutubePassword] – Password on YouTube (mandatory)
[VideoTitle] – Video title on YouTube (optional, default: filename)
[VideoCategory] – Video category. Allowed values: Film, Autos, Music, Animals, Sports, Travel, Games, People, Comedy, Entertainment, News, Howto, Education, Tech, Nonprofit (optional, default: Film)
[VideoKeywords] – Video keywords on YouTube (optional, default: none)
[VideoDescription] – Video description on YouTube (optional, default: none)
[ACL] – Access Control List to video on YouTube (optional, default: private). Allowed values:private – only owner can get access to the video,public-read – everyone can get access to the video,unlisted - only users with direct link can get access to the video
None

Force_interlaced default to no

| force_interlaced
Interlaced encoding type | mpegts: tff,bff,no | mpegts: no |

MPEG-1 video

OptionDescriptionAllowed ValuesDefault Values
(required) output
Format type
flv, fl9, wmv, 3gp, mp4, m4v, ipod, iphone, ipad, android, ogg, webm, appletv, psp, zune, mp3, wma, m4a, thumbnail, image,mpeg1, mpeg2 (just experimental feature, please use with care, feedback is welcome), iphone_stream, ipad_stream, muxer, wowza, wowza_multibitrate, roku_800, roku_1200, roku_1800, roku_2700, roku_hls, mpegts, vidly, kindle_fire, eac3, smooth_streaming, hds.None.
video_codecVideo codecflv:flv, libx264, vp6fl9, mpegts: libx264wmv, zune: wmv2, msmpeg43gp, android:h263, mpeg4, libx264m4v:mpeg4mp4, ipod, iphone, ipad, appletv, psp: mpeg4, libx264ogg: libtheorawebm:libvpxmp3, wma: nonempeg2:mpeg2videompeg1:mpeg1videoflv:flvfl9, ipod, iphone, ipad:libx264wmv, zune:wmv23gp: h263mp4, m4v,appletv, psp, android:mpeg4ogg:libtheorawebm:libvpxmpeg2:mpeg2videompeg1:mpeg1video
audio_codecAudio codecmp3:libmp3lamem4a:libfaac, dolbyaac, dolby_heaac, dolby_heaacv2flv:libmp3lame, libfaac, dolby_aac, dolby_heaac, dolby_heaacv2**fl9, mp4, m4v, ipod, iphone, ipad, appletv, psp, wowza, roku*, kindle_fire:libfaac, dolby_aac, dolby_heaac, dolby_heaacv2mov:libfaac, dolby_aac, dolby_heaac, dolby_heaacv2, eac3iphone_stream, ipad_stream, wowza_multibitrate, roku_hls, smooth_streaming, hds:libfaac, dolby_aac, dolby_heaac, dolby_heaacv2wmv, wma, zune:wmav2, libmp3lameogg, webm:libvorbis3gp:libamr_nbandroid:libamr_nb, libfaacmpeg2:pcm_s16be, pcm_s16lempeg1:mp2, copympegts:**ac3flv, mp3: libmp3lamefl9, mp4, m4v, ipod, iphone, ipad, appletv, psp, wowza, roku_*, kindle_fire:libfaacmov:libfaaciphone_stream, ipad_stream, wowza_multibitrate, roku_hls, smooth_streaming, hds:libfaacwmv, zune: wmav2ogg, webm: libvorbis3gp, android: libamr_nbmpeg2:pcm_s16bempeg1:mp2m4a:libfaac