digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Lines at the edge of the bottom and the top? (http://www.digitalfaq.com/archives/avisynth/12232-avisynth-lines-edge.html)

Major 09-20-2004 09:57 PM

Avisynth: Lines at the edge of the bottom and the top?
 
Hi Men, I have a dvd that has a lines in the edge of the bottom and the top and i want to remove them before making a kvcd, so i crop it but when i see the image, it has deformed, and my question:
How can i remove theses lines(noise) without deforming the image???

## Main section and static filters ###
DGDecode_Mpeg2Source("C:\DVD\Tenias.d2v")
Crop (0, 4, 720, 568)
#
undot()
asharp(1, 4)
gripCrop(352, 288, overscan=2, source_anamorphic=false,dest_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))

incredible 09-21-2004 03:00 AM

The problem is when cropping an image to a state out of orig mpeg2/1 specs GripFit wont recognis its Pixelaspect Ratio (PAR) anymore and assumes that the input is a PAR1:1 like Divx!

So do bring it to these specs again by adding just black borders

DGDecode_Mpeg2Source("C:\DVD\Tenias.d2v")
Crop (0, 4, 720, 568).Addborders(0,4,0,4)

Or EVEN more comfortable just use the letterbox command as its the SAME like the line above but only ONE command.

DGDecode_Mpeg2Source("C:\DVD\Tenias.d2v")
Letterbox(4,4,0,0)

This overlays just black areas to your noisy edges by keeping the output in 720x576 which will be right handled by GripFit.

:)

Major 09-21-2004 03:36 AM

It works perfectly

Thank you very much :wink: :wink:


All times are GMT -5. The time now is 04:38 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.