Sharktooth MeGUI x264 profiles translated to MediaCoder

Share with other users your experience in using MediaCoder.
kblam
Amateur
Amateur
Posts: 20
Joined: Thu Aug 23, 2007 9:07 am

Post by kblam » Tue Oct 16, 2007 12:26 pm

Stanley,

When doing a comparison of x264 settings available in MediaCoder and settings available in x264/MeGUI, here is a rough list of what is NOT available in MediaCoder (in no particular order). Some are needed to make a direct comparison to Sharktooth's MeGUI settings.

scenecut
b_bias
(no)deblock
ratetol
ip_factor
pb_factor
cplx_blur
qblur
zones
partitions
(no)chroma_me
chroma_qp_offset
cqm
cqm4iy
cqm4ic
cqm4py
cqm4pc
cqm8iy
cqm8py
(no)global_header
log
(no)psnr
(no)ssim
(no)visualize

MegaWise
Amateur
Amateur
Posts: 13
Joined: Tue Oct 16, 2007 12:52 am

Post by MegaWise » Tue Oct 16, 2007 3:15 pm

Thanx for screen.

Why you have "Max B frames between I and P frames" just 3? I read on doom9 about. They said 5-8 B frames is better.


You have "Fullpixel motion estimation algorithm" - Normal, but "Exhaustive" - better and slowed.


"Eliminate DCT blocks with small coefficient" you set - true, but you lose details of picture... Not so good :wink:

kblam
Amateur
Amateur
Posts: 20
Joined: Thu Aug 23, 2007 9:07 am

Post by kblam » Wed Oct 17, 2007 6:44 am

MegaWise,

You are right, of course. When I first got into x264, I did not study which settings provided best quality. I just copied Sharktooth's settings. Since I only have Pentium4 PCs (2.0 - 3.0 GHz), my transcoding is already painfully slow, so I accepted the poorer quality settings (it takes 40 hours to transcode 1 hour of DV into H.264 using the HQ Insane as it is on a Pentium4 2GHz). Also, for DV home videos, it doesn't matter too much.

You may wish to ask Sharktooth your questions. This is the Sharktooth MeGUI configuration HQ Insane setting:
---

<?xml version="1.0" ?>
- <GenericProfileOfVideoCodecSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>HQ-Insane</Name>
- <Settings xsi:type="x264Settings">
<EncodingMode>4</EncodingMode>
<BitrateQuantizer>1000</BitrateQuantizer>
<KeyframeInterval>250</KeyframeInterval>
<NbBframes>3</NbBframes>
<MinQuantizer>10</MinQuantizer>
<MaxQuantizer>51</MaxQuantizer>
<Turbo>false</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>false</Trellis>
<CreditsQuantizer>40</CreditsQuantizer>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>1</FourCC>
<Zones />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NbThreads>0</NbThreads>
<QuantizerCRF>1000</QuantizerCRF>
<EncodeInterlaced>false</EncodeInterlaced>
<NoDCTDecimate>true</NoDCTDecimate>
<PSNRCalculation>false</PSNRCalculation>
<noFastPSkip>true</noFastPSkip>
<NoiseReduction>0</NoiseReduction>
<MixedRefs>true</MixedRefs>
<X264Trellis>2</X264Trellis>
<NbRefFrames>16</NbRefFrames>
<AlphaDeblock>-2</AlphaDeblock>
<BetaDeblock>-1</BetaDeblock>
<SubPelRefinement>6</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>3</BframePredictionMode>
<VBVBufferSize>-1</VBVBufferSize>
<VBVMaxBitrate>25000</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>false</P4x4mv>
<AdaptiveDCT>true</AdaptiveDCT>
<SSIMCalculation>false</SSIMCalculation>
<Lossless>false</Lossless>
<QuantizerMatrix />
<QuantizerMatrixType>0</QuantizerMatrixType>
<DeadZoneInter>21</DeadZoneInter>
<DeadZoneIntra>11</DeadZoneIntra>
</Settings>
</GenericProfileOfVideoCodecSettings>

MegaWise
Amateur
Amateur
Posts: 13
Joined: Tue Oct 16, 2007 12:52 am

Post by MegaWise » Thu Oct 18, 2007 7:17 am

kblam

