Do you have a bunch of files that require encoding, but want to know more about the source media properties?
Use this workflow to achieve this:
Step 1: Send source media to the API via the AddMediaBenchmark action. Manage.encoding.com will accept this request and assign a Media ID for the video.
http://www.encoding.com/api/category/category/complete_api_documentation#addmedia_action
Step 2: Send a GetMediaInfo call to the API, with assigned MediaID, so source video characteristics will be shown, such as framesize, duration, and bitrate.
http://www.encoding.com/api/category/category/complete_api_documentation#getmediainfo_action
Step 3: Configure your CMS to select a setting based on returned media properites.
Step 4: Send back a ProcessMedia call, and use GetStatus to monitor progress.
http://www.encoding.com/api/category/category/complete_api_documentation#getstatus_action
NOTE: If you need separate progress reports for each task, add <extended>yes</extended> to GetStatus
Step 5: When job completes, have your CMS parse the result notification.
http://www.encoding.com/api/category/category/complete_api_documentation#encoding_result_xml_forma
– – –
To reuse source files, which expire after 15 days, use <action>UpdateMedia</action> with an existing Media ID to replace all of the existing format fields.