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