RecursiveAI.OneSpeech.Media 1.0.0

Prefix Reserved
dotnet add package RecursiveAI.OneSpeech.Media --version 1.0.0
                    
NuGet\Install-Package RecursiveAI.OneSpeech.Media -Version 1.0.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="RecursiveAI.OneSpeech.Media" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecursiveAI.OneSpeech.Media" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="RecursiveAI.OneSpeech.Media" />
                    
Project file
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 RecursiveAI.OneSpeech.Media --version 1.0.0
                    
#r "nuget: RecursiveAI.OneSpeech.Media, 1.0.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 RecursiveAI.OneSpeech.Media@1.0.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=RecursiveAI.OneSpeech.Media&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=RecursiveAI.OneSpeech.Media&version=1.0.0
                    
Install as a Cake Tool

Speech recognition for .NET

RecursiveAI.OneSpeech.Media adds container audio input, subtitles and caption muxing to OneSpeech on .NET 10. It uses OneMedia and OneMedia.Audio 1.0.2; core remains independent of them. OneSpeech is unaffiliated with other products or companies named OneSpeech.

using OneSpeech;
using OneSpeech.Media;

MediaInput.Register(); // once at startup
Transcript transcript = Speech.Transcribe("interview.mkv");
File.WriteAllText("interview.vtt", transcript.ToVtt());
transcript.MuxCaptions("interview.mp4", "captioned.mp4");

The registered adapter opens containers that OneMedia supports and decodes their first audio track when OneMedia.Audio supports its codec. Video is not decoded. Existing core path and stream transcription, alignment, diarization in transcription, and path streaming use the adapter. MediaInput.TranscribeStream(stream) also accepts nonseekable encoded input, spooling up to 512 MiB before streaming final segments. Streams stay caller-owned.

ToSubtitles() returns OneMedia's SubtitleDocument; ToTranscript() imports cues. Exports: ToSrt(), ToVtt(), ToAss(), ToTtml(). Untimed words keep null span times. Segments without any timing retain unknown cue times, not guessed ones; the string export extensions refuse those cues until aligned. SRT cannot carry word times or speakers; WebVTT carries voices/start tags, ASS carries cue speakers/karaoke, TTML carries agents and span bounds. Use OneMedia's low-level writers for fidelity/loss reports.

MuxCaptions copies compatible tracks from MP4/MOV/3GP to a new MP4 without re-encoding, adding WebVTT captions. It never overwrites an existing file. No metadata-copy or codec-conversion promise is made. EncodeCaptionTrack exposes OneMedia text-track packets for custom MP4/Matroska muxing and its loss report.

Caption policy and examples · Source · Project

Product 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.

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
1.0.0 0 11/11/2026