Download the PHP package bergo/whisper2webvtt-parser without Composer
On this page you can find all versions of the php package bergo/whisper2webvtt-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package whisper2webvtt-parser
whisper2webvtt-parser
PHP library to convert whisper json output to WebVTT format.
Installation
composer require bergo/whisper2webvtt-parser
Usage
use Bergo\Whisper2Webvtt\Parser;
$parser = new Bergo\Whisper2Webvtt\Parser();
$json = '{"segments": [
{
"id": 0,
"start": 0,
"end": 5000000000,
"text": "Dies ist eine kleine Testaufnahme für den WebVTT-Paser.",
"tokens": [
50364,
10796,
1418,
3018,
22278,
9279,
9507,
32796,
2959,
1441,
9573,
53,
28178,
12,
47,
17756,
13,
50614
]
},
{
...
}
]';
$result = $parser->convert($json);
All versions of whisper2webvtt-parser with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2.0
The package bergo/whisper2webvtt-parser contains the following files
Loading the files please wait ....