[FFmpeg-devel] [PATCH] libvorbis codec repeats timestamp at EOF

Henrik Gulbrandsen henrik
Thu Apr 17 00:54:14 CEST 2008


On Thu, Apr 17, 2008 at 12:29:22AM +0200, Henrik Gulbrandsen wrote:
> Here's the second patch. To reproduce the problem, you must configure
> FFmpeg with --enable-libvorbis --disable-encoder=vorbis, since vorbis
> will otherwise always be used even if libvorbis is explicitly specified.

On Thu, 2008-04-17 at 00:34 +0200, Diego Biurrun wrote:
> Umm, 'vorbis' should use the internal, 'libvorbis' the external encoder.

That is what you would expect, yes. Unfortunately, since they are both
using the same internal id (ID_CODEC_VORBIS), they give the same result.
The comment in libavcodec/avcodec.h suggests that this is by design:

    * Two encoders with the same ID can encode compatible streams.

However, the internal codec only supports stereo, and I needed mono...

/Henrik






More information about the ffmpeg-devel mailing list