digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: AVS Script for vhs captures? (http://www.digitalfaq.com/archives/avisynth/477-avisynth-avs-script.html)

el_mero_zooter 06-20-2002 02:16 PM

Avisynth: AVS Script for vhs captures?
 
Has anyone created an avs script , with or without extra filters, with decent addborders and cropping settings to trim out the jagged lines at the bottom of the captures?
The scripts i've tried dont seem to turn out 100%. Either the aspect ratio is wrong or its offcentered, or the borders are off.


ztr

kwag 06-20-2002 02:49 PM

Re: AVS Script for vhs captures
 
Quote:

Originally Posted by el_mero_zooter
Has anyone created an avs script , with or without extra filters, with decent addborders and cropping settings to trim out the jagged lines at the bottom of the captures?
The scripts i've tried dont seem to turn out 100%. Either the aspect ratio is wrong or its offcentered, or the borders are off.


ztr

Hi zoot!
Do it in TMPEG. After you load your .avs, go into TMPEG and go to "clip frame" in advanced. Cut off 1 off 2 lines from the bottom.

kwag

el_mero_zooter 06-20-2002 04:00 PM

thanx man,,you're always so quick.
Ya always that quick on the draw? :D
j/k

- so i have been doing it right im tmpgenc. Been clipping it like that for a while and its probably easier to use that clipping in say virtual dub.
However, i still need to find an avs script because im also doing encodes, various comparisons between encoders, and there are some appz that dont except frameserving other than in or through avisynth (i.e. cce, dvd2svcd, ligos etc...).


ztr

Scav 06-24-2002 12:18 PM

What I've ended up doing, which is probably the most tedious method but the only one I know of, is to bring up the video file in VDub, apply a null transform filter so I can access the cropping function, twiddle the controls to crop the borders as I want, then take the values displayed and mentally transpose them (simple but nonintuative arithmetic) into the truly arcane syntax used by AviSynth, and create an avisynth crop statement.

el_mero_zooter 06-26-2002 12:00 PM

S,
i have no probs cropping in tmpgenc, vdub, etc.
the problem im having is figuring out the setting for the avisynth script to use in dvd2kvcd, thus automating everything else.
There is a command to use with the avs.
CropBottom(clip, number)
where clip= is the clip number/file number number= the number of lines to trim. Taking the setting from vdub or tmpgenc it comes out to, 8 or 9 lines or so. That's my understanding so far.
I've incorporated it to my dvd2svcd-generated script, as part of video encoding. But,,,,when i add this line the program stops, crashes, and/or its the encoder(s) not understanding something or other.
or maybe its because its an mp2-vhs file.

ztr.

Scav 07-02-2002 07:39 AM

I've used that function many times without problems. However, I always use an even number, and never specify the first parameter (the Clip value just defaults to the last referenced video output, as I understand it.) So, my line just looks like:
CropBottom(8)

Hmmm, that line was typed as CropBottom openparen numeral eight closeparen. I've been savaged by emoticons!

Hope that helps

el_mero_zooter 07-02-2002 10:31 AM

Sca,
yeah,, reading another post on another forum, i found the error i was doing, which corresponds to your post. I had one too many parameters
should be
CropBottom(9) or so...


thx though...

ztr


All times are GMT -5. The time now is 12:47 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.