21 April 2011

Custom presets in API call

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <format>
        <output>[PRESET_NAME]</output>
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "[Action]",
        "format": {
            "output": "[PRESET_NAME]"
        }
    }
}

You could create and configure your custom output format in the user Interface. After that you will be able to use custom output formats in API calls as well.

Setting display aspect ratio

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <format>
        <!-- Format fields -->
        <set_aspect_ratio>[ASPECT_RATIO]</set_aspect_ratio>
        <!-- ... -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "[Action]",
        "format": {
            "set_aspect_ratio": "[ASPECT_RATIO]"
        }
    }
}
Format NameDescriptionAllowed ValuesDefault Values
set_aspect_ratioDisplay aspect ratio (DAR). When set, the option keep_aspect_ratio will be ignored. The option only has effect when used with the following formats: fl9, 3gp, mp4, m4v, ipod, iphone, ipad, android, ogg, webm, appletv, psp, iphone_stream, ipad_streamPositive float value or N:M - where N and M are any positive integers.None

Thumbnail time in intervals

Added ability to make thumbnail each time interval by sign '!'. Thumbnail image files will be named with number at the end.

Added a Noise Reduction filter

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <format>
        <!-- Format fields -->
        <noise_reduction>luma_spatial:chroma_spatial:luma_temp</noise_reduction>
        <!-- ... -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "[Action]",
        "format": {
            "noise_reduction": "luma_spatial:chroma_spatial:luma_temp"
        }
    }
}
Format NameDescriptionAllowed ValuesDefault Values
luma_spatialSpatial Luma Strength.[0,255]4:3:6
chroma_spatialSpatial Chroma Strength[0,255]4:3:6
luma_tempTemporal Luma Strength.[0,255]4:3:6

New MPEG-2 options

Audio codec MP2 added and set as default for MPEG-2.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <format>
        <!-- Format fields -->
        <output>mpeg2</output>
        <keyframe>[12|15|25|30]</keyframe> 
        <bframes>[2|0]</bframes>
        <gop>[cgop|sgop]</gop>
        <!-- ... -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "[Action]",
        "format": {
            "output": "mpeg2",
            "keyframe": "[12|15|25|30]",
            "bframes": "[2|0]",
            "gop": "[cgop|sgop]"
        }
    }
}
Format NameDescriptionAllowed ValuesDefault Values
keyframe12 [12 PAL DVD] , 15 [15 NTSC DVD], 25 [25 PAL Long GOP], 30 [30 NTSC Long GOP]15
bframes2 [on = IBBPBBP], 0 [off = IPPPPPP]2
gopsgop [Strict (Locked)], cgop [Closed (Scene Detection)]cgop

Audio codec MP2 added and set as default for MPEG-2.