[FFmpeg-devel] [PATCH] Change libvpx-vpx default to crf=32.

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Aug 29 19:17:04 EEST 2019


Am Do., 29. Aug. 2019 um 18:12 Uhr schrieb Elliott Karpilovsky
<elliottk-at-google.com at ffmpeg.org>:
>
> On Wed, Aug 28, 2019 at 3:11 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> >
> > Am Mi., 28. Aug. 2019 um 23:26 Uhr schrieb Elliott Karpilovsky
> > <elliottk-at-google.com at ffmpeg.org>:
> > >
> > > Current default is 200kbps, which produces inconsistent
> > > results (too high for low-res, too low for hi-res). Use
> > > CRF instead, which will adapt. Affects vp8/vp9. Also
> > > have VP8 use a default bitrate of 256kbps.
> >
> > Would it simplify the patch if -crf 0 would indicate lossless encoding?

> I do not believe so. I believe that there would be more code changes
> to switch the checks from ctx->lossless to ctx->crf,

Of course but that wasn't my question.
I believe it is a horrible bug that x264 uses crf 0 for lossless encoding,
while libvpx uses another option. If fixing this bug simplifies your
patch, I believe it is worth the effort.

And the pain with "lossless" is so big imo that changing it cannot hurt.

Carl Eugen


More information about the ffmpeg-devel mailing list