Hello Carl Eugen Hoyos, I'am sorry, my question was a little bit unclear written. What I ment is the Sample_fmt of the audioc codec, as sample: AV_SAMPLE_FMT_S16 There are many audio codecs available and it will be very helpful to have a list of the decoders and sample-fmt to write own converters.
Regards, Ingo > Ingo Foerster <foerster@...> writes: >> because many decoders act different, is there a list >> available for the FMT that each decoder is using? > (FMT is a little unclear imo.) > If you mean the colour space and the raw audio format, > then you can read AVCodecContext->pix_fmt and AVCodecContext->>sample_fmt to get the format the > decoder produced for your input. > There is no "list" because afaict it wouldn't help you: > The output format depends on the input you provide. > (There are decoders for which you can specify a > preferred output format, but this is very unusual, > primarily used to stop libavcodec from decoding alpha > planes if they aren't needed.) > Carl Eugen > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
