21 October 2008 - Additional encoding options

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <format>
        <!-- Format fields -->
        <output>[Output format]</output>
        <video_codec>[Video Codec]</video_codec>
        <audio_codec>[Audio Codec]</audio_codec>
        <bitrate>[Video bitrate]</bitrate>
        <audio_bitrate>[Audio bitrate]</audio_bitrate>
        <audio_sample_rate>[Audio quality]</audio_sample_rate>
        <size>[Size]</size>
        <crop_left>[Crop Left]</crop_left>
        <crop_top>[Crop Top]</crop_top>
        <crop_right>[Crop Right]</crop_right>
        <crop_bottom>[Crop Bottom]</crop_bottom>
        <thumb_time>[Thumb time]</thumb_time>
        <thumb_size>[Thumb size]</thumb_size>
        <add_meta>[yes/no]</add_meta>
        <rc_init_occupancy>[RC Occupancy]</rc_init_occupancy>
        <minrate>[Min Rate]</minrate>
        <maxrate>[Max Rate]</maxrate>
        <bufsize>[RC Buffer Size]</bufsize>
        <!-- Destination fields -->
        <!-- ... -->
        <!-- Logo fields (OPTIONAL) -->     
        <!-- ... -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "[Action]",
        "format": {
            "output": "[Output format]",
            "video_codec": "[Video Codec]",
            "audio_codec": "[Audio Codec]",
            "bitrate": "[Video bitrate]",
            "audio_bitrate": "[Audio bitrate]",
            "audio_sample_rate": "[Audio quality]",
            "size": "[Size]",
            "crop_left": "[Crop Left]",
            "crop_top": "[Crop Top]",
            "crop_right": "[Crop Right]",
            "crop_bottom": "[Crop Bottom]",
            "thumb_time": "[Thumb time]",
            "thumb_size": "[Thumb size]",
            "add_meta": "[yes/no]",
            "rc_init_occupancy": "[RC Occupancy]",
            "minrate": "[Min Rate]",
            "maxrate": "[Max Rate]",
            "bufsize": "[RC Buffer Size]"
        }
    }
}

Format fields

Format NameDescriptionAllowed ValuesDefault Values
maxrateMaximum allowed video bitrate.N or Nk - where N is any non-zero integer.None
minrateMinimum allowed video bitrate.N or Nk - where N is any non-zero integer.None
bufsizeRate control buffer size (bits).N or Nk - where N is any non-zero integer.None
rc_init_occpancyInitial rate control buffer occupancy (bits).N or Nk - where N is any non-zero integer.None