300 lines
		
	
	
	
		
			8.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			300 lines
		
	
	
	
		
			8.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
|  | <!DOCTYPE html> | ||
|  | <html lang="en"> | ||
|  |     <head> | ||
|  |         <meta charset="UTF-8" /> | ||
|  |         <meta name="robots" content="index, follow, all" /> | ||
|  |         <title>FFMpeg\Format\DefaultAudio | PHP FFMpeg API</title> | ||
|  |                     <link rel="stylesheet" type="text/css" href="../../stylesheet.css"> | ||
|  |                             </head> | ||
|  |         <body id="class"> | ||
|  |             <div class="header"> | ||
|  |         <ul> | ||
|  |             <li><a href="../../classes.html">Classes</a></li> | ||
|  |                             <li><a href="../../namespaces.html">Namespaces</a></li> | ||
|  |                         <li><a href="../../interfaces.html">Interfaces</a></li> | ||
|  |             <li><a href="../../doc-index.html">Index</a></li> | ||
|  |              | ||
|  |         </ul> | ||
|  | 
 | ||
|  |         <div id="title">PHP FFMpeg API</div> | ||
|  | 
 | ||
|  |             <div class="type">Class</div> | ||
|  |     <h1><a href="../../FFMpeg/Format.html">FFMpeg\Format</a>\DefaultAudio</h1> | ||
|  |     </div> | ||
|  |         <div class="content"> | ||
|  |                 <p>abstract class    <strong>DefaultAudio</strong>        implements | ||
|  |         <a href="../../FFMpeg/Format/AdvancedAudio.html"><abbr title="FFMpeg\Format\AdvancedAudio">AdvancedAudio</abbr></a>, <a href="../../FFMpeg/Format/InteractiveAudio.html"><abbr title="FFMpeg\Format\InteractiveAudio">InteractiveAudio</abbr></a></p> | ||
|  | 
 | ||
|  |             <div class="description"> | ||
|  |             <p>The abstract default Audio format</p> | ||
|  |             <p></p> | ||
|  |         </div> | ||
|  |      | ||
|  |      | ||
|  |      | ||
|  |             <h2>Methods</h2> | ||
|  | 
 | ||
|  |             <table> | ||
|  |                     <tr> | ||
|  |                 <td class="type"> | ||
|  |                     string | ||
|  |                 </td> | ||
|  |                 <td class="last"> | ||
|  |                     <a href="#method_getExtraParams">getExtraParams</a>() | ||
|  |                     <p>Returns extra parameters for the encoding</p> | ||
|  |                 </td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |                     <tr> | ||
|  |                 <td class="type"> | ||
|  |                      | ||
|  |                 </td> | ||
|  |                 <td class="last"> | ||
|  |                     <a href="#method_getAudioCodec">getAudioCodec</a>() | ||
|  |                     <p>{@inheritdoc}</p> | ||
|  |                 </td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |                     <tr> | ||
|  |                 <td class="type"> | ||
|  |                      | ||
|  |                 </td> | ||
|  |                 <td class="last"> | ||
|  |                     <a href="#method_setAudioCodec">setAudioCodec</a>(string $audioCodec) | ||
|  |                     <p>Set the audio codec, Should be in the available ones, otherwise an exception is thrown</p> | ||
|  |                 </td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |                     <tr> | ||
|  |                 <td class="type"> | ||
|  |                     integer | ||
|  |                 </td> | ||
|  |                 <td class="last"> | ||
|  |                     <a href="#method_getAudioSampleRate">getAudioSampleRate</a>() | ||
|  |                     <p>Get the audio sample rate</p> | ||
|  |                 </td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |                     <tr> | ||
|  |                 <td class="type"> | ||
|  |                      | ||
|  |                 </td> | ||
|  |                 <td class="last"> | ||
|  |                     <a href="#method_setAudioSampleRate">setAudioSampleRate</a>(integer $audioSampleRate) | ||
|  |                     <p>Set the audio sample rate</p> | ||
|  |                 </td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |                     <tr> | ||
|  |                 <td class="type"> | ||
|  |                      | ||
|  |                 </td> | ||
|  |                 <td class="last"> | ||
|  |                     <a href="#method_getKiloBitrate">getKiloBitrate</a>() | ||
|  |                     <p>{@inheritdoc}</p> | ||
|  |                 </td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |                     <tr> | ||
|  |                 <td class="type"> | ||
|  |                      | ||
|  |                 </td> | ||
|  |                 <td class="last"> | ||
|  |                     <a href="#method_setKiloBitrate">setKiloBitrate</a>(int $kiloBitrate) | ||
|  |                     <p>Set the kiloBitrate value</p> | ||
|  |                 </td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |             </table> | ||
|  | 
 | ||
