Skip to content

Can't make public the exported video to S3 #32

Closed
@enzonotario

Description

@enzonotario

Hi! I'm using your library and it works fine! But now I'm trying to use it with S3.
When I upload a file to S3 I do:
\Storage::putFile('videos', $request->file('file'), 'public')

I mean, I have to declare it as public to allow my users to see the video.

If I use your library, I don't know how to declare it as public.

What I do is:

FFMpeg::fromDisk('s3')
            ->open($filename)
            ->addFilter($watermarkFilter)
            ->export()
            ->toDisk('s3')
            ->inFormat(new X264('libmp3lame'))
            ->save($savedFilename);

Can you help me, please?

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