Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
flv_file_management.inc
1 <?php
18 require_once SQ_INCLUDE_PATH.'/asset_management.inc';
19 
31 {
32 
33 
41  {
42  Asset_Management::__construct($pm);
43 
44  $this->vars = Array(
45  'extract_metadata' => Array(
46  'added' => '0.1',
47  'type' => 'boolean',
48  'default' => FALSE,
49  'is_admin' => TRUE,
50  'parameters' => Array('allow_empty' => FALSE),
51  'description' => 'When set to TRUE in edit interface, will use getID3() to extract metadata from the FLV file',
52  ),
53  'duration' => Array(
54  'added' => '0.1',
55  'type' => 'float',
56  'default' => 0,
57  'is_admin' => FALSE,
58  'description' => 'Duration of the FLV file in seconds',
59  ),
60  'width' => Array(
61  'added' => '0.1',
62  'type' => 'float',
63  'default' => 0,
64  'is_admin' => FALSE,
65  'description' => 'The width of the video in pixels',
66  ),
67  'height' => Array(
68  'added' => '0.1',
69  'type' => 'float',
70  'default' => 0,
71  'is_admin' => FALSE,
72  'description' => 'The height of the video in pixels',
73  ),
74  'framerate' => Array(
75  'added' => '0.1',
76  'type' => 'float',
77  'default' => 0,
78  'is_admin' => FALSE,
79  'description' => 'Number of frames per second',
80  ),
81  'videodatarate' => Array(
82  'added' => '0.1',
83  'type' => 'float',
84  'default' => 0,
85  'is_admin' => FALSE,
86  'description' => 'Video bit rate in kilobits per second',
87  ),
88  'videocodecid' => Array(
89  'added' => '0.1',
90  'type' => 'float',
91  'default' => 0,
92  'is_admin' => FALSE,
93  'description' => 'The video codec ID used in the file',
94  ),
95  'audiodatarate' => Array(
96  'added' => '0.1',
97  'type' => 'float',
98  'default' => 0,
99  'is_admin' => FALSE,
100  'description' => 'Audio bit rate in kilobits per second',
101  ),
102  'audiocodecid' => Array(
103  'added' => '0.1',
104  'type' => 'float',
105  'default' => 0,
106  'is_admin' => FALSE,
107  'description' => 'The audio codec ID used in the file',
108  ),
109  'audiosamplerate' => Array(
110  'added' => '0.1',
111  'type' => 'float',
112  'default' => 0,
113  'is_admin' => FALSE,
114  'description' => 'The frequency at which the audio stream is replayed',
115  ),
116  'audiosamplesize' => Array(
117  'added' => '0.1',
118  'type' => 'float',
119  'default' => 0,
120  'is_admin' => FALSE,
121  'description' => 'The resolution of a single audio sample',
122  ),
123  'attributes' => Array(
124  'added' => '0.1',
125  'type' => 'serialise',
126  'default' => Array(),
127  'is_admin' => TRUE,
128  'description' => 'This attribute stores all the FLV metadata which are not kept in the above attributes',
129  ),
130  );
131 
132  }//end constructor
133 
134 
135 }//end class
136 ?>