| 
									
										
										
										
											2012-05-30 12:22:22 +02:00
										 |  |  | <?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; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | use FFMpeg\Format\Video as BaseVideo; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							|  |  |  |  * The resamplable video interface | 
					
						
							| 
									
										
										
										
											2012-05-30 12:26:06 +02:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2012-05-30 12:22:22 +02:00
										 |  |  |  * This interface provides frame rate and GOP size settings for video encoding | 
					
						
							| 
									
										
										
										
											2012-05-30 12:26:06 +02:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2012-05-30 12:22:22 +02:00
										 |  |  |  * @author Romain Neutron imprec@gmail.com | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2012-05-30 15:06:53 +02:00
										 |  |  | interface Resamplable extends BaseVideo | 
					
						
							| 
									
										
										
										
											2012-05-30 12:22:22 +02:00
										 |  |  | { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * Returns the frame rate | 
					
						
							|  |  |  |      * | 
					
						
							|  |  |  |      * @return integer | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     public function getFrameRate(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-06-06 11:12:17 +02:00
										 |  |  |     /** | 
					
						
							|  |  |  |      * Returns true if the current format supports B-Frames | 
					
						
							|  |  |  |      * | 
					
						
							|  |  |  |      * @see https://wikipedia.org/wiki/Video_compression_picture_types | 
					
						
							|  |  |  |      * | 
					
						
							|  |  |  |      * @return Boolean | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     public function supportBFrames(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2012-05-30 12:22:22 +02:00
										 |  |  |     /** | 
					
						
							|  |  |  |      * Returns the GOP size | 
					
						
							|  |  |  |      * | 
					
						
							| 
									
										
										
										
											2012-06-06 11:12:17 +02:00
										 |  |  |      * @see https://wikipedia.org/wiki/Group_of_pictures | 
					
						
							|  |  |  |      * | 
					
						
							| 
									
										
										
										
											2012-05-30 12:22:22 +02:00
										 |  |  |      * @return integer | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     public function getGOPSize(); | 
					
						
							|  |  |  | } |