联动
http://bbs.wmzhe.com/viewthread.php?tid=66689显然是个不用感叹号会死新人
=================================
另外楼主:
要深入了解megui就去读那该死的源代码去
megui\packages\video\x264\x264ConfigurationPanel.cs
496 xs.BitrateQuantizer = (int)x264BitrateQuantizer.Value;
497 xs.QuantizerCRF = x264BitrateQuantizer.Value;
582 x264BitrateQuantizer.Value = (isBitrateMode(xs.EncodingMode) || xs.QuantizerCRF == 0) ? xs.BitrateQuantizer : xs.QuantizerCRF;
244-293
if (isBitrateMode(x264EncodingMode.SelectedIndex))
{
this.x264BitrateQuantizerLabel.Text = "Bitrate";
x264TempFrameComplexityBlur.Enabled = true;
x264TempFrameComplexityBlurLabel.Enabled = true;
x264TempQuantBlur.Enabled = true;
x264TempQuantBlurLabel.Enabled = true;
x264BitrateQuantizer.Maximum = 100000;
if (x264LosslessMode.Checked)
{
this.x264BitrateQuantizerLabel.Text = "Quantizer";
x264BitrateQuantizer.Minimum = 0;
}
else
x264BitrateQuantizer.Minimum = 10;
x264BitrateQuantizer.DecimalPlaces = 0;
x264BitrateQuantizer.Increment = 10;
}
else
{
x264TempFrameComplexityBlur.Enabled = false;
x264TempFrameComplexityBlurLabel.Enabled = false;
x264TempQuantBlur.Enabled = false;
x264TempQuantBlurLabel.Enabled = false;
if (x264EncodingMode.SelectedIndex == (int)VideoCodecSettings.Mode.CQ)
{
this.x264BitrateQuantizerLabel.Text = "Quantizer";
}
if (x264EncodingMode.SelectedIndex == (int)VideoCodecSettings.Mode.quality)
{
this.x264BitrateQuantizerLabel.Text = "Quality";
}
x264BitrateQuantizer.Maximum = 64;
if (x264EncodingMode.SelectedIndex == (int)VideoCodecSettings.Mode.quality) // crf
{
x264BitrateQuantizer.Minimum = 0.1M;
x264BitrateQuantizer.DecimalPlaces = 1;
x264BitrateQuantizer.Increment = 0.1M;
}
else // qp
{
x264BitrateQuantizer.Minimum = 0;
x264BitrateQuantizer.Value = (int)x264BitrateQuantizer.Value; // makes sure it is an integer, in case we just swapped from crf
x264BitrateQuantizer.DecimalPlaces = 0;
x264BitrateQuantizer.Increment = 1;
}
}
简单说就是qp/crf模式下是量化值,码率模式下是码率