Added configuration for audio channels
This commit is contained in:
		
					parent
					
						
							
								4bea49478c
							
						
					
				
			
			
				commit
				
					
						7004e53399
					
				
			
		
					 8 changed files with 130 additions and 17 deletions
				
			
		|  | @ -87,6 +87,10 @@ class Audio extends AbstractStreamableMedia | |||
|             $commands[] = '-b:a'; | ||||
|             $commands[] = $format->getAudioKiloBitrate() . 'k'; | ||||
|         } | ||||
|         if (null !== $format->getAudioChannels()) { | ||||
|             $commands[] = '-ac'; | ||||
|             $commands[] = $format->getAudioChannels(); | ||||
|         } | ||||
|         $commands[] = $outputPathfile; | ||||
| 
 | ||||
|         try { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue