Audio Codec Integration
Less than 1 minute
Audio Codec Integration
Supported audio formats and codecs in Audio Ninja.
Supported Codecs
| Codec | Container | Status | Quality |
|---|---|---|---|
| PCM | WAV, RAW | β Stable | Lossless |
| Opus | Ogg, WebM | β Stable | Variable |
| AAC | MP4, M4A | π Planned | Lossy |
| FLAC | FLAC | π Planned | Lossless |
| AC-3 | MPEG-TS | π Deferred | Lossy |
Usage
Play WAV File (PCM)
audio-ninja play /path/to/audio.wavPlay Opus Stream
audio-ninja play https://example.com/stream.opusConvert Format
# FFmpeg integration (planned)
ffmpeg -i input.mp4 -c:a opus output.opus