Skip to content

Unable to load FFProbe (Linux Ubuntu) #126

Closed
@rabichawila

Description

@rabichawila

Before i say anything, i should mention how sorry i am for reopening this Issue
And thank you for your exceptional Package.

Now, i have an issue when using FFMPEG in my laravel 5.7 app.

FFMpeg \ Exception \ ExecutableNotFoundException Unable to load FFProbe

Here is the path to my FFMPEG and FFProbe

root@CY-TOOL:~# which ffmpeg
  /usr/bin/ffmpeg
root@CY-TOOL:~# which ffprobe 
 /usr/bin/ffprobe
root@CY-TOOL:~# php -v
PHP 7.2.15-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Feb  8 2019 15:37:29) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.15-1+ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies

App\Config\laravel-ffmpeg.php

just like it is said in laravel-ffmpeg/config/laravel-ffmpeg-ubuntu.php

 <?php

return [
    'default_disk' => 'local',

    'ffmpeg' => [
        'binaries' => env('FFMPEG_BINARIES', '/usr/bin/ffmpeg'),
        'threads' => 12,
    ],

    'ffprobe' => [
        'binaries' => env('FFPROBE_BINARIES', '/usr/bin/ffprobe'),
    ],

    'timeout' => 3600,
];

?>

composer.json


    "require": {
        "php": "^7.1.3",
        "fideloper/proxy": "^4.0",
        "laravel/framework": "5.7.*",
        "laravel/tinker": "^1.0",
        "pbmedia/laravel-ffmpeg": "^3.0",
        "php-ffmpeg/extras": "^0.3.1"
    }

Please try to answer in such away that we wont have to ask you any another question anymore(concerning this), because i know it might annoy too when we keep on repeating the same questions again and again

I am not that advance in laravel so don't use deep terms.

Thanks in advance...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions