About this project
ffmpeg-dotnet-wrapper is a .NET library designed to simplify the integration of FFmpeg and FFprobe into applications, including ASP.NET Core. It replaces manual command-line string manipulation with a strongly-typed API and provides several utility services for media processing.
Key capabilities include:
- Media Processing: Support for transcoding, web optimization, thumbnail creation, and media analysis.
- Media Probing: A dedicated MediaProbeService to extract duration, bitrate, and stream information using ffprobe.
- Process Management: ProcessUtilities for safe execution of external processes with timeout management, output capture, and argument escaping to prevent command injection.
- Monitoring & Metrics: Real-time tracking of streaming pipelines (StreamingPipelineMetrics), operation success/failure rates (OperationStats), and detailed progress reporting (ProgressReport).
- Caching: An ICacheService providing in-memory caching for media metadata and operation results with LRU eviction and time-based expiration.
- File & System Utilities: Tools for path validation, filename sanitization, format compatibility checks, and human-readable file size formatting.
- Configuration: JSON serialization extensions for application startup settings, including hardware acceleration and concurrency limits.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.