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.67k stars 194 forks source link

Could not get filename correct on s3 export #511

Open mhaisumali opened 11 months ago

mhaisumali commented 11 months ago

I am trying to get video from s3 URL and creating a thumbnail from the video all things are working fine but I am not able to retrieve the file real name from which it is saved in s3 bucket can anyone help ? here is the code snippet: FFMpeg::fromDisk('s3') ->open($stored) ->getFrameFromSeconds(02) ->export() ->inFormat(new X264) ->save(uniqid().'thumb.png');