scratch – Blame information for rev
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
115 | office | 1 | <!DOCTYPE html> |
2 | <html lang="en"> |
||
3 | <head> |
||
4 | <meta charset="UTF-8" /> |
||
5 | <meta name="robots" content="index, follow, all" /> |
||
6 | <title>FFMpeg\Format\Video\WebM | PHP-FFMpeg API</title> |
||
7 | <link rel="stylesheet" type="text/css" href="../../../stylesheet.css"> |
||
8 | </head> |
||
9 | <body id="class"> |
||
10 | <div class="header"> |
||
11 | <ul> |
||
12 | <li><a href="../../../classes.html">Classes</a></li> |
||
13 | <li><a href="../../../namespaces.html">Namespaces</a></li> |
||
14 | <li><a href="../../../interfaces.html">Interfaces</a></li> |
||
15 | <li><a href="../../../traits.html">Traits</a></li> |
||
16 | <li><a href="../../../doc-index.html">Index</a></li> |
||
17 | |||
18 | </ul> |
||
19 | |||
20 | <div id="title">PHP-FFMpeg API</div> |
||
21 | |||
22 | <div class="type">Class</div> |
||
23 | <h1><a href="../../../FFMpeg/Format/Video.html">FFMpeg\Format\Video</a>\WebM</h1> |
||
24 | </div> |
||
25 | <div class="content"> |
||
26 | <p> class |
||
27 | <strong>WebM</strong> extends <a href="../../../FFMpeg/Format/Video/DefaultVideo.html"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a></p> |
||
28 | |||
29 | <div class="description"> |
||
30 | <p>The WebM video format</p> |
||
31 | <p> |
||
32 | </p> |
||
33 | </div> |
||
34 | |||
35 | |||
36 | |||
37 | <h2>Methods</h2> |
||
38 | |||
39 | <table> |
||
40 | <tr> |
||
41 | <td class="type"> |
||
42 | <abbr title="FFMpeg\Format\array()">array()</abbr> |
||
43 | </td> |
||
44 | <td class="last"> |
||
45 | <a href="#method_getExtraParams">getExtraParams</a>() |
||
46 | <p>Returns an array of extra parameters to add to ffmpeg commandline.</p> |
||
47 | </td> |
||
48 | <td></td> |
||
49 | </tr> |
||
50 | <tr> |
||
51 | <td class="type"> |
||
52 | string |
||
53 | </td> |
||
54 | <td class="last"> |
||
55 | <a href="#method_getAudioCodec">getAudioCodec</a>() |
||
56 | <p>Returns the audio codec.</p> |
||
57 | </td> |
||
58 | <td><small>from <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_getAudioCodec"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a></small></td> |
||
59 | </tr> |
||
60 | <tr> |
||
61 | <td class="type"> |
||
62 | |||
63 | </td> |
||
64 | <td class="last"> |
||
65 | <a href="#method_setAudioCodec">setAudioCodec</a>(string $audioCodec) |
||
66 | <p>Sets the audio codec, Should be in the available ones, otherwise an exception is thrown.</p> |
||
67 | </td> |
||
68 | <td><small>from <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_setAudioCodec"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a></small></td> |
||
69 | </tr> |
||
70 | <tr> |
||
71 | <td class="type"> |
||
72 | integer |
||
73 | </td> |
||
74 | <td class="last"> |
||
75 | <a href="#method_getAudioKiloBitrate">getAudioKiloBitrate</a>() |
||
76 | <p>Gets the audio kiloBitrate value.</p> |
||
77 | </td> |
||
78 | <td><small>from <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_getAudioKiloBitrate"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a></small></td> |
||
79 | </tr> |
||
80 | <tr> |
||
81 | <td class="type"> |
||
82 | |||
83 | </td> |
||
84 | <td class="last"> |
||
85 | <a href="#method_setAudioKiloBitrate">setAudioKiloBitrate</a>(integer $kiloBitrate) |
||
86 | <p>Sets the kiloBitrate value.</p> |
||
87 | </td> |
||
88 | <td><small>from <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_setAudioKiloBitrate"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a></small></td> |
||
89 | </tr> |
||
90 | <tr> |
||
91 | <td class="type"> |
||
92 | integer |
||
93 | </td> |
||
94 | <td class="last"> |
||
95 | <a href="#method_getAudioChannels">getAudioChannels</a>() |
||
96 | <p>Gets the audio channels value.</p> |
||
97 | </td> |
||
98 | <td><small>from <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_getAudioChannels"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a></small></td> |
||
99 | </tr> |
||
100 | <tr> |
||
101 | <td class="type"> |
||
102 | |||
103 | </td> |
||
104 | <td class="last"> |
||
105 | <a href="#method_setAudioChannels">setAudioChannels</a>(integer $channels) |
||
106 | <p>Sets the channels value.</p> |
||
107 | </td> |
||
108 | <td><small>from <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_setAudioChannels"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a></small></td> |
||
109 | </tr> |
||
110 | <tr> |
||
111 | <td class="type"> |
||
112 | array |
||
113 | </td> |
||
114 | <td class="last"> |
||
115 | <a href="#method_createProgressListener">createProgressListener</a>(<a href="../../../FFMpeg/Media/MediaTypeInterface.html"><abbr title="FFMpeg\Media\MediaTypeInterface">MediaTypeInterface</abbr></a> $media, <a href="../../../FFMpeg/FFProbe.html"><abbr title="FFMpeg\FFProbe">FFProbe</abbr></a> $ffprobe, Integer $pass, Integer $total) |
||
116 | <p>Creates the progress listener.</p> |
||
117 | </td> |
||
118 | <td><small>from <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_createProgressListener"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a></small></td> |
||
119 | </tr> |
||
120 | <tr> |
||
121 | <td class="type"> |
||
122 | string |
||
123 | </td> |
||
124 | <td class="last"> |
||
125 | <a href="#method_getPasses">getPasses</a>() |
||
126 | <p>Returns the number of passes.</p> |
||
127 | </td> |
||
128 | <td><small>from <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_getPasses"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a></small></td> |
||
129 | </tr> |
||
130 | <tr> |
||
131 | <td class="type"> |
||
132 | integer |
||
133 | </td> |
||
134 | <td class="last"> |
||
135 | <a href="#method_getKiloBitrate">getKiloBitrate</a>() |
||
136 | <p>Gets the kiloBitrate value.</p> |
||
137 | </td> |
||
138 | <td><small>from <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_getKiloBitrate"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a></small></td> |
||
139 | </tr> |
||
140 | <tr> |
||
141 | <td class="type"> |
||
142 | |||
143 | </td> |
||
144 | <td class="last"> |
||
145 | <a href="#method_setKiloBitrate">setKiloBitrate</a>(integer $kiloBitrate) |
||
146 | <p>Sets the kiloBitrate value.</p> |
||
147 | </td> |
||
148 | <td><small>from <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_setKiloBitrate"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a></small></td> |
||
149 | </tr> |
||
150 | <tr> |
||
151 | <td class="type"> |
||
152 | string |
||
153 | </td> |
||
154 | <td class="last"> |
||
155 | <a href="#method_getVideoCodec">getVideoCodec</a>() |
||
156 | <p>Returns the video codec.</p> |
||
157 | </td> |
||
158 | <td><small>from <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_getVideoCodec"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a></small></td> |
||
159 | </tr> |
||
160 | <tr> |
||
161 | <td class="type"> |
||
162 | |||
163 | </td> |
||
164 | <td class="last"> |
||
165 | <a href="#method_setVideoCodec">setVideoCodec</a>(string $videoCodec) |
||
166 | <p>Sets the video codec, Should be in the available ones, otherwise an exception is thrown.</p> |
||
167 | </td> |
||
168 | <td><small>from <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_setVideoCodec"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a></small></td> |
||
169 | </tr> |
||
170 | <tr> |
||
171 | <td class="type"> |
||
172 | integer |
||
173 | </td> |
||
174 | <td class="last"> |
||
175 | <a href="#method_getModulus">getModulus</a>() |
||
176 | <p> |
||
177 | </p> |
||
178 | </td> |
||
179 | <td><small>from <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_getModulus"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a></small></td> |
||
180 | </tr> |
||
181 | <tr> |
||
182 | <td class="type"> |
||
183 | |||
184 | </td> |
||
185 | <td class="last"> |
||
186 | <a href="#method___construct">__construct</a>($audioCodec = 'libvorbis', $videoCodec = 'libvpx') |
||
187 | <p> |
||
188 | </p> |
||
189 | </td> |
||
190 | <td></td> |
||
191 | </tr> |
||
192 | <tr> |
||
193 | <td class="type"> |
||
194 | Boolean |
||
195 | </td> |
||
196 | <td class="last"> |
||
197 | <a href="#method_supportBFrames">supportBFrames</a>() |
||
198 | <p>Returns true if the current format supports B-Frames.</p> |
||
199 | </td> |
||
200 | <td></td> |
||
201 | </tr> |
||
202 | <tr> |
||
203 | <td class="type"> |
||
204 | array |
||
205 | </td> |
||
206 | <td class="last"> |
||
207 | <a href="#method_getAvailableAudioCodecs">getAvailableAudioCodecs</a>() |
||
208 | <p>Returns the list of available audio codecs for this format.</p> |
||
209 | </td> |
||
210 | <td></td> |
||
211 | </tr> |
||
212 | <tr> |
||
213 | <td class="type"> |
||
214 | array |
||
215 | </td> |
||
216 | <td class="last"> |
||
217 | <a href="#method_getAvailableVideoCodecs">getAvailableVideoCodecs</a>() |
||
218 | <p>Returns the list of available video codecs for this format.</p> |
||
219 | </td> |
||
220 | <td></td> |
||
221 | </tr> |
||
222 | </table> |
||
223 | |||
224 | |||
225 | <h2>Details</h2> |
||
226 | |||
227 | <h3 id="method_getExtraParams"> |
||
228 | <div class="location">at line 37</div> |
||
229 | <code> public <abbr title="FFMpeg\Format\array()">array()</abbr> |
||
230 | <strong>getExtraParams</strong>()</code> |
||
231 | </h3> |
||
232 | <div class="details"> |
||
233 | <p>Returns an array of extra parameters to add to ffmpeg commandline.</p> |
||
234 | <p> |
||
235 | </p> |
||
236 | <div class="tags"> |
||
237 | |||
238 | <h4>Return Value</h4> |
||
239 | |||
240 | <table> |
||
241 | <tr> |
||
242 | <td><abbr title="FFMpeg\Format\array()">array()</abbr></td> |
||
243 | <td> |
||
244 | </td> |
||
245 | </tr> |
||
246 | </table> |
||
247 | |||
248 | |||
249 | |||
250 | </div> |
||
251 | </div> |
||
252 | |||
253 | <h3 id="method_getAudioCodec"> |
||
254 | <div class="location">in <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_getAudioCodec"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a> at line 44</div> |
||
255 | <code> public string |
||
256 | <strong>getAudioCodec</strong>()</code> |
||
257 | </h3> |
||
258 | <div class="details"> |
||
259 | <p>Returns the audio codec.</p> |
||
260 | <p> |
||
261 | </p> |
||
262 | <div class="tags"> |
||
263 | |||
264 | <h4>Return Value</h4> |
||
265 | |||
266 | <table> |
||
267 | <tr> |
||
268 | <td>string</td> |
||
269 | <td> |
||
270 | </td> |
||
271 | </tr> |
||
272 | </table> |
||
273 | |||
274 | |||
275 | |||
276 | </div> |
||
277 | </div> |
||
278 | |||
279 | <h3 id="method_setAudioCodec"> |
||
280 | <div class="location">in <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_setAudioCodec"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a> at line 57</div> |
||
281 | <code> public |
||
282 | <strong>setAudioCodec</strong>(string $audioCodec)</code> |
||
283 | </h3> |
||
284 | <div class="details"> |
||
285 | <p>Sets the audio codec, Should be in the available ones, otherwise an exception is thrown.</p> |
||
286 | <p> |
||
287 | </p> |
||
288 | <div class="tags"> |
||
289 | <h4>Parameters</h4> |
||
290 | |||
291 | <table> |
||
292 | <tr> |
||
293 | <td>string</td> |
||
294 | <td>$audioCodec</td> |
||
295 | <td> |
||
296 | </td> |
||
297 | </tr> |
||
298 | </table> |
||
299 | |||
300 | |||
301 | |||
302 | <h4>Exceptions</h4> |
||
303 | |||
304 | <table> |
||
305 | <tr> |
||
306 | <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> |
||
307 | <td> |
||
308 | </td> |
||
309 | </tr> |
||
310 | </table> |
||
311 | |||
312 | |||
313 | </div> |
||
314 | </div> |
||
315 | |||
316 | <h3 id="method_getAudioKiloBitrate"> |
||
317 | <div class="location">in <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_getAudioKiloBitrate"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a> at line 74</div> |
||
318 | <code> public integer |
||
319 | <strong>getAudioKiloBitrate</strong>()</code> |
||
320 | </h3> |
||
321 | <div class="details"> |
||
322 | <p>Gets the audio kiloBitrate value.</p> |
||
323 | <p> |
||
324 | </p> |
||
325 | <div class="tags"> |
||
326 | |||
327 | <h4>Return Value</h4> |
||
328 | |||
329 | <table> |
||
330 | <tr> |
||
331 | <td>integer</td> |
||
332 | <td> |
||
333 | </td> |
||
334 | </tr> |
||
335 | </table> |
||
336 | |||
337 | |||
338 | |||
339 | </div> |
||
340 | </div> |
||
341 | |||
342 | <h3 id="method_setAudioKiloBitrate"> |
||
343 | <div class="location">in <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_setAudioKiloBitrate"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a> at line 85</div> |
||
344 | <code> public |
||
345 | <strong>setAudioKiloBitrate</strong>(integer $kiloBitrate)</code> |
||
346 | </h3> |
||
347 | <div class="details"> |
||
348 | <p>Sets the kiloBitrate value.</p> |
||
349 | <p> |
||
350 | </p> |
||
351 | <div class="tags"> |
||
352 | <h4>Parameters</h4> |
||
353 | |||
354 | <table> |
||
355 | <tr> |
||
356 | <td>integer</td> |
||
357 | <td>$kiloBitrate</td> |
||
358 | <td> |
||
359 | </td> |
||
360 | </tr> |
||
361 | </table> |
||
362 | |||
363 | |||
364 | |||
365 | <h4>Exceptions</h4> |
||
366 | |||
367 | <table> |
||
368 | <tr> |
||
369 | <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> |
||
370 | <td> |
||
371 | </td> |
||
372 | </tr> |
||
373 | </table> |
||
374 | |||
375 | |||
376 | </div> |
||
377 | </div> |
||
378 | |||
379 | <h3 id="method_getAudioChannels"> |
||
380 | <div class="location">in <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_getAudioChannels"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a> at line 99</div> |
||
381 | <code> public integer |
||
382 | <strong>getAudioChannels</strong>()</code> |
||
383 | </h3> |
||
384 | <div class="details"> |
||
385 | <p>Gets the audio channels value.</p> |
||
386 | <p> |
||
387 | </p> |
||
388 | <div class="tags"> |
||
389 | |||
390 | <h4>Return Value</h4> |
||
391 | |||
392 | <table> |
||
393 | <tr> |
||
394 | <td>integer</td> |
||
395 | <td> |
||
396 | </td> |
||
397 | </tr> |
||
398 | </table> |
||
399 | |||
400 | |||
401 | |||
402 | </div> |
||
403 | </div> |
||
404 | |||
405 | <h3 id="method_setAudioChannels"> |
||
406 | <div class="location">in <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_setAudioChannels"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a> at line 110</div> |
||
407 | <code> public |
||
408 | <strong>setAudioChannels</strong>(integer $channels)</code> |
||
409 | </h3> |
||
410 | <div class="details"> |
||
411 | <p>Sets the channels value.</p> |
||
412 | <p> |
||
413 | </p> |
||
414 | <div class="tags"> |
||
415 | <h4>Parameters</h4> |
||
416 | |||
417 | <table> |
||
418 | <tr> |
||
419 | <td>integer</td> |
||
420 | <td>$channels</td> |
||
421 | <td> |
||
422 | </td> |
||
423 | </tr> |
||
424 | </table> |
||
425 | |||
426 | |||
427 | |||
428 | <h4>Exceptions</h4> |
||
429 | |||
430 | <table> |
||
431 | <tr> |
||
432 | <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> |
||
433 | <td> |
||
434 | </td> |
||
435 | </tr> |
||
436 | </table> |
||
437 | |||
438 | |||
439 | </div> |
||
440 | </div> |
||
441 | |||
442 | <h3 id="method_createProgressListener"> |
||
443 | <div class="location">in <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_createProgressListener"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a> at line 100</div> |
||
444 | <code> public array |
||
445 | <strong>createProgressListener</strong>(<a href="../../../FFMpeg/Media/MediaTypeInterface.html"><abbr title="FFMpeg\Media\MediaTypeInterface">MediaTypeInterface</abbr></a> $media, <a href="../../../FFMpeg/FFProbe.html"><abbr title="FFMpeg\FFProbe">FFProbe</abbr></a> $ffprobe, Integer $pass, Integer $total)</code> |
||
446 | </h3> |
||
447 | <div class="details"> |
||
448 | <p>Creates the progress listener.</p> |
||
449 | <p> |
||
450 | </p> |
||
451 | <div class="tags"> |
||
452 | <h4>Parameters</h4> |
||
453 | |||
454 | <table> |
||
455 | <tr> |
||
456 | <td><a href="../../../FFMpeg/Media/MediaTypeInterface.html"><abbr title="FFMpeg\Media\MediaTypeInterface">MediaTypeInterface</abbr></a></td> |
||
457 | <td>$media</td> |
||
458 | <td> |
||
459 | </td> |
||
460 | </tr> |
||
461 | <tr> |
||
462 | <td><a href="../../../FFMpeg/FFProbe.html"><abbr title="FFMpeg\FFProbe">FFProbe</abbr></a></td> |
||
463 | <td>$ffprobe</td> |
||
464 | <td> |
||
465 | </td> |
||
466 | </tr> |
||
467 | <tr> |
||
468 | <td>Integer</td> |
||
469 | <td>$pass</td> |
||
470 | <td>The current pas snumber</td> |
||
471 | </tr> |
||
472 | <tr> |
||
473 | <td>Integer</td> |
||
474 | <td>$total</td> |
||
475 | <td>The total pass number</td> |
||
476 | </tr> |
||
477 | </table> |
||
478 | |||
479 | |||
480 | <h4>Return Value</h4> |
||
481 | |||
482 | <table> |
||
483 | <tr> |
||
484 | <td>array</td> |
||
485 | <td>An array of listeners</td> |
||
486 | </tr> |
||
487 | </table> |
||
488 | |||
489 | |||
490 | |||
491 | </div> |
||
492 | </div> |
||
493 | |||
494 | <h3 id="method_getPasses"> |
||
495 | <div class="location">in <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_getPasses"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a> at line 138</div> |
||
496 | <code> public string |
||
497 | <strong>getPasses</strong>()</code> |
||
498 | </h3> |
||
499 | <div class="details"> |
||
500 | <p>Returns the number of passes.</p> |
||
501 | <p> |
||
502 | </p> |
||
503 | <div class="tags"> |
||
504 | |||
505 | <h4>Return Value</h4> |
||
506 | |||
507 | <table> |
||
508 | <tr> |
||
509 | <td>string</td> |
||
510 | <td> |
||
511 | </td> |
||
512 | </tr> |
||
513 | </table> |
||
514 | |||
515 | |||
516 | |||
517 | </div> |
||
518 | </div> |
||
519 | |||
520 | <h3 id="method_getKiloBitrate"> |
||
521 | <div class="location">in <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_getKiloBitrate"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a> at line 38</div> |
||
522 | <code> public integer |
||
523 | <strong>getKiloBitrate</strong>()</code> |
||
524 | </h3> |
||
525 | <div class="details"> |
||
526 | <p>Gets the kiloBitrate value.</p> |
||
527 | <p> |
||
528 | </p> |
||
529 | <div class="tags"> |
||
530 | |||
531 | <h4>Return Value</h4> |
||
532 | |||
533 | <table> |
||
534 | <tr> |
||
535 | <td>integer</td> |
||
536 | <td> |
||
537 | </td> |
||
538 | </tr> |
||
539 | </table> |
||
540 | |||
541 | |||
542 | |||
543 | </div> |
||
544 | </div> |
||
545 | |||
546 | <h3 id="method_setKiloBitrate"> |
||
547 | <div class="location">in <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_setKiloBitrate"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a> at line 49</div> |
||
548 | <code> public |
||
549 | <strong>setKiloBitrate</strong>(integer $kiloBitrate)</code> |
||
550 | </h3> |
||
551 | <div class="details"> |
||
552 | <p>Sets the kiloBitrate value.</p> |
||
553 | <p> |
||
554 | </p> |
||
555 | <div class="tags"> |
||
556 | <h4>Parameters</h4> |
||
557 | |||
558 | <table> |
||
559 | <tr> |
||
560 | <td>integer</td> |
||
561 | <td>$kiloBitrate</td> |
||
562 | <td> |
||
563 | </td> |
||
564 | </tr> |
||
565 | </table> |
||
566 | |||
567 | |||
568 | |||
569 | <h4>Exceptions</h4> |
||
570 | |||
571 | <table> |
||
572 | <tr> |
||
573 | <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> |
||
574 | <td> |
||
575 | </td> |
||
576 | </tr> |
||
577 | </table> |
||
578 | |||
579 | |||
580 | </div> |
||
581 | </div> |
||
582 | |||
583 | <h3 id="method_getVideoCodec"> |
||
584 | <div class="location">in <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_getVideoCodec"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a> at line 63</div> |
||
585 | <code> public string |
||
586 | <strong>getVideoCodec</strong>()</code> |
||
587 | </h3> |
||
588 | <div class="details"> |
||
589 | <p>Returns the video codec.</p> |
||
590 | <p> |
||
591 | </p> |
||
592 | <div class="tags"> |
||
593 | |||
594 | <h4>Return Value</h4> |
||
595 | |||
596 | <table> |
||
597 | <tr> |
||
598 | <td>string</td> |
||
599 | <td> |
||
600 | </td> |
||
601 | </tr> |
||
602 | </table> |
||
603 | |||
604 | |||
605 | |||
606 | </div> |
||
607 | </div> |
||
608 | |||
609 | <h3 id="method_setVideoCodec"> |
||
610 | <div class="location">in <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_setVideoCodec"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a> at line 75</div> |
||
611 | <code> public |
||
612 | <strong>setVideoCodec</strong>(string $videoCodec)</code> |
||
613 | </h3> |
||
614 | <div class="details"> |
||
615 | <p>Sets the video codec, Should be in the available ones, otherwise an exception is thrown.</p> |
||
616 | <p> |
||
617 | </p> |
||
618 | <div class="tags"> |
||
619 | <h4>Parameters</h4> |
||
620 | |||
621 | <table> |
||
622 | <tr> |
||
623 | <td>string</td> |
||
624 | <td>$videoCodec</td> |
||
625 | <td> |
||
626 | </td> |
||
627 | </tr> |
||
628 | </table> |
||
629 | |||
630 | |||
631 | |||
632 | <h4>Exceptions</h4> |
||
633 | |||
634 | <table> |
||
635 | <tr> |
||
636 | <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> |
||
637 | <td> |
||
638 | </td> |
||
639 | </tr> |
||
640 | </table> |
||
641 | |||
642 | |||
643 | </div> |
||
644 | </div> |
||
645 | |||
646 | <h3 id="method_getModulus"> |
||
647 | <div class="location">in <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_getModulus"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a> at line 92</div> |
||
648 | <code> public integer |
||
649 | <strong>getModulus</strong>()</code> |
||
650 | </h3> |
||
651 | <div class="details"> |
||
652 | <p> |
||
653 | </p> |
||
654 | <p> |
||
655 | </p> |
||
656 | <div class="tags"> |
||
657 | |||
658 | <h4>Return Value</h4> |
||
659 | |||
660 | <table> |
||
661 | <tr> |
||
662 | <td>integer</td> |
||
663 | <td> |
||
664 | </td> |
||
665 | </tr> |
||
666 | </table> |
||
667 | |||
668 | |||
669 | |||
670 | </div> |
||
671 | </div> |
||
672 | |||
673 | <h3 id="method___construct"> |
||
674 | <div class="location">at line 19</div> |
||
675 | <code> public |
||
676 | <strong>__construct</strong>($audioCodec = 'libvorbis', $videoCodec = 'libvpx')</code> |
||
677 | </h3> |
||
678 | <div class="details"> |
||
679 | <p> |
||
680 | </p> |
||
681 | <p> |
||
682 | </p> |
||
683 | <div class="tags"> |
||
684 | <h4>Parameters</h4> |
||
685 | |||
686 | <table> |
||
687 | <tr> |
||
688 | <td></td> |
||
689 | <td>$audioCodec</td> |
||
690 | <td> |
||
691 | </td> |
||
692 | </tr> |
||
693 | <tr> |
||
694 | <td></td> |
||
695 | <td>$videoCodec</td> |
||
696 | <td> |
||
697 | </td> |
||
698 | </tr> |
||
699 | </table> |
||
700 | |||
701 | |||
702 | |||
703 | |||
704 | </div> |
||
705 | </div> |
||
706 | |||
707 | <h3 id="method_supportBFrames"> |
||
708 | <div class="location">at line 29</div> |
||
709 | <code> public Boolean |
||
710 | <strong>supportBFrames</strong>()</code> |
||
711 | </h3> |
||
712 | <div class="details"> |
||
713 | <p>Returns true if the current format supports B-Frames.</p> |
||
714 | <p> |
||
715 | </p> |
||
716 | <div class="tags"> |
||
717 | |||
718 | <h4>Return Value</h4> |
||
719 | |||
720 | <table> |
||
721 | <tr> |
||
722 | <td>Boolean</td> |
||
723 | <td> |
||
724 | </td> |
||
725 | </tr> |
||
726 | </table> |
||
727 | |||
728 | |||
729 | |||
730 | </div> |
||
731 | </div> |
||
732 | |||
733 | <h3 id="method_getAvailableAudioCodecs"> |
||
734 | <div class="location">at line 45</div> |
||
735 | <code> public array |
||
736 | <strong>getAvailableAudioCodecs</strong>()</code> |
||
737 | </h3> |
||
738 | <div class="details"> |
||
739 | <p>Returns the list of available audio codecs for this format.</p> |
||
740 | <p> |
||
741 | </p> |
||
742 | <div class="tags"> |
||
743 | |||
744 | <h4>Return Value</h4> |
||
745 | |||
746 | <table> |
||
747 | <tr> |
||
748 | <td>array</td> |
||
749 | <td> |
||
750 | </td> |
||
751 | </tr> |
||
752 | </table> |
||
753 | |||
754 | |||
755 | |||
756 | </div> |
||
757 | </div> |
||
758 | |||
759 | <h3 id="method_getAvailableVideoCodecs"> |
||
760 | <div class="location">at line 53</div> |
||
761 | <code> public array |
||
762 | <strong>getAvailableVideoCodecs</strong>()</code> |
||
763 | </h3> |
||
764 | <div class="details"> |
||
765 | <p>Returns the list of available video codecs for this format.</p> |
||
766 | <p> |
||
767 | </p> |
||
768 | <div class="tags"> |
||
769 | |||
770 | <h4>Return Value</h4> |
||
771 | |||
772 | <table> |
||
773 | <tr> |
||
774 | <td>array</td> |
||
775 | <td> |
||
776 | </td> |
||
777 | </tr> |
||
778 | </table> |
||
779 | |||
780 | |||
781 | |||
782 | </div> |
||
783 | </div> |
||
784 | |||
785 | |||
786 | </div> |
||
787 | <div id="footer"> |
||
788 | Generated by <a href="http://sami.sensiolabs.org/" target="_top">Sami, the API Documentation Generator</a>. |
||
789 | </div> |
||
790 | </body> |
||
791 | </html> |