[libav-api] Excluding image codecs

Ulrich von Zadow coder at c-base.org
Tue Sep 25 10:47:58 CEST 2012

On Sep 24, 2012, at 10:43 PM, Luca Barbato wrote:

> On 09/24/2012 03:53 PM, Ulrich von Zadow wrote:
>> But that is obviously not very maintainable. It also fails for jpegs - these have
>> CODEC_ID_MJPEG and thus are indistinguishable from mjpeg files.
> Images so far (but might change with webp) are images because of the
> container, so you should check that the img2 demuxer is used or outright
> disable img2.
> Nothing prevents an advanced container format to sport a series of
> images and we have specific codec+container combination used in real
> life (e.g. jpeg2k and mxf)

Thanks. Works like a charm.



Any technology distinguishable from magic is insufficiently advanced.

Ulrich von Zadow | +49-172-7872715
Jabber: coder at c-base.org
Skype: uzadow

More information about the libav-api mailing list