Log in

View Full Version : Getting bad blocks around white text


Dot50Cal
11th March 2007, 22:11
Im hoping someone here can help me out, Im using megui with the following settings:

<?xml version="1.0"?>
<GenericProfileOfVideoCodecSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>Temp Goodness</Name>
<Settings xsi:type="x264Settings">
<EncodingMode>8</EncodingMode>
<BitrateQuantizer>3000</BitrateQuantizer>
<KeyframeInterval>250</KeyframeInterval>
<NbBframes>3</NbBframes>
<MinQuantizer>10</MinQuantizer>
<MaxQuantizer>51</MaxQuantizer>
<Turbo>true</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>false</Trellis>
<CreditsQuantizer>40</CreditsQuantizer>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>0</FourCC>
<Zones />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NbThreads>0</NbThreads>
<QuantizerCRF>3000</QuantizerCRF>
<EncodeInterlaced>false</EncodeInterlaced>
<NoDCTDecimate>false</NoDCTDecimate>
<PSNRCalculation>false</PSNRCalculation>
<noFastPSkip>true</noFastPSkip>
<NoiseReduction>0</NoiseReduction>
<MixedRefs>true</MixedRefs>
<X264Trellis>2</X264Trellis>
<NbRefFrames>5</NbRefFrames>
<AlphaDeblock>0</AlphaDeblock>
<BetaDeblock>0</BetaDeblock>
<SubPelRefinement>5</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>1</BframePredictionMode>
<VBVBufferSize>-1</VBVBufferSize>
<VBVMaxBitrate>-1</VBVMaxBitrate>
<METype>2</METype>
<MERange>16</MERange>
<MinGOPSize>25</MinGOPSize>
<Profile>2</Profile>
<Level>15</Level>
<IPFactor>1.4</IPFactor>
<PBFactor>1.3</PBFactor>
<ChromaQPOffset>0</ChromaQPOffset>
<VBVInitialBuffer>0.9</VBVInitialBuffer>
<BitrateVariance>1.0</BitrateVariance>
<QuantCompression>0.6</QuantCompression>
<TempComplexityBlur>20</TempComplexityBlur>
<TempQuanBlurCC>0.5</TempQuanBlurCC>
<SCDSensitivity>40</SCDSensitivity>
<BframeBias>0</BframeBias>
<Deblock>true</Deblock>
<Cabac>true</Cabac>
<WeightedBPrediction>true</WeightedBPrediction>
<AdaptiveBFrames>true</AdaptiveBFrames>
<BFramePyramid>true</BFramePyramid>
<BRDO>true</BRDO>
<biME>true</biME>
<ChromaME>true</ChromaME>
<P8x8mv>true</P8x8mv>
<B8x8mv>true</B8x8mv>
<I4x4mv>true</I4x4mv>
<I8x8mv>true</I8x8mv>
<P4x4mv>true</P4x4mv>
<AdaptiveDCT>true</AdaptiveDCT>
<SSIMCalculation>false</SSIMCalculation>
<Lossless>false</Lossless>
<QuantizerMatrix />
<QuantizerMatrixType>0</QuantizerMatrixType>
<DeadZoneInter>21</DeadZoneInter>
<DeadZoneIntra>11</DeadZoneIntra>
</Settings>
</GenericProfileOfVideoCodecSettings>

Im encoding a gaming session, but the hud is acting strange. Randomly I'll get blocks and distortion which sometimes translates to the surrounding area. Ive included a picture below of the issue, as well as the same frame from the source (lossless) video. If anyone has a suggestion as to what might be causing this that would be great.

Final Output:
http://img442.imageshack.us/img442/3241/image4lo7.jpg

Original Lossless:
http://img369.imageshack.us/img369/7206/image5zm4.jpg

Edit: Looking further, this is happening all over the place :| I just spent 3 hours on this encode so its incredibly anoying. Anyone know what is the cause?

check
12th March 2007, 01:08
those xml profile files are meant for computer parsing, not to be human readable. Please paste the relevant commandline from your log.

Dot50Cal
12th March 2007, 05:29
Ah, sorry.

--pass 3 --bitrate 3000 --stats ".stats" --ref 5 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --subme 6 --trellis 2 --analyse all --8x8dct --me umh --threads auto --thread-input --progress --no-psnr --no-ssim --output "C:\Documents and Settings\Dot50Cal\Desktop\5555.mp4" "C:\Documents and Settings\Dot50Cal\Desktop\5555.avs"

I attempted to turn off the deblocking filter but that yields the same reults :|

check
12th March 2007, 05:41
ok, nothing special in there. You just need more bitrate. One thing I can suggest would be to lower the deadzone settings and try that instead, but I can offer no other tweaking suggestions but those. A slight blur will also significantly improve compressibility.

bb
12th March 2007, 07:23
As far as I can see this is not DV related; thread moved.

bb

Dot50Cal
12th March 2007, 07:51
Yikes, more bitrate when its even at 3000? Im usually ok with these settings. Infact I've encoded footage from the same game before and never had issues like this. Its only after upgrading to the latest CORE exe that this happened.

This seems more like an error than simply lack of bitrate. I mean it only happens around the text/HUD really.

check
12th March 2007, 08:24
it's possible it's an error, I guess. Are you decoding with ffdshow? Coreavc doesn't decode so well, and it could be the problem.

Dot50Cal
12th March 2007, 12:56
Ah, Ive found the problem. I was using an older build of FFDShow. Installing a new one cleared up all issues :) Thanks for the help guys! It was a decoding issue afterall :)