[FFmpeg-devel] [PATCH] libtheora hard-coded at quality 0

Henrik Gulbrandsen henrik
Fri Apr 18 00:08:52 CEST 2008


Henrik Gulbrandsen wrote:
> For FFmpeg configured with --enable-libtheora, the quality parameter in
> libavcodec/libtheoraenc.c has been given as the (fixed) value 0 for the
> quality range 0-63. As can be expected, this has a certain detrimental
> effect for Ogg Theora movies encoded with FFmpeg. It may be particularly
> obvious for a static image, as in these movies encoded before and after
> the patch, which simply modifies the quality to a more reasonable 48:

On Thu, 2008-04-17 at 00:54 +0100, Ramiro Polla wrote:
> Isn't it best to also allow the user to specify the quality he wants?
> With something like:
> ffmpeg -i input -vq quality output

That would be a reasonable feature, yes. However, I expect around 98.8%
of all users would simply use the default quality setting, and we need
to give them a reasonable default first. Let's put this on the wish list
until someone is motivated enough to implement it! It's not impossible
that that person would be me, since there are indications that I would
be better off with the maximum quality, but right now I have about half
a dozen other issues to worry about :-(

/Henrik






More information about the ffmpeg-devel mailing list