Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit fe20914

Browse files
author
jaw-sh
committed
Added LIB_FFMPEG env() for executable path.
1 parent 9679324 commit fe20914

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Detectives/ffmpegDetective.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ private function ffprobe()
2323
{
2424
if (!isset($this->metadata))
2525
{
26-
$cmd = "ffprobe -v quiet -print_format json -show_format -show_streams {$this->file}";
26+
$cmd = env('LIB_FFMPEG', "ffmpeg") . " -v quiet -print_format json -show_format -show_streams {$this->file}";
2727

2828
exec($cmd, $output, $returnvalue);
2929

0 commit comments

Comments
 (0)