Conversion Statuses 1.1

From Aviberry API

Jump to: navigation, search

Contents
Still have a question?



During its "life cycle" conversion passes through several phases that are displayed in its status. There are also different "service" conversion statuses.
Conversion status can be obtained using getConversion or getProgress methods.

Status Description
notfound Conversion with specified identifier not found.
queued Conversion is queued.
downloading Server downloads file for conversion.
converting File conversion.
uploading Server uploads conversion results.
finished Conversion finished.
canceled Conversion canceled by user.

When generated and launched, conversion is queued (queued).
After one of the conversion servers has become free, conversion is being processed and the source file is being downloaded (downloading).
After the download has been finished, the file is being converted (converting).
After the conversion has been successfully completed, the output is being uploaded to specified target_url (uploading).
After the output has been successfully uploaded, conversion is considered finished (finished).


If at any conversion phase an error occurs, conversion is considered finished (finished), but the error_code will not be 0, and error_message will contain detailed error message.

Conversion in queue or already in process can be cancelled. In this case conversion becomes canceled (canceled).

All finished (finished) or cancelled conversions (canceled) are available only for a certain time period, after that they are automatically transferred to the archive. Currently, the "availability" period is one week. Archived conversions are not available for getConversions, getConversion, and other methods.


Contents
Still have a question?

Views
Personal tools