15 July 2021

Image Media Playlist Offset

Added option to set a custom offset for Image Media Playlist for Advanced Multi-Bitrate output formats.

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>[Action]</action> <!-- required-->
    <source>[SourceFile]</source> <!-- required-->
    <format>
        <output>[advanced_hls|advanced_dash|advanced_mss|fmp4_hls|advanced_fmp4]</output> <!-- required-->
        <destination>[DestFile]</destination> <!-- required-->
        <image_media_playlist>
            <offset>[Offset]</offset>
            <!-- image_media_playlist params -->
        </image_media_playlist>
        <image_media_playlist>
            <!-- image_media_playlist params -->
        </image_media_playlist>
        <!-- format params -->
    </format>
</query>
{
    "query": {
        "userid": "<<id>>", // required
        "userkey": "<<key>>", // required
        "action": "[Action]", // required
        "source": "[SourceFile]", // required
        "format": {
            "output": "[advanced_hls|advanced_dash|advanced_mss|fmp4_hls|advanced_fmp4]", // required
            "destination": "[DestFile]", // required
            "image_media_playlist": [
                // image_media_playlist doesn't work with advanced_mss
                {
                    "offset": "[Offset]"
                    // image_media_playlist params
                },
                {
                    // image_media_playlist params
                }
                // multiple image_media_playlist may be included
            ],
            // format Params
        }
    }
}
ParameterDescriptionAllowed ValuesDefalt Value
offsetSets first thumbnail offsetauto – we will calcualte offset as half of the specified <interval /> value
•integer number – frame offset in seconds
auto