-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to load FFMpeg #510
Comments
Hello! Have you resolved this one? |
@0xCyyy3000 Yeah, I resolved that. But it's been so long, I honestly don't remember how, coz I haven't worked on this project in a long time. But I can give you something. Packages: "pbmedia/laravel-ffmpeg": "^8.3",
"php-ffmpeg/php-ffmpeg": "^1.1", Usage: use ProtoneMedia\LaravelFFMpeg\Support\FFMpeg;
FFMpeg::fromDisk('s3')
->open($this->url)
->export()
->toDisk('s3')
->inFormat($this->videoFormat->getFFMpegFormat()) // new \FFMpeg\Format\Video\WebM()
->save(sprintf(
'%s%s',
$this->url,
$this->videoFormat->value
)); Try giving permissions to:
Also check if you have ffmpeg and ffprobe installed and PHP has access to them. That's all I have and all I remember, unfortunately. |
I already resolved my problem, I just ran this command to retrieve the bin path |
how did you solve |
You should add the bin path of your ffmpeg to your
Then in your |
Thank you . It was really helpful |
Returns:
FFMpeg\ Exception\ExecutableNotFoundException
PHP 8.2.12
Laravel 10.33.0
Unable to load FFMpeg
.env:
ProtoneMedia\LaravelFFMpeg\Support\ServiceProvider::class,
published'FFMpeg' => ProtoneMedia\LaravelFFMpeg\Support\FFMpeg::class
addedffmpeg version 4.2.7-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
The text was updated successfully, but these errors were encountered: