[FFmpeg-devel] [PATCH] lavf: warn when a parser is needed and not found

Nicolas George nicolas.george at normalesup.org
Tue Aug 16 19:57:55 CEST 2011

Le nonidi 29 thermidor, an CCXIX, Michael Niedermayer a écrit :
> i just meant that the name should be printed when a decoder is compiled
> in.
> More than that seems overkill for a warning message to me

I agree it would be overkill for a warning, but that was not what I meant:

First, a simple API, something like
name = avcodec_get_name(buf, sizeof(buf), codec_id)
would be useful in quite a lot of places.

Second, if this avcodec_get_name could find names even for disabled codecs,
that would be a interesting bonus. For example it would replace:

  Stream #0.0: Audio: [0][0][0][0] / 0x0000, 48000 Hz, 2 channels, s16
  Decoder (codec id 86070) not found for input stream #0.0


  Stream #0.0: Audio: celt, 48000 Hz, 2 channels, s16
  Decoder (celt) not found for input stream #0.0


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110816/980873cd/attachment.asc>

More information about the ffmpeg-devel mailing list