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

setInitialParameters not takes effect #406

Open luissandrea opened 2 years ago

luissandrea commented 2 years ago

$format->setInitialParameters not takes effect.

I had to override $format->getInitialParameters over composer with:

"autoload": {
        "exclude-from-classmap": [
                "vendor\\php-ffmpeg\\php-ffmpeg\\src\\FFMpeg\\Media\\AdvancedMedia.php"
        ],
        "psr-4": {
                ...
                "FFMpeg\\Media\\": "app/Overrides/"
        }
}

165