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.62k stars 193 forks source link

How to set input options for openUrl()? #509

Open rigorcadiz opened 9 months ago

rigorcadiz commented 9 months ago

Hi, I'm trying to open an array of s3 URL and would like to concatenate them but when I try to do it I get the error:

Protocol 'https' not on whitelist 'file,crypto,data'!

So what I would like to do is pass:

-protocol_whitelist file,http,https,tcp,tls,crypto

But it seems there is no way to do that. I tried using addFilter() but it doesnt work because it's not a filter.

I noticed that there is a function openWithInputOptions but it only works with direct paths. I dig in to the codes and also noticed MediaOnNetwork is usingHasInputOptions trait but there is no way to add the input option i guess?