Name

media_settings — provides the current settings for thumbnailing, dimension descriptions, etc

Synopsis

use Wacs;
use Wacs::WacsId;
scalar media_settings(...); 
 

Parameters

parameterdescription
filenameName of the XML file to parse for settings info (Not active yet)

Summary

The media_settings returns a data structure containing the configuration parameters for various media operations. The object thumbs within this data structure contains an array of settings for thumbnails for a given duration of video clip.

This contains min and max which determines the minimum and maximum number of seconds duration that this rule applies to. There is also desc which describes the rule and number which tells you how many thumbnail locations will be produced by the rule. There is then a pos object which describes what each location is, providing start and tail for each cluster of auto generated thumb nails. The value for start is between 0 and 1 and indicates where the thumbnail should be taken from - for instance 0.33 indicates this thumbnail should be taken 33% of the way through the video clip.

Availability

media_settings is available in Wacs 0.9.2 and later.