All Projects → folour → Flavy

folour / Flavy

Licence: gpl-3.0
Simple API for convert audio/video files, get thumbnails from video, information of files

Projects that are alternatives of or similar to Flavy

Ffmpegcore
A .NET FFMpeg/FFProbe wrapper for easily integrating media analysis and conversion into your C# applications
Stars: ✭ 429 (+1616%)
Mutual labels:  audio, ffmpeg
Axiom
An FFmpeg GUI for Windows
Stars: ✭ 560 (+2140%)
Mutual labels:  audio, ffmpeg
Ffmpeg Php
FFmpegPHP is a pure OO PHP port of ffmpeg-php library that was written in C. It adds an easy to use, object-oriented API for accessing and retrieving information from video and audio files. It has methods for returning frames from movie files as images that can be manipulated using PHP's image functions. This works well for automatically creating thumbnail images from movies. FFmpegPHP is also useful for reporting the duration and bitrate of audio files (mp3, wma...). FFmpegPHP can access many of the video formats supported by ffmpeg (mov, avi, mpg, wmv...)
Stars: ✭ 446 (+1684%)
Mutual labels:  audio, ffmpeg
Mpv thumbnail script
A Lua script to show preview thumbnails in mpv's OSC seekbar, sans external dependencies
Stars: ✭ 350 (+1300%)
Mutual labels:  ffmpeg, thumbnails
Ffmpeg
Mirror of https://git.ffmpeg.org/ffmpeg.git
Stars: ✭ 27,382 (+109428%)
Mutual labels:  audio, ffmpeg
Mystiq
Qt5/C++ FFmpeg Media Converter
Stars: ✭ 393 (+1472%)
Mutual labels:  audio, ffmpeg
Ffsubsync
Automagically synchronize subtitles with video.
Stars: ✭ 5,167 (+20568%)
Mutual labels:  audio, ffmpeg
Swiftffmpeg
A Swift wrapper for the FFmpeg API
Stars: ✭ 243 (+872%)
Mutual labels:  audio, ffmpeg
Ffmpeg Normalize
Audio Normalization for Python/ffmpeg
Stars: ✭ 631 (+2424%)
Mutual labels:  audio, ffmpeg
Trinity
android video record editor muxer sdk
Stars: ✭ 609 (+2336%)
Mutual labels:  audio, ffmpeg
Mpc Hc
MPC-HC's main repository. For support use our Trac: https://trac.mpc-hc.org/
Stars: ✭ 3,567 (+14168%)
Mutual labels:  audio, ffmpeg
Ffmediaelement
FFME: The Advanced WPF MediaElement (based on FFmpeg)
Stars: ✭ 733 (+2832%)
Mutual labels:  audio, ffmpeg
Androidffmpeg
android 读取摄像头和麦克风,使用rtmp推流
Stars: ✭ 298 (+1092%)
Mutual labels:  audio, ffmpeg
Awesome Video
A curated list of awesome streaming video tools, frameworks, libraries, and learning resources.
Stars: ✭ 397 (+1488%)
Mutual labels:  audio, ffmpeg
Youtube Audio Stream
youtube audio stream
Stars: ✭ 276 (+1004%)
Mutual labels:  audio, ffmpeg
Mediatoolkit
A .NET library to convert and process all your video & audio files.
Stars: ✭ 492 (+1868%)
Mutual labels:  audio, ffmpeg
Mpv
🎥 Command line video player
Stars: ✭ 17,018 (+67972%)
Mutual labels:  audio, ffmpeg
Fanplayer
A portable video player based on ffmpeg for windows and android platform.
Stars: ✭ 229 (+816%)
Mutual labels:  audio, ffmpeg
Green Recorder
A simple screen recorder for Linux desktop. Supports Wayland & Xorg
Stars: ✭ 594 (+2276%)
Mutual labels:  audio, ffmpeg
Homebridge Camera Ffmpeg
Homebridge Plugin Providing FFmpeg-based Camera Support
Stars: ✭ 726 (+2804%)
Mutual labels:  audio, ffmpeg

Flavy - a simple ffmpeg layer for laravel 5.2-5.4

Scrutinizer Code Quality downloads license

FFmpeg layer for Laravel 5.2-5.4, this is a fork of rafasamp/sonus package.

Simple API for convert audio/video files, get thumbnails from video, information of files

Installation

Install Flavy via composer

composer require folour/flavy

In config/app.php to providers array add:

Folour\Flavy\Provider\FlavyServiceProvider::class,

And to aliases array add:

'Flavy' => Folour\Flavy\FlavyFacade::class,

In terminal in project root run:

php artisan vendor:publish

Usage

Simple conversion from ogg to mp3, with change bitrate:

Flavy::from('path/to/file.ogg')
	->to('path/to/converted/file.mp3')
	->aBitrate(128)
	->aCodec('libmp3lame')
	->overwrite()
->run();

Decrease bitrate and change channels to 1 (Mono)

Flavy::from('path/to/file.mp3')
	->to('paths/to/new_file.mp3')
	->aBitrate(64)
	->channels(1)
->run();

Get file info:

Flavy::info('path/to/file.mp3'); //returns array with file info
Flavy::info('path/to/file.mp3', 'xml'); //returns xml string with file info
Flavy::info('path/to/file.mp3', 'csv'); //returns csv string with file info
Flavy::info('path/to/file.mp3', 'json', false); //returns json string with file info

Make thumbnails:

Flavy::thumbnail('path/to/video.mov', 'path/to/images/thumb_%d.jpg', 10); //Make 10 thumbnail and calculate time interval $duration/$count
Flavy::thumbnail('path/to/video.mov', 'path/to/images/thumb_%d.jpg', 10, 30); //Make 10 thumbnail with specified interval

Get ffmpeg base information:

Flavy::encoders(); //return a nested array with audio and video encoders
Flavy::decoders(); //return a nested array with audio and video decoders
Flavy::formats(); //return array with supported formats

Flavy::canEncode('encoder'); //Check encoder support
Flavy::canDecode('decoder'); //Check decoder support
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].