Skip to content

Commit a47139c

Browse files
authored
Merge pull request #74 from plokko/patch-1
Binary path on env file, default to global install
2 parents 76b58a8 + aa96413 commit a47139c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ install:
1818
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
1919
- sudo add-apt-repository -y ppa:mc3man/trusty-media
2020
- sudo apt-get -qq update
21-
- sudo apt-get install -y software-properties-common ffmpeg
21+
- sudo apt-get install -y --allow-unauthenticated software-properties-common ffmpeg
2222

2323
script:
24-
- phpunit
24+
- phpunit

config/laravel-ffmpeg.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
return [
44
'default_disk' => 'local',
55

6-
'ffmpeg.binaries' => '/usr/local/bin/ffmpeg',
6+
'ffmpeg.binaries' => env('FFMPEG_BINARIES','ffmpeg'),
77
'ffmpeg.threads' => 12,
88

9-
'ffprobe.binaries' => '/usr/local/bin/ffprobe',
9+
'ffprobe.binaries' => env('FFPROBE_BINARIES','ffprobe'),
1010

1111
'timeout' => 3600,
1212
];

0 commit comments

Comments
 (0)