uhu, not so fun waiting 40 hours :x
I have AMD 1.6 GHz duo core. It`s little better.
Before I had AMD 2.1 GHz, but one core... It`s was crazy...

kblam
Amateur
Amateur
Posts: 20
Joined: Thu Aug 23, 2007 9:07 am

Post by kblam » Wed Oct 24, 2007 10:21 am

Megawise,

I haven't upgraded any of my PCs to anything newer than single-core Pentium 4. And I have 10 years of DV home videos to convert!! A lot of fun!

africanmarty
Amateur
Amateur
Posts: 10
Joined: Sat May 24, 2008 8:41 pm
Location: australia

Post by africanmarty » Sat Aug 23, 2008 5:17 pm

i cant get the script to work, i copy and paste the folling into a word document and save as .XML try to load it in media coder but media coder does nothing.. what am i doing wrong. i am after the HQ insane, this is what i copied and pasted :

<?xml version="1.0" ?>
- <GenericProfileOfVideoCodecSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>HQ-Insane</Name>
- <Settings xsi:type="x264Settings">
<EncodingMode>4</EncodingMode>
<BitrateQuantizer>1000</BitrateQuantizer>
<KeyframeInterval>250</KeyframeInterval>
<NbBframes>3</NbBframes>
<MinQuantizer>10</MinQuantizer>
<MaxQuantizer>51</MaxQuantizer>
<Turbo>false</Turbo>
<V4MV>false</V4MV>
<QPel>false</QPel>
<Trellis>false</Trellis>
<CreditsQuantizer>40</CreditsQuantizer>
<Logfile>.stats</Logfile>
<CustomEncoderOptions />
<FourCC>1</FourCC>
<Zones />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NbThreads>0</NbThreads>
<QuantizerCRF>1000</QuantizerCRF>
<EncodeInterlaced>false</EncodeInterlaced>
<NoDCTDecimate>true</NoDCTDecimate>
<PSNRCalculation>false</PSNRCalculation>
<noFastPSkip>true</noFastPSkip>
<NoiseReduction>0</NoiseReduction>
<MixedRefs>true</MixedRefs>
<X264Trellis>2</X264Trellis>
<NbRefFrames>16</NbRefFrames>
<AlphaDeblock>-2</AlphaDeblock>
<BetaDeblock>-1</BetaDeblock>
<SubPelRefinement>6</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>3</BframePredictionMode>
<VBVBufferSize>-1</VBVBufferSize>
<VBVMaxBitrate>25000</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>false</P4x4mv>
<AdaptiveDCT>true</AdaptiveDCT>
<SSIMCalculation>false</SSIMCalculation>
<Lossless>false</Lossless>
<QuantizerMatrix />
<QuantizerMatrixType>0</QuantizerMatrixType>
<DeadZoneInter>21</DeadZoneInter>
<DeadZoneIntra>11</DeadZoneIntra>
</Settings>
</GenericProfileOfVideoCodecSettings>
gotta love H.264 !!

kblam
Amateur
Amateur
Posts: 20
Joined: Thu Aug 23, 2007 9:07 am

Post by kblam » Sun Aug 24, 2008 3:14 am

Copy to a text editor and save as txt. Then change the extension from txt to xml. Then you should be good to go.

africanmarty
Amateur
Amateur
Posts: 10
Joined: Sat May 24, 2008 8:41 pm
Location: australia

Post by africanmarty » Sun Aug 24, 2008 7:05 pm

ok i treid that and it didnt work.. i have no idea why, as i can load presets i have personaly made ( within the ap, not via text code ).. is there somewhere where i can download the insance HQ preset for media coder somewhere ??
gotta love H.264 !!

kblam
Amateur
Amateur
Posts: 20
Joined: Thu Aug 23, 2007 9:07 am

Post by kblam » Sun Aug 24, 2008 7:23 pm

If you email me at kblam1-at-hotmail.com then I can send you my file. There isn't a place to download it as far as I know. I did my best to translate the MeGUI settings to MediaCoder format.

africanmarty
Amateur
Amateur
Posts: 10
Joined: Sat May 24, 2008 8:41 pm
Location: australia

Post by africanmarty » Sun Aug 24, 2008 7:34 pm

email sent, thankyou :)
gotta love H.264 !!

Post Reply