|  | 
 | ||
|  |         <h2>Details</h2> | ||
|  | 
 | ||
|  |                         <h3 id="method_getExtraParams"> | ||
|  |         <div class="location">at line 32</div> | ||
|  |         <code>            public            string | ||
|  |     <strong>getExtraParams</strong>()</code> | ||
|  |     </h3> | ||
|  |     <div class="details"> | ||
|  |         <p>Returns extra parameters for the encoding</p> | ||
|  |         <p></p> | ||
|  |         <div class="tags"> | ||
|  |              | ||
|  |                             <h4>Return Value</h4> | ||
|  | 
 | ||
|  |                     <table> | ||
|  |         <tr> | ||
|  |             <td>string</td> | ||
|  |             <td></td> | ||
|  |         </tr> | ||
|  |     </table> | ||
|  | 
 | ||
|  |              | ||
|  |              | ||
|  |                     </div> | ||
|  |     </div> | ||
|  | 
 | ||
|  |                 <h3 id="method_getAudioCodec"> | ||
|  |         <div class="location">at line 40</div> | ||
|  |         <code>            public             | ||
|  |     <strong>getAudioCodec</strong>()</code> | ||
|  |     </h3> | ||
|  |     <div class="details"> | ||
|  |         <p>{@inheritdoc}</p> | ||
|  |         <p></p> | ||
|  |         <div class="tags"> | ||
|  |              | ||
|  |              | ||
|  |              | ||
|  |                     </div> | ||
|  |     </div> | ||
|  | 
 | ||
|  |                 <h3 id="method_setAudioCodec"> | ||
|  |         <div class="location">at line 52</div> | ||
|  |         <code>            public             | ||
|  |     <strong>setAudioCodec</strong>(string $audioCodec)</code> | ||
|  |     </h3> | ||
|  |     <div class="details"> | ||
|  |         <p>Set the audio codec, Should be in the available ones, otherwise an exception is thrown</p> | ||
|  |         <p></p> | ||
|  |         <div class="tags"> | ||
|  |                             <h4>Parameters</h4> | ||
|  | 
 | ||
|  |                     <table> | ||
|  |                     <tr> | ||
|  |                 <td>string</td> | ||
|  |                 <td>$audioCodec</td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |             </table> | ||
|  | 
 | ||
|  |              | ||
|  |              | ||
|  |                             <h4>Exceptions</h4> | ||
|  | 
 | ||
|  |                     <table> | ||
|  |                     <tr> | ||
|  |                 <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |             </table> | ||
|  | 
 | ||
|  |              | ||
|  |                     </div> | ||
|  |     </div> | ||
|  | 
 | ||
|  |                 <h3 id="method_getAudioSampleRate"> | ||
|  |         <div class="location">at line 69</div> | ||
|  |         <code>            public            integer | ||
|  |     <strong>getAudioSampleRate</strong>()</code> | ||
|  |     </h3> | ||
|  |     <div class="details"> | ||
|  |         <p>Get the audio sample rate</p> | ||
|  |         <p></p> | ||
|  |         <div class="tags"> | ||
|  |              | ||
|  |                             <h4>Return Value</h4> | ||
|  | 
 | ||
