protonemedia / laravel-ffmpeg

This package provides an integration with FFmpeg for Laravel. Laravel's Filesystem handles the storage of the files.
https://protone.media/en/blog/how-to-use-ffmpeg-in-your-laravel-projects
MIT License
1.62k stars 193 forks source link

Call to undefined method ProtoneMedia\LaravelFFMpeg\MediaOpener::exportTile() #493

Open adnanafzal565 opened 1 year ago

adnanafzal565 commented 1 year ago

Hello. Following are my use statements at the top of my controller:

use FFMpeg; use ProtoneMedia\LaravelFFMpeg\Filters\TileFactory;

And following is the where error occur:

FFMpeg::fromDisk("public") ->open("videos/my_video.mp4") ->exportTile(function (TileFactory $factory) { $factory->interval(1); }) ->save('tile_%05d.jpg');

The video is saved at: storage/app/public/videos/my_video.mp4

Any help is highly appreciated.