Update usage
This commit is contained in:
		
					parent
					
						
							
								20a3c21d82
							
						
					
				
			
			
				commit
				
					
						32cdeb7d48
					
				
			
		
					 1 changed files with 10 additions and 1 deletions
				
			
		
							
								
								
									
										11
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
										
									
									
									
								
							|  | @ -17,7 +17,6 @@ Browse the [API](http://readthedocs.org/docs/ffmpeg-php/en/latest/_static/API/) | ||||||
| ##Usage Example | ##Usage Example | ||||||
| 
 | 
 | ||||||
| ```php | ```php | ||||||
| <?php |  | ||||||
| $x264 = new X264(); | $x264 = new X264(); | ||||||
| $x264->setDimensions(320, 240); | $x264->setDimensions(320, 240); | ||||||
| 
 | 
 | ||||||
|  | @ -28,6 +27,16 @@ $ffmpeg->open('Video.mpeg') | ||||||
|     ->close(); |     ->close(); | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | ##Using with Silex Microframework | ||||||
|  | 
 | ||||||
|  | ```php | ||||||
|  | use FFMpeg\SilexServiceProvider; | ||||||
|  | use Silex\Application; | ||||||
|  | 
 | ||||||
|  | $app = new Application(); | ||||||
|  | $app->register(new FFMpegServiceProvider()); | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
| ##License | ##License | ||||||
| 
 | 
 | ||||||
| This project is licensed under the [MIT license](http://opensource.org/licenses/MIT). | This project is licensed under the [MIT license](http://opensource.org/licenses/MIT). | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue