Skip to content

(1/1) FatalThrowableError Call to undefined method FFMpeg\FFMpeg::fromDisk() #28

Closed
@blu94

Description

@blu94

here is my code, i'm using laravel to build the application

use FFMpeg\FFMpeg;
use FFMpeg\FFProbe;

FFMpeg::fromDisk('vidpuz')
        ->open($export_as)
        ->getFrameFromSeconds(10)
        ->export()
        ->toDisk('thumnails')
        ->save($thumbnail_path);

i don't know how it means, and i tried the fromFilesystem before, also return an undefined error, and i tried different value in fromDisk like fromDisk(public_path()) or fromDisk('vidpuz') also not working

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