laravel-ffmpeg icon indicating copy to clipboard operation
laravel-ffmpeg copied to clipboard

How to set input options for openUrl()?

Open rigorcadiz opened this issue 2 years ago • 1 comments

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 using HasInputOptions trait but there is no way to add the input option i guess?

rigorcadiz avatar Nov 06 '23 10:11 rigorcadiz

Hi @rigorcadiz did you manage to solve this issue? I am currently facing the same issue. Or is there any other workaround you did to solve this?

musabsalihin avatar Apr 15 '25 09:04 musabsalihin