Expand description
Decoding and probing through ffmpeg subprocesses.
pydub shells out to ffmpeg too, so going through the same binary is what keeps the samples identical rather than merely close. Symphonia would decode MP3 slightly differently and there would be no way to tell a port bug from a decoder difference.
Structs§
- Probe
- What ffprobe reports about a stream, before any decoding.
Enums§
Functions§
- available
- Is ffmpeg reachable at all? Cheap enough to call before a batch.
- decode
- Decode to interleaved 16-bit PCM at the file’s own rate and channel
count — the same shape
AudioSegment.from_fileproduces. - parse_
wav 🔒 - Pull format and samples out of a RIFF/WAVE buffer.
- probe
- Read the first audio stream’s format without decoding it.