[Libav-user] List of FMT for available decoders

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Mar 11 17:44:00 CET 2014


Ingo Foerster <foerster at ...> writes:

> What I ment is the Sample_fmt of the audioc codec, 
> as sample: AV_SAMPLE_FMT_S16

Every decoder tells you what format it outputs in 
AVCodecContext->sample_fmt.
Note that the format has changed in the past 
(without major bump) for given decoders, the API 
requires you to check the sample_fmt in your code.

Please do not top-post here, it is considered rude.

Carl Eugen



More information about the Libav-user mailing list