48 lines
		
	
	
	
		
			798 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			48 lines
		
	
	
	
		
			798 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
|  | <?php | ||
|  | 
 | ||
|  | /* | ||
|  |  * This file is part of PHP-FFmpeg. | ||
|  |  * | ||
|  |  * (c) Alchemy <info@alchemy.fr> | ||
|  |  * | ||
|  |  * For the full copyright and license information, please view the LICENSE | ||
|  |  * file that was distributed with this source code. | ||
|  |  */ | ||
|  | 
 | ||
|  | namespace FFMpeg\Format\Video; | ||
|  | 
 | ||
|  | /** | ||
|  |  * The WMV video format | ||
|  |  * | ||
|  |  * @author Romain Neutron imprec@gmail.com | ||
|  |  */ | ||
|  | class WMV3 extends DefaultVideo | ||
|  | { | ||
|  |     protected $audioCodec = 'wmav3'; | ||
|  |     protected $videoCodec = 'wmv3'; | ||
|  | 
 | ||
|  |     /** | ||
|  |      * {@inheritDoc} | ||
|  |      */ | ||
|  |     public function supportBFrames() | ||
|  |     { | ||
|  |         return false; | ||
|  |     } | ||
|  | 
 | ||
|  |     /** | ||
|  |      * {@inheritDoc} | ||
|  |      */ | ||
|  |     public function getAvailableAudioCodecs() | ||
|  |     { | ||
|  |         return array('wmav3'); | ||
|  |     } | ||
|  | 
 | ||
|  |     /** | ||
|  |      * {@inheritDoc} | ||
|  |      */ | ||
|  |     public function getAvailableVideoCodecs() | ||
|  |     { | ||
|  |         return array('wmv3'); | ||
|  |     } | ||
|  | } |