Follow

The ffmpeg's libavcodec API is such a nuisance to code against. It's a constantly moving target. The "audio decode" was called `avcodec_decode_audio4` before it got removed and replaced with yet something else. And it's extremely boilerplate-y.

I'm sure it's all necessary for things like streaming (frames, packets, buffers, ...) but it would greatly benefit from a "simple API" - "load video file, iterate over pictures" / "load audio file, return raw samples"...

[1] github.com/FFmpeg/FFmpeg/commi

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!