Skip to content

Releases: protonemedia/laravel-ffmpeg

7.5.2

02 Jan 17:40
Compare
Choose a tag to compare
  • Support for setting a custom path for temporary directories
  • HLS Encryption I/O improvements
  • Path normalization on Windows, which solves common problems with HLS and watermarks
  • GitHub Actions now runs on Windows in addition to Ubuntu
  • Some refactors and documentation improvements

7.5.1

24 Dec 10:55
Compare
Choose a tag to compare
  • Support for codec in HLS playlist
  • Fixed bitrate bug in HLS playlist

7.5.0

22 Dec 12:24
8df75e9
Compare
Choose a tag to compare
  • Encrypted HLS
  • Rotating keys (optional)
  • Raw process output, great for analysis!
  • An HTTP helper to protect HLS (DynamicHLSPlaylist)
  • Support for PHP 8.0, dropped support for PHP 7.2

7.4.1

26 Oct 10:02
f48b586
Compare
Choose a tag to compare
  • Better exceptions
  • dd() improvements
  • Some refactors

7.4.0

25 Oct 21:34
a6a132a
Compare
Choose a tag to compare
  • Watermark manipulations
FFMpeg::fromDisk('videos')
    ->open('video.mp4')
    ->addWatermark(function(WatermarkFactory $watermark) {
        $watermark->open('logo.png')
            ->width(100)
            ->height(100)
            ->greyscale();
    });
  • Dump and die
FFMpeg::fromDisk('videos')
    ->open('video.mp4')
    ->export()
    ->inFormat(new X264)
    ->dd('output.mkv');
  • Resize filter shortcut
FFMpeg::fromDisk('videos')
    ->open('video.mp4')
    ->resize(640, 360);
  • HLS export with multiple filters per format
use ProtoneMedia\LaravelFFMpeg\Exporters\HLSVideoFilters;

FFMpeg::open('video.mp4')
    ->exportForHLS()
    ->addFormat($lowBitrate, function (HLSVideoFilters $filters) {
        $filters->addWatermark(function ($watermark) {
            $watermark->open("logo.png")
                ->top(15)
                ->left(15)
                ->width(100)
                ->height(100);
        });

        $filters->resize(640, 360);
    })
    ->addFormat($highBitrate, function (HLSVideoFilters $filters) {
        $filters->addWatermark(function ($watermark) {
            $watermark->open("logo.png")
                ->top(30)
                ->left(30)
                ->width(200)
                ->height(200);
        });

        $filters->resize(1280, 720);
    })
    ->toDisk('local')
    ->save('adaptive.m3u8');

7.3.0

16 Oct 11:34
41f9d05
Compare
Choose a tag to compare

Built-in support for watermarks.

7.2.0

16 Sep 21:54
b6b036f
Compare
Choose a tag to compare
  • Support for opening files from the web

7.1.0

04 Sep 10:17
2451ee3
Compare
Choose a tag to compare
  • Support for Laravel 8.0

7.0.5

06 Jul 14:36
fd18b65
Compare
Choose a tag to compare

Added CopyFormat to export a file without transcoding.

7.0.4

03 Jun 07:23
1323e47
Compare
Choose a tag to compare

Improved support for loops