Download the PHP package invis1ble/media-intelligence without Composer
On this page you can find all versions of the php package invis1ble/media-intelligence. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download invis1ble/media-intelligence
More information about invis1ble/media-intelligence
Files in invis1ble/media-intelligence
Package media-intelligence
Short Description A library for processing and analyzing media content, providing tools for audio, video, and text analysis.
License MIT
Informations about the package media-intelligence
Media Intelligence
This repository contains PSR-compatible code for media analysis and processing.
Dependencies
In order to use this package you need to install the following utilities:
- yt-dlp is a command-line program to download videos from YouTube.com and a few more sites.
- ffmpeg required by
yt-dlp
for post-processing tasks.
Installation
To install this package, you can use Composer:
or just add it as a dependency in your composer.json
file:
After adding the above line, run the following command to install the package:
Usage
To use most of the tools you need to set OpenAI API Key
Logging setup
To set up logging, you need to set a PSR-3-compatible logger for the services that you want to log. Monolog is recommended as implementation.
Output of the above code:
Translation
You can translate the facts to many languages, just pass the language name to the FactsExtractor through application:
Known issues and limitations
- At the moment, we are forced to split long videos into shorter segments due to OpenAI API limitations, which reduces the efficiency and accuracy of content analysis. If you have any suggestions on how to solve this problem, please do not hesitate to write about it in the Issues, and I will gladly consider your idea.
Stay tuned!
License
The MIT License
All versions of media-intelligence with dependencies
psr/log Version ^3.0@dev
psr/http-message Version ^1.0@dev
psr/http-client Version ^1.0@dev
psr/http-factory Version ^1.0@dev
guzzlehttp/guzzle Version ^7.5@dev