|  |                     <table> | ||
|  |         <tr> | ||
|  |             <td>integer</td> | ||
|  |             <td></td> | ||
|  |         </tr> | ||
|  |     </table> | ||
|  | 
 | ||
|  |              | ||
|  |              | ||
|  |                     </div> | ||
|  |     </div> | ||
|  | 
 | ||
|  |                 <h3 id="method_setAudioSampleRate"> | ||
|  |         <div class="location">at line 80</div> | ||
|  |         <code>            public             | ||
|  |     <strong>setAudioSampleRate</strong>(integer $audioSampleRate)</code> | ||
|  |     </h3> | ||
|  |     <div class="details"> | ||
|  |         <p>Set the audio sample rate</p> | ||
|  |         <p></p> | ||
|  |         <div class="tags"> | ||
|  |                             <h4>Parameters</h4> | ||
|  | 
 | ||
|  |                     <table> | ||
|  |                     <tr> | ||
|  |                 <td>integer</td> | ||
|  |                 <td>$audioSampleRate</td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |             </table> | ||
|  | 
 | ||
|  |              | ||
|  |              | ||
|  |                             <h4>Exceptions</h4> | ||
|  | 
 | ||
|  |                     <table> | ||
|  |                     <tr> | ||
|  |                 <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |             </table> | ||
|  | 
 | ||
|  |              | ||
|  |                     </div> | ||
|  |     </div> | ||
|  | 
 | ||
|  |                 <h3 id="method_getKiloBitrate"> | ||
|  |         <div class="location">at line 94</div> | ||
|  |         <code>            public             | ||
|  |     <strong>getKiloBitrate</strong>()</code> | ||
|  |     </h3> | ||
|  |     <div class="details"> | ||
|  |         <p>{@inheritdoc}</p> | ||
|  |         <p></p> | ||
|  |         <div class="tags"> | ||
|  |              | ||
|  |              | ||
|  |              | ||
|  |                     </div> | ||
|  |     </div> | ||
|  | 
 | ||
|  |                 <h3 id="method_setKiloBitrate"> | ||
|  |         <div class="location">at line 105</div> | ||
|  |         <code>            public             | ||
|  |     <strong>setKiloBitrate</strong>(int $kiloBitrate)</code> | ||
|  |     </h3> | ||
|  |     <div class="details"> | ||
|  |         <p>Set the kiloBitrate value</p> | ||
|  |         <p></p> | ||
|  |         <div class="tags"> | ||
|  |                             <h4>Parameters</h4> | ||
|  | 
 | ||
|  |                     <table> | ||
|  |                     <tr> | ||
|  |                 <td>int</td> | ||
|  |                 <td>$kiloBitrate</td> | ||
|  |                 <td>integer               $kiloBitrate</td> | ||
|  |             </tr> | ||
|  |             </table> | ||
|  | 
 | ||
|  |              | ||
|  |              | ||
|  |                             <h4>Exceptions</h4> | ||
|  | 
 | ||
|  |                     <table> | ||
|  |                     <tr> | ||
|  |                 <td><a href="http://php.net/InvalidArgumentException"><abbr title="InvalidArgumentException">InvalidArgumentException</abbr></a></td> | ||
|  |                 <td></td> | ||
|  |             </tr> | ||
|  |             </table> | ||
|  | 
 | ||
|  |              | ||
|  |                     </div> | ||
|  |     </div> | ||
|  | 
 | ||
|  |      | ||
|  |             </div> | ||
|  |             <div id="footer"> | ||
|  |         Generated by <a href="http://sami.sensiolabs.org/" target="_top">Sami, the API Documentation Generator</a>. | ||
|  |     </div> | ||
|  |     </body> | ||
|  | </html> |