ReviewOS

also looking at this

meemalabs/laravel-media-converter

[1.0] Introducing the "Simple Usage" API

#14
Merged chris wants to merge v1.0 into main
10 files +406 -200
10 days ago

This PR includes support for the following API:

MediaConvert::path('video.mkv') // the s3 path to the file inside the bucket defined in your config (filesystems.disks.s3.bucket) 
    ->optimizeForWeb() // will generate an optmized MP4 for you 
    ->withThumbnails(int $framerateNumerator, int $framerateDenominator, int $maxCaptures, $width = null, $nameModifier = null, $imageQuality = 80) // will generate thumbnails from the video for you, e.g. poster images
    ->saveTo('my-optimized-video.mp4'); // output file name
    ->createJob();

Additionally, fully covered the logic with Pest tests.

10 changed files on the files tab, with 0 review threads.

Sign in to comment on this pull request.