Beastie Boy
27th March 2008, 13:07
I have used x264 and MeGUI to transcode a HD-DVD vc1 for playback on the PS3.
All the latest software versions were used as updated by MeGUI. My method was to use eac3to to extract the vc1 and mux to mkv. The mkv was than load into MeGUI to create the avs script with borders cropped (maintaining mod16 dimensions), and ConverttoYV12 was automatically added by MeGUI.
I chose the PD-PS3-XBox360 profile as below:
<?xml version="1.0" ?>
<Name>PD-PS3-Xbox360</Name>
- <Settings xsi:type="x264Settings">
<EncodingMode>4</EncodingMode>
<BitrateQuantizer>1000</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>1</FourCC>
<Zones />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NbThreads>0</NbThreads>
<QuantizerCRF>1000</QuantizerCRF>
<EncodeInterlaced>false</EncodeInterlaced>
<NoDCTDecimate>false</NoDCTDecimate>
<PSNRCalculation>false</PSNRCalculation>
<noFastPSkip>false</noFastPSkip>
<NoiseReduction>0</NoiseReduction>
<MixedRefs>true</MixedRefs>
<X264Trellis>1</X264Trellis>
<NbRefFrames>3</NbRefFrames>
<AlphaDeblock>0</AlphaDeblock>
<BetaDeblock>0</BetaDeblock>
<SubPelRefinement>5</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>3</BframePredictionMode>
<VBVBufferSize>9000</VBVBufferSize>
<VBVMaxBitrate>24000</VBVMaxBitrate>
<METype>2</METype>
<MERange>12</MERange>
<MinGOPSize>25</MinGOPSize>
<Profile>2</Profile>
<Level>11</Level>
<IPFactor>1.1</IPFactor>
<PBFactor>1.1</PBFactor>
<ChromaQPOffset>0</ChromaQPOffset>
<VBVInitialBuffer>0.9</VBVInitialBuffer>
<BitrateVariance>1.0</BitrateVariance>
<QuantCompression>0.5</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>false</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>Flat (none)</QuantizerMatrix>
<QuantizerMatrixType>0</QuantizerMatrixType>
<DeadZoneInter>21</DeadZoneInter>
<DeadZoneIntra>11</DeadZoneIntra>
</Settings>
</GenericProfileOfVideoCodecSettings>
but with the following changes:
VBVMaxBitrate was upped from 24000 to 40000
B-Pyramid enabled
Constant Quality mode used with a CRF of 18
I have skipped through parts of the video to check everything was OK, and well...it isn't :(
The detailed areas of the picture look great, the problem lies in areas of uniform colour. eg, in The Matrix where Neo is being interrogated and his mouth seals up, the wall at the background is not smooth and even and appears o be constantly moving as though alive.
In Matrix Reloaded, in a scene with Neo and Trinity, Neo's skin is extremely blocky.
I chose CQ and CRF 18 as I have read that the results at this level are pretty much transparent and file size is not such an issue as I am streaming from HDD.
Are there any settings I can change/add to improve PQ whilst maintaing compatibility with the PS3? Idealy, I was hoping not to drop below 2fps encoding speed on my 2.5GHz AMD X2 (which is the speed I am getting with the above settings.
The alternative for me is to keep the video as vc1 and mux to WMV and stream to 360 instead.
Cheers, Beastie.
All the latest software versions were used as updated by MeGUI. My method was to use eac3to to extract the vc1 and mux to mkv. The mkv was than load into MeGUI to create the avs script with borders cropped (maintaining mod16 dimensions), and ConverttoYV12 was automatically added by MeGUI.
I chose the PD-PS3-XBox360 profile as below:
<?xml version="1.0" ?>
<Name>PD-PS3-Xbox360</Name>
- <Settings xsi:type="x264Settings">
<EncodingMode>4</EncodingMode>
<BitrateQuantizer>1000</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>1</FourCC>
<Zones />
<MaxNumberOfPasses>3</MaxNumberOfPasses>
<NbThreads>0</NbThreads>
<QuantizerCRF>1000</QuantizerCRF>
<EncodeInterlaced>false</EncodeInterlaced>
<NoDCTDecimate>false</NoDCTDecimate>
<PSNRCalculation>false</PSNRCalculation>
<noFastPSkip>false</noFastPSkip>
<NoiseReduction>0</NoiseReduction>
<MixedRefs>true</MixedRefs>
<X264Trellis>1</X264Trellis>
<NbRefFrames>3</NbRefFrames>
<AlphaDeblock>0</AlphaDeblock>
<BetaDeblock>0</BetaDeblock>
<SubPelRefinement>5</SubPelRefinement>
<MaxQuantDelta>4</MaxQuantDelta>
<TempQuantBlur>0</TempQuantBlur>
<BframePredictionMode>3</BframePredictionMode>
<VBVBufferSize>9000</VBVBufferSize>
<VBVMaxBitrate>24000</VBVMaxBitrate>
<METype>2</METype>
<MERange>12</MERange>
<MinGOPSize>25</MinGOPSize>
<Profile>2</Profile>
<Level>11</Level>
<IPFactor>1.1</IPFactor>
<PBFactor>1.1</PBFactor>
<ChromaQPOffset>0</ChromaQPOffset>
<VBVInitialBuffer>0.9</VBVInitialBuffer>
<BitrateVariance>1.0</BitrateVariance>
<QuantCompression>0.5</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>false</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>Flat (none)</QuantizerMatrix>
<QuantizerMatrixType>0</QuantizerMatrixType>
<DeadZoneInter>21</DeadZoneInter>
<DeadZoneIntra>11</DeadZoneIntra>
</Settings>
</GenericProfileOfVideoCodecSettings>
but with the following changes:
VBVMaxBitrate was upped from 24000 to 40000
B-Pyramid enabled
Constant Quality mode used with a CRF of 18
I have skipped through parts of the video to check everything was OK, and well...it isn't :(
The detailed areas of the picture look great, the problem lies in areas of uniform colour. eg, in The Matrix where Neo is being interrogated and his mouth seals up, the wall at the background is not smooth and even and appears o be constantly moving as though alive.
In Matrix Reloaded, in a scene with Neo and Trinity, Neo's skin is extremely blocky.
I chose CQ and CRF 18 as I have read that the results at this level are pretty much transparent and file size is not such an issue as I am streaming from HDD.
Are there any settings I can change/add to improve PQ whilst maintaing compatibility with the PS3? Idealy, I was hoping not to drop below 2fps encoding speed on my 2.5GHz AMD X2 (which is the speed I am getting with the above settings.
The alternative for me is to keep the video as vc1 and mux to WMV and stream to 360 instead.
Cheers, Beastie.