folour / flavy Goto Github PK
View Code? Open in Web Editor NEWSimple API for convert audio/video files, get thumbnails from video, information of files
License: GNU General Public License v3.0
Simple API for convert audio/video files, get thumbnails from video, information of files
License: GNU General Public License v3.0
hi i have a error in ->to()
The output path is not writable!
why?
Just wondering if there's a way to convert image to video.
from what i see here: https://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images
ffmpeg -framerate 1/5 -i img%03d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4
I'd need the -framerate parameter to set the duration of the output video.
Thanks in advance for a response. & thanks profusely for porting this to Laravel 5.2
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.
I recently tried adding this package in Laravel 5.3 project but it won't install on above 5.2. I hope support for 5.3 is coming soon. In the meantime, can someone help me on how to install the package manually.
In my case I was unable to generate thumbnails since I was retrieving some error in this file. After checking this file in vendor/folour/flavy/config/:
<?php return [
'ffmpeg_path' => '/usr/bin/ffmpeg',
'ffprobe_path' => '/usr/bin/ffprobe',
];
So, my server hadn't these libraries by default, so I downloaded them from: http://johnvansickle.com/ffmpeg/ and saved them into /usr/bin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.