Using FFmpeg to convert only a range of bytes instead of the whole audio

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • FFmpeg.AutoGen

    FFmpeg auto generated unsafe bindings for C#/.NET and Core (Linux, MacOS and Mono).

  • https://github.com/Ruslan-B/FFmpeg.AutoGen is great, but quite tricky to use. Basically you'll need to create an AVFormatContext with a custom AVIOContext (pb field, see libavformat docs). This IOContext contains the read() and seek() functions, which you'll create using avio_alloc_context(). For the seek() implementation, just make a new request with Content-Range for subsequent reads. After everything is set up, you can just seek based on a time code using avformat_seek_file().

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts