libse 4.0.12

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package libse --version 4.0.12
                    
NuGet\Install-Package libse -Version 4.0.12
                    
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="libse" Version="4.0.12" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="libse" Version="4.0.12" />
                    
Directory.Packages.props
<PackageReference Include="libse" />
                    
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 libse --version 4.0.12
                    
#r "nuget: libse, 4.0.12"
                    
#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.
#addin nuget:?package=libse&version=4.0.12
                    
Install libse as a Cake Addin
#tool nuget:?package=libse&version=4.0.12
                    
Install libse as a Cake Tool

libse

How to load a subtitle file

var subtitle = Subtitle.Parse(fileName);
var numberOfSubtitleLines = subtitle.Paragraphs.Count;
var firstText = subtitle.Paragraphs.First().Text;
var firstStartMilliseconds = subtitle.Paragraphs.First().StartTime.TotalMilliseconds;

How to save a subtitle file

File.WriteAllText(@"C:\Data\new.srt", new SubRip().ToText(subtitle, "untitled"));

License

libse is licensed under the GNU LESSER GENERAL PUBLIC LICENSE Version 3, so it free to use for commercial software, as long as you don't modify the library itself. LGPL 3.0 allows linking to the library in a way that doesn't require you to open source your own code. This means that if you use libse in your project, you can keep your own code private, as long as you don't modify libse itself.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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 (3)

Showing the top 3 popular GitHub repositories that depend on libse:

Repository Stars
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
vesoapp/veso
Open source media server.
Tentacule/PgsToSrt
PGS to Srt converter
Version Downloads Last updated
4.1.0-alpha1 159 4/20/2025
4.0.12 2,241 4/15/2025
4.0.10 16,537 12/22/2024
4.0.8 26,679 9/6/2024
4.0.7 8,214 7/23/2024
4.0.5 26,487 4/13/2024
3.6.13 77,492 5/14/2023
3.6.11 12,341 3/11/2023
3.6.10 14,062 12/26/2022
3.6.5 79,119 3/20/2022
3.6.4 15,958 12/3/2021
3.6.2 9,725 9/7/2021
3.6.0 29,514 2/20/2021
3.5.8 3,080 11/16/2020

SE 4.0.12