Quantcast Avisynth: Lines at the Edge of the Bottom and the Top? - digitalFAQ.com Forums [Archives]
  #1  
09-20-2004, 09:57 PM
Major Major is offline
Free Member
 
Join Date: Aug 2004
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
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, 56
#
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))
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
09-21-2004, 03:00 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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, 56.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.

Reply With Quote
  #3  
09-21-2004, 03:36 AM
Major Major is offline
Free Member
 
Join Date: Aug 2004
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
It works perfectly

Thank you very much
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Google loosing it's edge? kwag Computers 5 08-30-2004 09:56 AM
Avisynth: Cutting/pasting latest script with long lines? melmo Avisynth Scripting 1 07-16-2004 03:38 AM
A flashing scene with rough/blurry edge? WOWIEGURL Video Encoding and Conversion 3 05-21-2004 08:47 PM
SansGrip Filters: Gripcrop causes flashing edge dongxu Avisynth Scripting 4 02-25-2004 01:43 AM
Avisynth: Interlaced lines with NTSCFilm ? audioslave Avisynth Scripting 22 08-01-2003 02:03 AM

Thread Tools



 
All times are GMT -5. The time now is 05:39 AM  —  vBulletin © Jelsoft Enterprises Ltd