View Full Version : which avs script do you use with rb?
DvPs
24th January 2005, 11:08
hi
i am using the following filters:
t = GripCrop(720,576,overscan=0)
a = width(t)%8
b = height(t)%8
Crop(t,(a/2)*2,(b/2)*2,0-a+((a/2)*2),0-b+((b/2)*2))
Undot()
ConvertToYUY2()
TemporalSoften(1,6,4,15,2)
AddBorders((720-width)/2,(576-height)/2,(720-width)/2,(576-height)/2)
but sometimes i think that it cuts too much from the sides.
so it would be very nice when you would post your filters/scripts so that i can compare..
mfg DvP
jdobbs
24th January 2005, 15:56
I use the defaults. The only addition I ever make is undot() or undot().deen() on noisy sources.
TheSeeker
24th January 2005, 16:23
It shouldnt ever be necessary to crop the sides at all should it? Im the same way all I ever do is add some filters for noisey sources. Mipsmooth for anime and undot.deen for regular movies.
DvPs
24th January 2005, 16:54
you won`t notice cropping at the sides on a normal tv. (overscan). but i don`t like the lost of information....
what is better for normal movies
Undot()
ConvertToYUY2()
TemporalSoften(1,6,4,15,2)
or
undot().deen()
i am trying to crop per hand (to search the parameters for every movie again). when i open an avs file, i now see this:
#------------------
# AVS File Created by DVD Rebuilder
# VOBID:01, CELLID:01
#------------------
LoadPlugin("C:\Programme\AviSynth 2.5\plugins\DGDecode.dll")
mpeg2source("M:\RIPPEN\BILL2\D2VAVS\V01.D2V",idct=7)
trim(0,2874)
Crop(4,76,712,424)
Undot()
ConvertToYUY2()
TemporalSoften(1,6,4,15,2)
AddBorders(4,76,4,76)
ConvertToYUY2(interlaced=true)
AudioDub(BlankClip())
there are to ConvertToYUY2. can i delet the 2. one? or is it necessarry?
and can you please explain me what a noisey source is?
mfg DvP
jdobbs
24th January 2005, 20:12
The problem is that on DVDs that already have blackspace in the overscan area -- you will be adding more. My own opinion is that you will gain only minimally from the blank space.
As for filters -- never add a filter unless it is there for a specific reason.
You really shouldn't have two convert statements -- but AVISYNTH is smart enough to know to ignore the second one... what worries me more is that "interlaced=true" is present in only one of them. Is the source interlaced or isn't it??? This can have an effect on color.
Like I said... most of the time it is better to leave the defaults. Filters can often do more harm than good.
TheSeeker
24th January 2005, 21:02
Does temporal soften require a yuy2 colorspace or can it handle yv12 as well? If it can only handle yuy2 maybe that is why that line is right before the temporal soften line.
J-Wo
24th January 2005, 22:01
Here's my philosophy behind cropping and filtering. If you crop the film space first to remove the black borders (and to also add an overscan of say 16 or 24 on all sides), you will have less video area to have to filter. Therefore any filtering you do will run faster. At the end you place an AddBorder() line to add overscanning and make your video resolution back to dvd standard.
For the person who says he doesn't like the "loss of information" by cropping, this is only valid if you're going to watch your vidoe on a PC. On a TV the extra pixels on the sides are never seen, so removing them will increase compression and speed up encoding.
TheSeeker
24th January 2005, 23:00
What about on a widescreen hdtv? will the extra pixels be shown then? MY personal philosophy is to mess with the dvd structure/navigation/picture as little as possible. Less possibility of any problems occuring that way...
jdobbs
24th January 2005, 23:20
Absolutely agree. "Leave it alone" is the best advice I can give -- but I can't force it on anyone.
J-Wo
24th January 2005, 23:50
every television screen has a degree of overscan where extra pixels on all sides are not seen. An anamorphic widescreen movie for 16:9 and a full screen movie for 4:3 are essentially the same thing -- except one is a rectangle and one is a square. So adding an overscan of 1 (8 pixels) or 2 (16 pixels) is perfectly safe. But to be certain, try a test clip to see if it is cropping too much on your particular screen.
A typical avs script I use is this:
Crop(16,16,688,448)
___INSERT FILTERS___
AddBorders(16,16,16,16)
The first line crops all sides by 16 pixels, leaving you with a working picture resolution of 688x448. Then the last line replaces 16 pixels of black borders around the image to restore the video frame to 720x480.
Typically the only filter I use is FluxSmoothT(), which is a light temporal smoothing filter. It's great on all film sources that have a fine "grainy" texture to the backgrounds. It's quite fast and does not smooth out details much.
For DVD extra material which I don't care so much about, I use heavier filtering with RemoveGrain().Deen(). RemoveGrain is practically the same as UnDot() only it runs much faster and has varying degrees of filtering strength (default parameters are equal to undot tho). When I'm keeping a lot of extras, I usually have Rb steal 25% of disk space from the extras -- so stronger filtering is necessary to compensate for the lower bitrates.
When done properly, avs scripting is one of the most powerful additions to CCE encoding (haven't used any other programs). You really can't say you're changing the DVD structure by doing any of this cropping and such... Besides you are *already* changing the DVD structure from its original format by running it through an encoder! But when you are reducing a movie by some 50-60%, I just don't feel that reencoding without filtering is enough.
jdobbs
25th January 2005, 21:19
Absolutely one of the advantages of DVD-RB is the ability to use AVISYNTH with its myriad of cool features... but I reemphasize what I said. Filters should only be used when filters are needed. If you need to remove grain -- great, use a filter to remove it. But only when you need to remove grain.
Like I've said -- take the advice or leave it.
BTW: Encoders are designed to reproduce the original source as closely as possible with as close to zero change as possible. Filters to the exact opposite -- they purposefully change the video. So saying you're already changing the video by reencoding is inaccurately distracting from the issue at hand. The perfect reproduction wouldn't reencode at all... but you have to reencode to meet the target size...
DvPs
25th January 2005, 22:31
ok
i will try not to use filters....
but what is with low bitrates extras? is there a filter that can help?
mfg DvPs
jdobbs
26th January 2005, 15:40
Using the Half-D1 option(s) can help -- but be careful to disable it when encoding series DVDs. DVD-RB can't really distinguish between true "extras" and additional episodes in that environment.
DvPs
27th January 2005, 17:33
hi
i am using the half D1 option for extras. i think it is a very good and smart options.
i have one question:
in my avs files, there is always the ConvertToYUY2(interlaced=true). i think this comes directly from the RB, because i can't remember of writing this in the avs filters box and it isn't there as you see above.
what happens, when i delete the "(interlaced=true)"?
mfg DvP
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.