scratch – Blame information for rev 122
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
120 | 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\X264 | 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>\X264</h1> |
||
24 | </div> |
||
25 | <div class="content"> |
||
26 | <p> class |
||
27 | <strong>X264</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 X264 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><small>from <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_getExtraParams"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a></small></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 | integer |
||
123 | </td> |
||
124 | <td class="last"> |
||
125 | <a href="#method_setPasses">setPasses</a>(integer $passes) |
||
126 | <p>Sets the number of passes.</p> |
||
127 | </td> |
||
128 | <td></td> |
||
129 | </tr> |
||
130 | <tr> |
||
131 | <td class="type"> |
||
132 | integer |
||
133 | </td> |
||
134 | <td class="last"> |
||
135 | <a href="#method_getPasses">getPasses</a>() |
||
136 | <p>Returns the number of passes.</p> |
||
137 | </td> |
||
138 | <td></td> |
||
139 | </tr> |
||
140 | <tr> |
||
141 | <td class="type"> |
||
142 | integer |
||
143 | </td> |
||
144 | <td class="last"> |
||
145 | <a href="#method_getKiloBitrate">getKiloBitrate</a>() |
||
146 | <p>Gets the kiloBitrate value.</p> |
||
147 | </td> |
||
148 | <td><small>from <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_getKiloBitrate"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a></small></td> |
||
149 | </tr> |
||
150 | <tr> |
||
151 | <td class="type"> |
||
152 | |||
153 | </td> |
||
154 | <td class="last"> |
||
155 | <a href="#method_setKiloBitrate">setKiloBitrate</a>(integer $kiloBitrate) |
||
156 | <p>Sets the kiloBitrate value.</p> |
||
157 | </td> |
||
158 | <td><small>from <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_setKiloBitrate"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a></small></td> |
||
159 | </tr> |
||
160 | <tr> |
||
161 | <td class="type"> |
||
162 | string |
||
163 | </td> |
||
164 | <td class="last"> |
||
165 | <a href="#method_getVideoCodec">getVideoCodec</a>() |
||
166 | <p>Returns the video codec.</p> |
||
167 | </td> |
||
168 | <td><small>from <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_getVideoCodec"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a></small></td> |
||
169 | </tr> |
||
170 | <tr> |
||
171 | <td class="type"> |
||
172 | |||
173 | </td> |
||
174 | <td class="last"> |
||
175 | <a href="#method_setVideoCodec">setVideoCodec</a>(string $videoCodec) |
||
176 | <p>Sets the video codec, Should be in the available ones, otherwise an exception is thrown.</p> |
||
177 | </td> |
||
178 | <td><small>from <a href="../../../FFMpeg/Format/Video/DefaultVideo.html#method_setVideoCodec"><abbr title="FFMpeg\Format\Video\DefaultVideo">DefaultVideo</abbr></a></small></td> |
||
179 | </tr> |
||
180 | <tr> |
||
181 | <td class="type"> |
||
182 | int |
||
183 | </td> |
||
184 | <td class="last"> |
||
185 | <a href="#method_getModulus">getModulus</a>() |
||
186 | <p> |
||
187 | </p> |
||
188 | </td> |
||
189 | <td></td> |
||
190 | </tr> |
||
191 | <tr> |
||
192 | <td class="type"> |
||
193 | |||
194 | </td> |
||
195 | <td class="last"> |
||
196 | <a href="#method___construct">__construct</a>($audioCodec = 'libfaac', $videoCodec = 'libx264') |
||
197 | <p> |
||
198 | </p> |
||
199 | </td> |
||
200 | <td></td> |
||
201 | </tr> |
||
202 | <tr> |
||
203 | <td class="type"> |
||
204 | Boolean |
||
205 | </td> |
||
206 | <td class="last"> |
||
207 | <a href="#method_supportBFrames">supportBFrames</a>() |
||
208 | <p>Returns true if the current format supports B-Frames.</p> |
||
209 | </td> |
||
210 | <td></td> |
||
211 | </tr> |
||
212 | <tr> |
||
213 | <td class="type"> |
||
214 | <a href="../../../FFMpeg/Format/Video/X264.html"><abbr title="FFMpeg\Format\Video\X264">X264</abbr></a> |
||
215 | </td> |
||
216 | <td class="last"> |
||
217 | <a href="#method_setBFramesSupport">setBFramesSupport</a>(<abbr title="FFMpeg\Format\Video\$support">$support</abbr> $support) |
||
218 | <p> |
||
219 | </p> |
||
220 | </td> |
||
221 | <td></td> |
||
222 | </tr> |
||
223 | <tr> |
||
224 | <td class="type"> |
||
225 | array |
||
226 | </td> |
||
227 | <td class="last"> |
||
228 | <a href="#method_getAvailableAudioCodecs">getAvailableAudioCodecs</a>() |
||
229 | <p>Returns the list of available audio codecs for this format.</p> |
||
230 | </td> |
||
231 | <td></td> |
||
232 | </tr> |
||
233 | <tr> |
||
234 | <td class="type"> |
||
235 | array |
||
236 | </td> |
||
237 | <td class="last"> |
||
238 | <a href="#method_getAvailableVideoCodecs">getAvailableVideoCodecs</a>() |
||
239 | <p>Returns the list of available video codecs for this format.</p> |
||
240 | </td> |
||
241 | <td></td> |
||
242 | </tr> |
||
243 | </table> |
||
244 | |||
245 | |||
246 | <h2>Details</h2> |
||
247 | |||
248 | <h3 id="method_getExtraParams"> |
||
249 | <div class="location">in <a href="../../../FFMpeg/Format/Audio/DefaultAudio.html#method_getExtraParams"><abbr title="FFMpeg\Format\Audio\DefaultAudio">DefaultAudio</abbr></a> at line 36</div> |
||
250 | <code> public <abbr title="FFMpeg\Format\array()">array()</abbr> |
||
251 | <strong>getExtraParams</strong>()</code> |
||
252 | </h3> |
||
253 | <div class="details"> |
||
254 | <p>Returns an array of extra parameters to add to ffmpeg commandline.</p> |
||
255 | <p> |
||
256 | </p> |
||
257 | <div class="tags"> |
||
258 | |||
259 | <h4>Return Value</h4> |
||
260 | |||
261 | <table> |
||
262 | <tr> |
||
263 | <td><abbr title="FFMpeg\Format\array()">array()</abbr></td> |
||
264 | <td> |
||
265 | </td> |
||
266 | </tr> |
||
267 | </table> |
||
268 | |||
269 | |||
270 | |||
271 | </div> |
||
272 | </div> |
||
273 | |||
274 | <h3 id="method_getAudioCodec"> |
||
275 | <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> |
||
276 | <code> public string |
||
277 | <strong>getAudioCodec</strong>()</code> |
||
278 | </h3> |
||
279 | <div class="details"> |
||
280 | <p>Returns the audio codec.</p> |
||
281 | <p> |
||
282 | </p> |
||
283 | <div class="tags"> |
||
284 | |||
285 | <h4>Return Value</h4> |
||
286 | |||
287 | <table> |
||
288 | <tr> |
||
289 | <td>string</td> |
||
290 | <td> |
||
291 | </td> |
||
292 | </tr> |
||
293 | </table> |
||
294 | |||
295 | |||
296 | |||
297 | </div> |
||
298 | </div> |
||
299 | |||
300 | <h3 id="method_setAudioCodec"> |
||
301 | <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> |
||
302 | <code> public |
||
303 | <strong>setAudioCodec</strong>(string $audioCodec)</code> |
||
304 | </h3> |
||
305 | <div class="details"> |
||
306 | <p>Sets the audio codec, Should be in the available ones, otherwise an exception is thrown.</p> |
||
307 | <p> |
||
308 | </p> |
||
309 | <div class="tags"> |
||
310 | <h4>Parameters</h4> |
||
311 | |||
312 | <table> |
||
313 | <tr> |
||
314 | <td>string</td> |
||
315 | <td>$audioCodec</td> |
||
316 | <td> |
||
317 | </td> |
||
318 | </tr> |
||
319 | </table> |
||
320 | |||
321 | |||
322 | |||
323 | <h4>Exceptions</h4> |
||
324 | |||
325 | <table> |
||
326 | <tr> |
||
327 | <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> |
||
328 | <td> |
||
329 | </td> |
||
330 | </tr> |
||
331 | </table> |
||
332 | |||
333 | |||
334 | </div> |
||
335 | </div> |
||
336 | |||
337 | <h3 id="method_getAudioKiloBitrate"> |
||
338 | <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> |
||
339 | <code> public integer |
||
340 | <strong>getAudioKiloBitrate</strong>()</code> |
||
341 | </h3> |
||
342 | <div class="details"> |
||
343 | <p>Gets the audio kiloBitrate value.</p> |
||
344 | <p> |
||
345 | </p> |
||
346 | <div class="tags"> |
||
347 | |||
348 | <h4>Return Value</h4> |
||
349 | |||
350 | <table> |
||
351 | <tr> |
||
352 | <td>integer</td> |
||
353 | <td> |
||
354 | </td> |
||
355 | </tr> |
||
356 | </table> |
||
357 | |||
358 | |||
359 | |||
360 | </div> |
||
361 | </div> |
||
362 | |||
363 | <h3 id="method_setAudioKiloBitrate"> |
||
364 | <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> |
||
365 | <code> public |
||
366 | <strong>setAudioKiloBitrate</strong>(integer $kiloBitrate)</code> |
||
367 | </h3> |
||
368 | <div class="details"> |
||
369 | <p>Sets the kiloBitrate value.</p> |
||
370 | <p> |
||
371 | </p> |
||
372 | <div class="tags"> |
||
373 | <h4>Parameters</h4> |
||
374 | |||
375 | <table> |
||
376 | <tr> |
||
377 | <td>integer</td> |
||
378 | <td>$kiloBitrate</td> |
||
379 | <td> |
||
380 | </td> |
||
381 | </tr> |
||
382 | </table> |
||
383 | |||
384 | |||
385 | |||
386 | <h4>Exceptions</h4> |
||
387 | |||
388 | <table> |
||
389 | <tr> |
||
390 | <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> |
||
391 | <td> |
||
392 | </td> |
||
393 | </tr> |
||
394 | </table> |
||
395 | |||
396 | |||
397 | </div> |
||
398 | </div> |
||
399 | |||
400 | <h3 id="method_getAudioChannels"> |
||
401 | <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> |
||
402 | <code> public integer |
||
403 | <strong>getAudioChannels</strong>()</code> |
||
404 | </h3> |
||
405 | <div class="details"> |
||
406 | <p>Gets the audio channels value.</p> |
||
407 | <p> |
||
408 | </p> |
||
409 | <div class="tags"> |
||
410 | |||
411 | <h4>Return Value</h4> |
||
412 | |||
413 | <table> |
||
414 | <tr> |
||
415 | <td>integer</td> |
||
416 | <td> |
||
417 | </td> |
||
418 | </tr> |
||
419 | </table> |
||
420 | |||
421 | |||
422 | |||
423 | </div> |
||
424 | </div> |
||
425 | |||
426 | <h3 id="method_setAudioChannels"> |
||
427 | <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> |
||
428 | <code> public |
||
429 | <strong>setAudioChannels</strong>(integer $channels)</code> |
||
430 | </h3> |
||
431 | <div class="details"> |
||
432 | <p>Sets the channels value.</p> |
||
433 | <p> |
||
434 | </p> |
||
435 | <div class="tags"> |
||
436 | <h4>Parameters</h4> |
||
437 | |||
438 | <table> |
||
439 | <tr> |
||
440 | <td>integer</td> |
||
441 | <td>$channels</td> |
||
442 | <td> |
||
443 | </td> |
||
444 | </tr> |
||
445 | </table> |
||
446 | |||
447 | |||
448 | |||
449 | <h4>Exceptions</h4> |
||
450 | |||
451 | <table> |
||
452 | <tr> |
||
453 | <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> |
||
454 | <td> |
||
455 | </td> |
||
456 | </tr> |
||
457 | </table> |
||
458 | |||
459 | |||
460 | </div> |
||
461 | </div> |
||
462 | |||
463 | <h3 id="method_createProgressListener"> |
||
464 | <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> |
||
465 | <code> public array |
||
466 | <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> |
||
467 | </h3> |
||
468 | <div class="details"> |
||
469 | <p>Creates the progress listener.</p> |
||
470 | <p> |
||
471 | </p> |
||
472 | <div class="tags"> |
||
473 | <h4>Parameters</h4> |
||
474 | |||
475 | <table> |
||
476 | <tr> |
||
477 | <td><a href="../../../FFMpeg/Media/MediaTypeInterface.html"><abbr title="FFMpeg\Media\MediaTypeInterface">MediaTypeInterface</abbr></a></td> |
||
478 | <td>$media</td> |
||
479 | <td> |
||
480 | </td> |
||
481 | </tr> |
||
482 | <tr> |
||
483 | <td><a href="../../../FFMpeg/FFProbe.html"><abbr title="FFMpeg\FFProbe">FFProbe</abbr></a></td> |
||
484 | <td>$ffprobe</td> |
||
485 | <td> |
||
486 | </td> |
||
487 | </tr> |
||
488 | <tr> |
||
489 | <td>Integer</td> |
||
490 | <td>$pass</td> |
||
491 | <td>The current pas snumber</td> |
||
492 | </tr> |
||
493 | <tr> |
||
494 | <td>Integer</td> |
||
495 | <td>$total</td> |
||
496 | <td>The total pass number</td> |
||
497 | </tr> |
||
498 | </table> |
||
499 | |||
500 | |||
501 | <h4>Return Value</h4> |
||
502 | |||
503 | <table> |
||
504 | <tr> |
||
505 | <td>array</td> |
||
506 | <td>An array of listeners</td> |
||
507 | </tr> |
||
508 | </table> |
||
509 | |||
510 | |||
511 | |||
512 | </div> |
||
513 | </div> |
||
514 | |||
515 | <h3 id="method_setPasses"> |
||
516 | <div class="location">in <a href="../../../FFMpeg/Format/Video/X264.html#method_setPasses"><abbr title="FFMpeg\Format\Video\X264">X264</abbr></a> at line 68</div> |
||
517 | <code> public integer |
||
518 | <strong>setPasses</strong>(integer $passes)</code> |
||
519 | </h3> |
||
520 | <div class="details"> |
||
521 | <p>Sets the number of passes.</p> |
||
522 | <p> |
||
523 | </p> |
||
524 | <div class="tags"> |
||
525 | |||
526 | <h4>Parameters</h4> |
||
527 | |||
528 | <table> |
||
529 | <tr> |
||
530 | <td>integer</td> |
||
531 | <td>$passes</td> |
||
532 | </tr> |
||
533 | </table> |
||
534 | |||
535 | |||
536 | |||
537 | </div> |
||
538 | </div> |
||
539 | |||
540 | <h3 id="method_getPasses"> |
||
541 | <div class="location">in <a href="../../../FFMpeg/Format/Video/X264.html#method_getPasses"><abbr title="FFMpeg\Format\Video\X264">X264</abbr></a> at line 79</div> |
||
542 | <code> public integer |
||
543 | <strong>getPasses</strong>()</code> |
||
544 | </h3> |
||
545 | <div class="details"> |
||
546 | <p>Returns the number of passes.</p> |
||
547 | <p> |
||
548 | </p> |
||
549 | <div class="tags"> |
||
550 | |||
551 | <h4>Return Value</h4> |
||
552 | |||
553 | <table> |
||
554 | <tr> |
||
555 | <td>integer</td> |
||
556 | <td> |
||
557 | </td> |
||
558 | </tr> |
||
559 | </table> |
||
560 | |||
561 | |||
562 | |||
563 | </div> |
||
564 | </div> |
||
565 | |||
566 | <h3 id="method_getKiloBitrate"> |
||
567 | <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> |
||
568 | <code> public integer |
||
569 | <strong>getKiloBitrate</strong>()</code> |
||
570 | </h3> |
||
571 | <div class="details"> |
||
572 | <p>Gets the kiloBitrate value.</p> |
||
573 | <p> |
||
574 | </p> |
||
575 | <div class="tags"> |
||
576 | |||
577 | <h4>Return Value</h4> |
||
578 | |||
579 | <table> |
||
580 | <tr> |
||
581 | <td>integer</td> |
||
582 | <td> |
||
583 | </td> |
||
584 | </tr> |
||
585 | </table> |
||
586 | |||
587 | |||
588 | |||
589 | </div> |
||
590 | </div> |
||
591 | |||
592 | <h3 id="method_setKiloBitrate"> |
||
593 | <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> |
||
594 | <code> public |
||
595 | <strong>setKiloBitrate</strong>(integer $kiloBitrate)</code> |
||
596 | </h3> |
||
597 | <div class="details"> |
||
598 | <p>Sets the kiloBitrate value.</p> |
||
599 | <p> |
||
600 | </p> |
||
601 | <div class="tags"> |
||
602 | <h4>Parameters</h4> |
||
603 | |||
604 | <table> |
||
605 | <tr> |
||
606 | <td>integer</td> |
||
607 | <td>$kiloBitrate</td> |
||
608 | <td> |
||
609 | </td> |
||
610 | </tr> |
||
611 | </table> |
||
612 | |||
613 | |||
614 | |||
615 | <h4>Exceptions</h4> |
||
616 | |||
617 | <table> |
||
618 | <tr> |
||
619 | <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> |
||
620 | <td> |
||
621 | </td> |
||
622 | </tr> |
||
623 | </table> |
||
624 | |||
625 | |||
626 | </div> |
||
627 | </div> |
||
628 | |||
629 | <h3 id="method_getVideoCodec"> |
||
630 | <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> |
||
631 | <code> public string |
||
632 | <strong>getVideoCodec</strong>()</code> |
||
633 | </h3> |
||
634 | <div class="details"> |
||
635 | <p>Returns the video codec.</p> |
||
636 | <p> |
||
637 | </p> |
||
638 | <div class="tags"> |
||
639 | |||
640 | <h4>Return Value</h4> |
||
641 | |||
642 | <table> |
||
643 | <tr> |
||
644 | <td>string</td> |
||
645 | <td> |
||
646 | </td> |
||
647 | </tr> |
||
648 | </table> |
||
649 | |||
650 | |||
651 | |||
652 | </div> |
||
653 | </div> |
||
654 | |||
655 | <h3 id="method_setVideoCodec"> |
||
656 | <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> |
||
657 | <code> public |
||
658 | <strong>setVideoCodec</strong>(string $videoCodec)</code> |
||
659 | </h3> |
||
660 | <div class="details"> |
||
661 | <p>Sets the video codec, Should be in the available ones, otherwise an exception is thrown.</p> |
||
662 | <p> |
||
663 | </p> |
||
664 | <div class="tags"> |
||
665 | <h4>Parameters</h4> |
||
666 | |||
667 | <table> |
||
668 | <tr> |
||
669 | <td>string</td> |
||
670 | <td>$videoCodec</td> |
||
671 | <td> |
||
672 | </td> |
||
673 | </tr> |
||
674 | </table> |
||
675 | |||
676 | |||
677 | |||
678 | <h4>Exceptions</h4> |
||
679 | |||
680 | <table> |
||
681 | <tr> |
||
682 | <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> |
||
683 | <td> |
||
684 | </td> |
||
685 | </tr> |
||
686 | </table> |
||
687 | |||
688 | |||
689 | </div> |
||
690 | </div> |
||
691 | |||
692 | <h3 id="method_getModulus"> |
||
693 | <div class="location">at line 76</div> |
||
694 | <code> public int |
||
695 | <strong>getModulus</strong>()</code> |
||
696 | </h3> |
||
697 | <div class="details"> |
||
698 | <p> |
||
699 | </p> |
||
700 | <p> |
||
701 | </p> |
||
702 | <div class="tags"> |
||
703 | |||
704 | <h4>Return Value</h4> |
||
705 | |||
706 | <table> |
||
707 | <tr> |
||
708 | <td>int</td> |
||
709 | <td> |
||
710 | </td> |
||
711 | </tr> |
||
712 | </table> |
||
713 | |||
714 | |||
715 | |||
716 | </div> |
||
717 | </div> |
||
718 | |||
719 | <h3 id="method___construct"> |
||
720 | <div class="location">at line 22</div> |
||
721 | <code> public |
||
722 | <strong>__construct</strong>($audioCodec = 'libfaac', $videoCodec = 'libx264')</code> |
||
723 | </h3> |
||
724 | <div class="details"> |
||
725 | <p> |
||
726 | </p> |
||
727 | <p> |
||
728 | </p> |
||
729 | <div class="tags"> |
||
730 | <h4>Parameters</h4> |
||
731 | |||
732 | <table> |
||
733 | <tr> |
||
734 | <td></td> |
||
735 | <td>$audioCodec</td> |
||
736 | <td> |
||
737 | </td> |
||
738 | </tr> |
||
739 | <tr> |
||
740 | <td></td> |
||
741 | <td>$videoCodec</td> |
||
742 | <td> |
||
743 | </td> |
||
744 | </tr> |
||
745 | </table> |
||
746 | |||
747 | |||
748 | |||
749 | |||
750 | </div> |
||
751 | </div> |
||
752 | |||
753 | <h3 id="method_supportBFrames"> |
||
754 | <div class="location">at line 32</div> |
||
755 | <code> public Boolean |
||
756 | <strong>supportBFrames</strong>()</code> |
||
757 | </h3> |
||
758 | <div class="details"> |
||
759 | <p>Returns true if the current format supports B-Frames.</p> |
||
760 | <p> |
||
761 | </p> |
||
762 | <div class="tags"> |
||
763 | |||
764 | <h4>Return Value</h4> |
||
765 | |||
766 | <table> |
||
767 | <tr> |
||
768 | <td>Boolean</td> |
||
769 | <td> |
||
770 | </td> |
||
771 | </tr> |
||
772 | </table> |
||
773 | |||
774 | |||
775 | |||
776 | </div> |
||
777 | </div> |
||
778 | |||
779 | <h3 id="method_setBFramesSupport"> |
||
780 | <div class="location">at line 42</div> |
||
781 | <code> public <a href="../../../FFMpeg/Format/Video/X264.html"><abbr title="FFMpeg\Format\Video\X264">X264</abbr></a> |
||
782 | <strong>setBFramesSupport</strong>(<abbr title="FFMpeg\Format\Video\$support">$support</abbr> $support)</code> |
||
783 | </h3> |
||
784 | <div class="details"> |
||
785 | <p> |
||
786 | </p> |
||
787 | <p> |
||
788 | </p> |
||
789 | <div class="tags"> |
||
790 | <h4>Parameters</h4> |
||
791 | |||
792 | <table> |
||
793 | <tr> |
||
794 | <td><abbr title="FFMpeg\Format\Video\$support">$support</abbr></td> |
||
795 | <td>$support</td> |
||
796 | <td> |
||
797 | </td> |
||
798 | </tr> |
||
799 | </table> |
||
800 | |||
801 | |||
802 | <h4>Return Value</h4> |
||
803 | |||
804 | <table> |
||
805 | <tr> |
||
806 | <td><a href="../../../FFMpeg/Format/Video/X264.html"><abbr title="FFMpeg\Format\Video\X264">X264</abbr></a></td> |
||
807 | <td> |
||
808 | </td> |
||
809 | </tr> |
||
810 | </table> |
||
811 | |||
812 | |||
813 | |||
814 | </div> |
||
815 | </div> |
||
816 | |||
817 | <h3 id="method_getAvailableAudioCodecs"> |
||
818 | <div class="location">at line 52</div> |
||
819 | <code> public array |
||
820 | <strong>getAvailableAudioCodecs</strong>()</code> |
||
821 | </h3> |
||
822 | <div class="details"> |
||
823 | <p>Returns the list of available audio codecs for this format.</p> |
||
824 | <p> |
||
825 | </p> |
||
826 | <div class="tags"> |
||
827 | |||
828 | <h4>Return Value</h4> |
||
829 | |||
830 | <table> |
||
831 | <tr> |
||
832 | <td>array</td> |
||
833 | <td> |
||
834 | </td> |
||
835 | </tr> |
||
836 | </table> |
||
837 | |||
838 | |||
839 | |||
840 | </div> |
||
841 | </div> |
||
842 | |||
843 | <h3 id="method_getAvailableVideoCodecs"> |
||
844 | <div class="location">at line 60</div> |
||
845 | <code> public array |
||
846 | <strong>getAvailableVideoCodecs</strong>()</code> |
||
847 | </h3> |
||
848 | <div class="details"> |
||
849 | <p>Returns the list of available video codecs for this format.</p> |
||
850 | <p> |
||
851 | </p> |
||
852 | <div class="tags"> |
||
853 | |||
854 | <h4>Return Value</h4> |
||
855 | |||
856 | <table> |
||
857 | <tr> |
||
858 | <td>array</td> |
||
859 | <td> |
||
860 | </td> |
||
861 | </tr> |
||
862 | </table> |
||
863 | |||
864 | |||
865 | |||
866 | </div> |
||
867 | </div> |
||
868 | |||
869 | |||
870 | </div> |
||
871 | <div id="footer"> |
||
872 | Generated by <a href="http://sami.sensiolabs.org/" target="_top">Sami, the API Documentation Generator</a>. |
||
873 | </div> |
||
874 | </body> |
||
875 | </html> |