prOnorama
29th December 2009, 07:47
I have a DVD with an annoying purple line at the left side, I can get it out by cropping it 2 pixels, the AVS script would look like this:
Crop(2, 72, -0, -72) (it's a 2:35:1 progressive PAL source)
Now when cropping it might be better (or necessary) to crop 2 pixels from the right as well, Crop( 2, 72, -2, -72)
I think for DVD one needs to repect the original resolution ( by adding borders) so the AVS script would look like this:
Crop(2, 72, -2, -72)
AddBorders(2, 0, -2, 0)
Im not really familiar with DVD Rebuilder but I read it uses AviSynth so I'm wondering if I can insert this manually somewhere before encoding.
jdobbs
29th December 2009, 15:27
I have a DVD with an annoying purple line at the left side, I can get it out by cropping it 2 pixels, the AVS script would look like this:
Crop(2, 72, -0, -72) (it's a 2:35:1 progressive PAL source)
Now when cropping it might be better (or necessary) to crop 2 pixels from the right as well, Crop( 2, 72, -2, -72)
I think for DVD one needs to repect the original resolution ( by adding borders) so the AVS script would look like this:
Crop(2, 72, -2, -72)
AddBorders(2, 0, -2, 0)
Im not really familiar with DVD Rebuilder but I read it uses AviSynth so I'm wondering if I can insert this manually somewhere before encoding.DVD Rebuilder includes a filter editor. You would add those lines as filters and they would be inserted into the AVS file. Also reference this note from the REBUILDER.TXT file:
- Added a new feature for prefix recognition to the filter
processor. These are meant to help descriminate on the
usage of filters. Now you can add "E:", "F:", "I:", or
"P:" as a prefix to a line added in the filter editor.
The prefixes represent "Extras", "Feature", "Interlaced",
and "Progressive" respectively. When specified, the prefix
will limit that filter to usage only when the source to be
encoded matches the prefix. For example, if specifying
"E:filter1()" the filter "filter1()" would only be applied
to segments that are determined to be extras. Setting
"e:i:filter2()" limits use of "filter2()" to segments that
are extras -- and are also interlaced.
So, if you only wanted the action to occur (as you noted) on the feature only -- you would add:
F:Crop(2, 72, -2, -72)
F:AddBorders(2, 0, -2, 0)
You definitely have to reinsert the missing pixels (addborders) or you would end up with a resolution that is not DVD compatible. Maybe I'm just not awake yet, but I don't understand where the "72" and "-72" comes from? Here are the CROP uses:Crop(clip clip, int left, int top, int width, int height, bool align)
Crop(clip clip, int left, int top, int -right, int -bottom, bool align)
CropBottom(clip clip, int count, bool align)
Assuming a 720x480 NTSC source, I would think the proper use would be:
F:Crop(2,0,718,480)
F:AddBorders(2,0,0,0)
prOnorama
30th December 2009, 12:07
It's a PAL DVD so I used:
F:Crop(2,0,718,576)
F:AddBorders(2,0,0,0)
With excellent results :)
But IMO it looked a bit "asymmetric" with 2 pixels cropped from the left side, so in order to get it look "symmetric" I did it again and cropped 2 pixels from the right side as well, using:
F:Crop(2,0,-2,0)
F:AddBorders(2,0,2,0)
With excellent results as well :)
Thanks for the help, and (an early) Happy New Year to you!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.