4

When I'm trying to save my thumbnail, I'm getting "Unable to save frame" error.

I'm using https://github.com/protonemedia/laravel-ffmpeg Laravel-ffmpeg package, AWS S3 server.

My code:

Route::get('/thumbnail', function() {
    $file = FFMpeg::fromDisk('s3')
    ->open('/videos/71239_1598846328_p.mp4')
    ->getFrameFromSeconds(10)
    ->export()
    ->toDisk('s3')
    ->save('/videos/thumb.png');
    return "ok";
});

Can someone tell me what I'm doing wrong?

1 Answer 1

2

Please make sure that the folder path where you want to save the thumbnail exist and have the write permission.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.