Specify temporary directory + fix for default ffmpeg-passes* temporary directory (#855)

This commit is contained in:
Pascal Baljet 2022-02-22 16:54:06 +01:00 committed by GitHub
commit bda300b69a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 119 additions and 35 deletions

View file

@ -79,6 +79,14 @@ $ffmpeg = FFMpeg\FFMpeg::create(array(
), $logger);
```
You may pass a `temporary_directory` key to specify a path for temporary files.
```php
$ffmpeg = FFMpeg\FFMpeg::create(array(
'temporary_directory' => '/var/ffmpeg-tmp'
), $logger);
```
### Manipulate media
`FFMpeg\FFMpeg` creates media based on URIs. URIs could be either a pointer to a