Log in

View Full Version : Borders = Better Q value


pacohaas
1st November 2004, 22:02
I'm sure there could be a number of reasons behind this, but it's interesting enough that I thought I'd share. I accidently forgot to AddBorders() when using D2SRoBa to compress 2 episodes from "Married With Children's Most Outrageos Episodes" to 1 CD, anyhow check this out:

LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
MPEG2Source("F:\MARRIE~1\ep5\Source\DVD2AV~1.D2V")
ConvertToYUY2()
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\mpeg2dec.dll") #Contains BlendFields
Blendfields()
BicubicResize(432,436,0.0,0.6,4,0,714,480)yelded:
- Start movie OPV encoding (Q 48)
- OPV pass result: 99.8% on target, 2126 kbps

whileLoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
MPEG2Source("F:\MARRIE~1\ep5\Source\DVD2AV~1.D2V")
ConvertToYUY2()
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\mpeg2dec.dll") #Contains BlendFields
Blendfields()
BicubicResize(432,436,0.0,0.6,4,0,714,480).AddBorders(24,22,24,22)
yielded:
- Start movie OPV encoding (Q 32)
- OPV pass result: 97.6% on target, 2081 kbps

Is this due to the odd size of the first video(432x436)? or just because it's encoding video all the way to the edges rather than the 480x480 case with the 432x436 video in the middle.

Obviously, if i just resized it direcly to 480x480, I would get a higher Q value than the 480x480encode with 22/24 pixels of black around the edge, but I just thought it was interesting that the 432x436 encode ended up much higher than the 480x480 with borders. This gives me another reason(besides my TV overscan) for having borders on all my encodes.