mostlylucid.consoleimage.transcription
4.6.0
dotnet add package mostlylucid.consoleimage.transcription --version 4.6.0
NuGet\Install-Package mostlylucid.consoleimage.transcription -Version 4.6.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="mostlylucid.consoleimage.transcription" Version="4.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="mostlylucid.consoleimage.transcription" Version="4.6.0" />
<PackageReference Include="mostlylucid.consoleimage.transcription" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add mostlylucid.consoleimage.transcription --version 4.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: mostlylucid.consoleimage.transcription, 4.6.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package mostlylucid.consoleimage.transcription@4.6.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=mostlylucid.consoleimage.transcription&version=4.6.0
#tool nuget:?package=mostlylucid.consoleimage.transcription&version=4.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ConsoleImage.Transcription
Whisper-based audio transcription for ConsoleImage. Auto-generates subtitles from video/audio files using OpenAI Whisper models.
Features
- Whisper.NET integration - Local speech-to-text using OpenAI Whisper models
- Auto model download - Downloads Whisper models on first use
- Multiple formats - Outputs SRT or VTT subtitle files
- Speaker diarization - Distinguishes different speakers with color coding
- Time-limited transcription - Process specific portions of audio
- Cross-platform - Windows, Linux, macOS support
Installation
# Install the transcription library
dotnet add package mostlylucid.consoleimage.transcription
# Install a Whisper runtime for your platform (choose one):
dotnet add package Whisper.net.AllRuntimes # All platforms (~400MB)
dotnet add package Whisper.net.Runtime.Cpu # CPU only (smaller)
dotnet add package Whisper.net.Runtime.Cuda # NVIDIA GPU acceleration
dotnet add package Whisper.net.Runtime.CoreML # Apple Silicon acceleration
Usage
using ConsoleImage.Transcription;
// Create transcriber
var transcriber = new WhisperTranscriber();
// Transcribe audio file
var track = await transcriber.TranscribeAsync(
"video.mp4",
modelSize: "base", // tiny, base, small, medium, large
language: "en",
ct: cancellationToken);
// Access subtitles
foreach (var entry in track.Entries)
{
Console.WriteLine($"[{entry.StartTime} --> {entry.EndTime}] {entry.Text}");
}
CLI Usage
When used with the consoleimage CLI:
# Auto-transcribe video with Whisper
consoleimage movie.mp4 --subs whisper
# Specify model size
consoleimage movie.mp4 --subs whisper --whisper-model small
# Transcribe specific time range
consoleimage movie.mp4 --subs whisper -ss 60 -t 30
# YouTube with auto-transcription
consoleimage "https://youtu.be/VIDEO_ID" --subs whisper
Model Sizes
| Model | VRAM | Speed | Accuracy |
|---|---|---|---|
| tiny | ~1GB | Fast | Basic |
| base | ~1GB | Fast | Good |
| small | ~2GB | Medium | Better |
| medium | ~5GB | Slow | Great |
| large | ~10GB | Slowest | Best |
Models are downloaded automatically on first use to ~/.cache/whisper/.
Requirements
- .NET 10.0+
- Whisper.NET native binaries (included via Whisper.net.AllRuntimes)
- NAudio for audio processing
License
Unlicense - Public Domain
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- mostlylucid.consoleimage (>= 4.6.0)
- NAudio (>= 2.2.1)
- Whisper.net (>= 1.9.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.6.0 | 102 | 2/18/2026 |
| 4.5.1 | 105 | 2/1/2026 |
| 4.5.0 | 106 | 2/1/2026 |
| 4.5.0-rc0 | 101 | 2/1/2026 |
| 4.5.0-alpha5 | 85 | 2/1/2026 |
| 4.5.0-alpha2 | 102 | 2/1/2026 |
| 4.5.0-alpha1 | 94 | 2/1/2026 |
| 4.5.0-alpha0 | 94 | 2/1/2026 |
| 4.1.2 | 108 | 1/26/2026 |
| 4.1.2-rc4 | 96 | 1/26/2026 |
| 4.1.2-rc3 | 99 | 1/26/2026 |
| 4.1.2-rc2 | 91 | 1/26/2026 |
| 4.1.2-rc1 | 94 | 1/26/2026 |
| 4.1.2-rc0 | 93 | 1/26/2026 |
| 4.1.1-alpha2 | 94 | 1/26/2026 |
| 4.1.1-alpha1 | 97 | 1/26/2026 |
| 4.1.1-alpha0 | 98 | 1/26/2026 |
| 4.1.0-alpha3 | 95 | 1/26/2026 |
| 4.1.0-alpha2 | 97 | 1/25/2026 |
| 4.1.0-alpha1 | 98 | 1/25/2026 |
Loading failed