[FFmpeg-devel] [PATCH 3/3] lavd/alsa_audio_enc: implementation of query_codec
Reimar.Doeffinger at gmx.de
Sat Nov 2 12:10:26 CET 2013
On Sat, Nov 02, 2013 at 12:00:02PM +0100, Nicolas George wrote:
> Le duodi 12 brumaire, an CCXXII, Reimar Döffinger a écrit :
> > I'm not sure what the point of it is.
> > It doesn't cover all possibilities (e.g. AC3, DTS etc. in SPDIF is often
> > supported), while it also contains formats that are
> > almost never supported (especially the reverse endianness
> > formats, but most of the time only AV_CODEC_ID_PCM_S16LE
> > actually works).
> They are the formats supported by the wrapper code, i.e. the ffmpeg CodecID
> values that are mapped to an ALSA format enum value.
Which still means it's completely useless to have it as a function,
it could just be a list like we have for other formats...
> Inside ALSA, it is likely that all formats are supported because the devices
> usually contain a "plug" plugin that converts from any format.
Surprisingly many setups actually don't, in particularly for old
setups from the times where the "plug" plugin was the "break my
More information about the ffmpeg-devel