3 ms·
> Libav on the other hand rather focuses on clean implementation and let's say better designed APIs. This is weird to hear as a consumer of these libraries. Wh
by 0x09 11y ago
> Libav on the other hand rather focuses on clean implementation and let's say better designed APIs.
This is weird to hear as a consumer of these libraries. When people ask why I prefer one or the other for my own use cases, I tell them that FFmpeg has the better API and the better format support (specifically vastly more pixel formats/depths in its lossless codecs). But regarding API, at least the parts that concern me, FFmpeg is a bit fuller and requires less boilerplate. libav* have a large surface area, so even minor affordances like avformat_alloc_output_context2 and avcodec_find_best_pix_fmt_of_list are helpful.
To be fair to Libav, due to being "downstream" FFmpeg has benefited greatly from their improvements, e.g. AVBuffer and the redone AVFrame management on top of it. They absolutely deserve credit for improving the API. But FFmpeg's API being effectively a superset of Libav, as a plain old user of the libraries it doesn't really make sense to target the latter.
That's to say nothing about the politics or people involved in the projects, it's just a matter of practicality.