folour / flavy

Simple API for convert audio/video files, get thumbnails from video, information of files
GNU General Public License v3.0
28 stars 7 forks source link

CmdException in Commands.php (line 80) #5

Open usmansharif525 opened 7 years ago

usmansharif525 commented 7 years ago

Hi, I am facing a strange error in Flavy->thumbnail method. here is my code and I think it's a problem with Flavy. Flavy::thumbnail(storage_path().'/uploads/users/gallery/'.$strippedName, storage_path().'/uploads/users/gallery/'.$basename.'.jpg', 1); //returns array with file info Please see this Screenshot. flavyerror

reinierkors commented 7 years ago

For windows it looks like you need to use backslashes instead. See the error message.

error

usmansharif525 commented 7 years ago

Thanks for you reply bro but still same issue http://prntscr.com/gkbcbk

mitulmlakhani commented 5 years ago

I think problem is flavy can't find ffmpeg.exe path, you can follow this steps.

1) make sure you have installed ffmpeg in your machine, you can download from here.

2) In your project config/flavy.php you have to specify path of ffmpeg.exe and ffprobe.exe. you can find example in below image.

image

codecooker0105 commented 3 years ago

Hi, I have same issue. I set path of ffmpeg in config/flave.php like this. image but still returns same error. please check screenshot. image how can i fix it?

codecooker0105 commented 3 years ago

I have downloaded ffmpeg binaries in here. ffmpeg 4.2.1 binaries / linux-64