I capture an vhs, the avi source had 720 x 480, I want convert it to dvd 720 x 480, so the source and output is 720 x 480, on captured video had an white track below, I not know why, when I view the video in tv (CRT, not widescreen), not had this track, and had on video an cut (crop) in both sides. I want add letterbox in up and in down, and I not want than cut the sides, I use Avisynth, what line I need add to script to do it.
Thanks. Marcos.
+ Reply to Thread
Results 1 to 15 of 15
-
-
Why don't you post screenshots of what you're seeing and what you're hoping for. It's difficult to understand your question, particularly what you mean by "white track" and "cut."
-
See Screen of Example
More one time, I want than show the parts of both side, I want see it on TV. And white track I not want see on TV. I want keep aspect ratio, I think than is need add black letterbox below and above of image. What is the line to add on script. -
You don't see the edges on CRT , because of overscan .
http://en.wikipedia.org/wiki/Overscan
One practice is to overlay those edges with black strips to cover them up (or crop and addborders, but you have to be careful about cropping interlaced material vertically)
http://avisynth.org/mediawiki/Crop
http://avisynth.org/mediawiki/AddBorders -
How many pixels did you want?
e.g 8 pixels off bottom, recenter by adding 4 to top, 4 to bottom
crop(0,0,0,-8)
addborders(0,4,0,4)
if you didn't want to center it
crop(0,0,0,-8)
addborders(0,0,0,8)
This means all the black pixels are on the bottom (none on top) -
Assuming you're making an NTSC DVD, not knowing your original picture size, and assuming you want to see the edges on a 4:3 tv, you may want to slightly modify poisiondeathray's excellent suggestions to something like this:
crop(0,0,0,-8)
addborders(12,16,12,16)
Lanczos4Resize(720,480) #interlace aware resizing -
You sure about that? FitCD gives this (although I'd probably bob it first instead):
Letterbox(0,8)#added first to cover the white. Adjust if necessary. Or Crop/Addborders pdr style
SeparateFields()
LanczosResize(672,224).Weave()
AddBorders(24,16,24,16)
But only if it's interlaced. If it's progressive video, given how much is getting cut off the sides I'd go with this:
Letterbox(0,8)
LanczosResize(672,448)
AddBorders(24,16,24,16)Last edited by manono; 22nd Jan 2013 at 15:34.
-
manono,
maybe my comment should have been, #resizes without turning interlacing into a nightmare
It's worked very well for me. -
Thanks all reply, my capture is an vhs of 720 x 480, and I are using AVStoDVD to do DVD.
An part of script is:
Video = Video.ConvertToYV12()
Video = Video.yadif(opt=1)
Video = Video.AddBorders(16,16,16,16)
Video = Video.Spline16Resize(720,480)
I not know well if it is interlaced or progressive, more when I apply Yadif, it help reduce some horizontal lines in moviments, before I try AddBorders(0,0,0,0), and too try remove this line, more so had more cut on 4 extremities of video, Fitcd not work for me, after I try this AddBorders(16,16,16,16), and is the best result until now. After this new words, what of this suggestions is the best to try first? To remove white track and keep sides without cuts, and keep aspect.
Thanks. -
Then you had better find out. If it's interlaced it's best to keep the interlacing. Unless you don't care about the quality.
more when I apply Yadif, it help reduce some horizontal lines in moviments
Fitcd not work for me
after I try this AddBorders(16,16,16,16), and is the best result until now.
what of this suggestions is the best to try first? To remove white track and keep sides without cuts, and keep aspect. -
About the Yadif, for me it set the video with best quality. The part of script than I post, is the the FULL part related with video source, audio no matter here, and other useless informations like diretories. Fitcd can work, more I not get an good result with it, maybe than you than is an Expert get it, I want an mode more simple to do it like the suggestions of poisondeathray and smrpix. About error in Vdub, I never speak about Errors. Now back..., I not can do the tests in this days, if I apply this suggestion:
crop(0,0,0,-8)
addborders(0,4,0,4)
If I see cut in sides, what modification type I can do, to move the sides to vision area keeping aspect?
Thanks -
-
Don't use the script I suggested. I didn't understand what you wanted. I thought you want it letterboxed only, to remove the bottom pixels, but it sounds like you want to resize the image, so the entire area is visible despite overscan ? So you want a black border all around (letterbox AND pillarboxed) ? , and you want to crop the bottom head switching noise ?
Nobody can make specific suggestions without a sample. Everyone will guess what the values are. e.g. how far should you crop off the bottom ? If you crop too far, you lose image. If you crop too little , you're left with junk
You should upload a sample. 1 thing is certain - you shouldn't deinterlace for DVD -
Today I not can upload an sample. I read than if (if) it is interlaced, in some cases, if you see it in an LCD, it can had problems. I not need deinterlace it (if it is interlaced), if is for DVD? And if it is progressive, I need do something? Now I not are crop nothing, I only add this border 16,16,16,16, more in DVD and on TV not show the white track below, and crop sides. More before (other test) I are cropping Exactly -8 below.
Thanks.
Similar Threads
-
How to avoid legal troubles with a cartoon
By Abbadon in forum Off topicReplies: 3Last Post: 31st Jan 2012, 23:13 -
How to avoid Generation Loss as much as possible?
By Undead Sega in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 12Last Post: 16th Sep 2008, 18:51 -
What is PVOP and how do I avoid it?
By Strumpah in forum EditingReplies: 4Last Post: 12th May 2008, 19:04 -
How do you avoid banding?
By zanos in forum MediaReplies: 3Last Post: 13th Mar 2008, 22:57