thomas-xin / Encodec-Stream

A lightweight wrapper around https://github.com/facebookresearch/encodec that enables dynamic streamed reading, seeking, metadata and GPU support.
MIT License
11 stars 2 forks source link

Encodec-Stream

A somewhat lightweight wrapper around Encodec that enables dynamic streamed reading, seeking, metadata, GPU support, streaming from URL, and arbitrary bitrates.

Problem

By nature, the ECDC format was originally intended to be encoded and decoded in a single step. This makes it efficient, but makes streaming incredibly difficult. This program attempts to mitigate the issues associated with the format:

Example GPU usage trend during decoding (note the linearly increasing gap between each window): GPU usage trend during decoding

Usage

Hardware Requirements