PHPackages                             cviniciussdias/audio-subtitle-generator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cviniciussdias/audio-subtitle-generator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cviniciussdias/audio-subtitle-generator
=======================================

v0.1.5(11mo ago)10MITPHPPHP &gt;=8.3

Since Aug 2Pushed 11mo agoCompare

[ Source](https://github.com/CViniciusSDias/audio-subtitle-generator)[ Packagist](https://packagist.org/packages/cviniciussdias/audio-subtitle-generator)[ RSS](/packages/cviniciussdias-audio-subtitle-generator/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (2)Versions (6)Used By (0)

Audio subtitle generator
========================

[](#audio-subtitle-generator)

Subtitle generator using Whisper.PHP from an audio input.

Prerequisites
-------------

[](#prerequisites)

- PHP &gt;=8.3
- Composer
- FFI
- JIT (optional, for performance)

Usage
-----

[](#usage)

After cloning the repository and running `composer install`, to display the command's usage:

```
php generate-subtitle -h
```

If you prefer to require this package as a composer dependency, after running `composer require cviniciussdias/audio-subtitle-generator`, to display the command's usage:

```
./vendor/bin/generate-subtitle -h
```

### Options

[](#options)

```
-f, --filepath=         File path of the audio to be transcribed
-p, --prompt=      Text (or file path) of the initial prompt for context about the audio
-m, --model=                Model to be used (tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, large-v1, large-v2, large-v3, large) (default: tiny.en)
-t, --threads=  Number of threads to use (default: 16)
-l, --language=          Two letter code of the audio's language. (default: autodetect)
-o, --output=         Output path of the subtitle file (.srt extension)

```

### Example:

[](#example)

The following example will generate the subtitle file `subtitle.srt` inside the current directory based on the `audio.mp3` file in the same path:

```
php generate-subtitle \
    -f=audio.mp3 \
    --prompt="Initial prompt for context about the audio" \
    --model=small \
    -t8 \
    -l=pt \
    --output=subtitle.srt
```

Docker
------

[](#docker)

If you prefer, you can use Docker to run this tool:

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance52

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

5

Last Release

337d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6991415?v=4)[Vinicius Dias](/maintainers/CViniciusSDias)[@CViniciusSDias](https://github.com/CViniciusSDias)

---

Top Contributors

[![CViniciusSDias](https://avatars.githubusercontent.com/u/6991415?v=4)](https://github.com/CViniciusSDias "CViniciusSDias (10 commits)")

### Embed Badge

![Health badge](/badges/cviniciussdias-audio-subtitle-generator/health.svg)

```
[![Health](https://phpackages.com/badges/cviniciussdias-audio-subtitle-generator/health.svg)](https://phpackages.com/packages/cviniciussdias-audio-subtitle-generator)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k251.7M11.6k](/packages/symfony-framework-bundle)[symfony/security-bundle

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.4k](/packages/symfony-security-bundle)[symfony/web-profiler-bundle

Provides a development tool that gives detailed information about the execution of any request

2.3k160.5M1.2k](/packages/symfony-web-profiler-bundle)[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k78.3k91](/packages/pocketmine-pocketmine-mp)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
