Commit b64c3b41 authored by ods15's avatar ods15

Original Commit: r95 | ods15 | 2006-09-30 22:11:08 +0300 (Sat, 30 Sep 2006) | 3 lines

scale user settable quality for more fine-grainablity
now sane values for -aq is 10-30

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6499 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f6c25056
......@@ -1059,7 +1059,7 @@ static int vorbis_encode_init(AVCodecContext * avccontext)
create_vorbis_context(venc, avccontext);
if (avccontext->flags & CODEC_FLAG_QSCALE) venc->quality = avccontext->global_quality / (float)FF_QP2LAMBDA;
if (avccontext->flags & CODEC_FLAG_QSCALE) venc->quality = avccontext->global_quality / (float)FF_QP2LAMBDA / 100.;
else venc->quality = 0.17;
//if(avccontext->cutoff > 0) cfreq = avccontext->cutoff / 1000.0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment