Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > One click suites for DVD backup and DVD creation

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th October 2002, 12:22   #1  |  Link
Clixo
zombie
 
Clixo's Avatar
 
Join Date: Oct 2001
Location: Portugal
Posts: 247
avisynth script database for dvd2svcd 1.1.0 build x

in the new beta release we can use our favourite scripts as part of the dvd2svcd.ini file, so if you think you have a nice script that suites you why not to share it to the others ?
so here is my first costum script for the new d2s 1.01 build 1 beta 3.

Code:
[AVISYNTH_BicubicResize WITH TEMPORALSOFTEN2]
0=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
1=AddBorders(0,^BorderTop,0,^BorderBottom)
2=LoadPlugin(!temporalsoften2.dll)
3=Temporalsoften2(^x_value,^y_value,^z_value)
^b_value=0.0
^c_value=0.6
!temporalsoften2.dll=C:\Program Files\DVD2SVCD\Avisynth\temporalsoften2.dll
^x_value=3
^y_value=5
^z_value=7
__________________
90 % of the things people ask in THIS forum have been already answered here ; here and here


use those links befoure you start any new thread ... please

happy convertions

clixo.

Last edited by Clixo; 19th January 2003 at 23:55.
Clixo is offline   Reply With Quote
Old 14th October 2002, 13:06   #2  |  Link
dvd2svcd
Moderator
 
dvd2svcd's Avatar
 
Join Date: Oct 2001
Location: On top of the world!
Posts: 1,837
Just for the record:
^ = Numerical
! = Filename
= Text
? = Boolean

In the frameserver tab you can change the values where you've used the above signs, except when using ^TargetHeight, ^TargetWidth, ^BorderTop and ^BorderBottom those values will be filled in automatically by dvd2svcd.

Every new avisynth section you add to dvd2svcd.ini file must start with AVISYNTH_ like [AVISYNTH_SomethingOrOther]

I will make this sticky and see how it goes.

Please put your script between [ code][ /code] when you post it here then it'll be easy to see what should be copied into dvd2svcd.ini

Last edited by dvd2svcd; 14th October 2002 at 13:12.
dvd2svcd is offline   Reply With Quote
Old 14th October 2002, 15:18   #3  |  Link
dvd2svcd
Moderator
 
dvd2svcd's Avatar
 
Join Date: Oct 2001
Location: On top of the world!
Posts: 1,837
If you want to try out the newly added Lanczos3Resize filter in avisynth you can add this into dvd2svcd.ini:

Code:
[AVISYNTH_Lanczos3Resize]
0=LanczosResize(^TargetWidth,^TargetHeight)
1=AddBorders(0,^BorderTop,0,^BorderBottom)
dvd2svcd is offline   Reply With Quote
Old 15th October 2002, 10:01   #4  |  Link
Clixo
zombie
 
Clixo's Avatar
 
Join Date: Oct 2001
Location: Portugal
Posts: 247
for those who might have not seen this: ( this script is authored by dvd2svcd ; )

Code:
[AVISYNTH_Cartoon]
0=LoadPlugin(!MSharpen.dll)
1=LoadPlugin(!Convolution3D.dll)
2=LoadPlugin(!Dup.dll)
3=Dup(threshold=^Dup_Threshold,copy=?Dup_Copy)
4=Convolution3D(^3D_Matrix_Choice, ^3D_Spacial_Luma_Threshold, ^3D_Spacial_Chroma_Threshold, ^3D_Temporal_Luma_Threshold, ^3D_Temporal_Chroma_Threshold, ^3D_Temporal_Influence, 0)
5=MSharpen(threshold=^MSharpen_Threshold,strength=^MSharpen_Strength)
6=BilinearResize(^TargetWidth,^TargetHeight)
!MSharpen.dll=C:\Programmer\DVD2SVCD\MSharpen\MSharpen.dll
!Convolution3D.dll=C:\Programmer\DVD2SVCD\Convolution3D\Convolution3D.dll
!Dup.dll=C:\Programmer\DVD2SVCD\Dup\Dup.dll
^Dup_Threshold=5
?Dup_Copy=True
^3D_Matrix_Choice=1
^3D_Spacial_Luma_Threshold=8
^3D_Spacial_Chroma_Threshold=16
^3D_Temporal_Luma_Threshold=8
^3D_Temporal_Chroma_Threshold=8
^3D_Temporal_Influence=3
^MSharpen_Threshold=10
^MSharpen_Strength=50
__________________
90 % of the things people ask in THIS forum have been already answered here ; here and here


use those links befoure you start any new thread ... please

happy convertions

clixo.

Last edited by Clixo; 15th October 2002 at 10:05.
Clixo is offline   Reply With Quote
Old 15th October 2002, 10:37   #5  |  Link
dvd2svcd
Moderator
 
dvd2svcd's Avatar
 
Join Date: Oct 2001
Location: On top of the world!
Posts: 1,837
Well, that was more as an experiment on how versatile it actually was. I wouldn't recommend using it
__________________
Cheers,
dvd2svcd
dvd2svcd is offline   Reply With Quote
Old 15th October 2002, 22:26   #6  |  Link
Clixo
zombie
 
Clixo's Avatar
 
Join Date: Oct 2001
Location: Portugal
Posts: 247
and onother one to force subs
Code:
[AVISYNTH_BicubicResize with temporal soften and forced subs for avi]
0=LoadPlugin(!temporalsoften2.dll)
1=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
3=Temporalsoften2(^x_value,^y_value,^z_value)
4=LoadPlugin(!textsub.vdf)
5=textsub(!file.sub)
!temporalsoften2.dll=C:\Program Files\DVD2SVCD\Avisynth\temporalsoften2.dll
^b_value=0.0
^c_value=0.6
^x_value=3
^y_value=5
^z_value=7
!textsub.vdf=C:\Program Files\Gabest\VobSub\textsub.vdf
!file.sub=C:\sub1.sub
__________________
90 % of the things people ask in THIS forum have been already answered here ; here and here


use those links befoure you start any new thread ... please

happy convertions

clixo.
Clixo is offline   Reply With Quote
Old 17th October 2002, 10:08   #7  |  Link
Clixo
zombie
 
Clixo's Avatar
 
Join Date: Oct 2001
Location: Portugal
Posts: 247
Unfilter:
Code:
[AVISYNTH_BicubicResize WITH UNFILTER]
0=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
1=AddBorders(0,^BorderTop,0,^BorderBottom)
2=LoadPlugin(!UNFILTER.dll)
3=UNFILTER(^x_value,^y_value)
^b_value=0.0
^c_value=0.6
!UNFILTER.dll=
^x_value=
^y_value=
__________________
90 % of the things people ask in THIS forum have been already answered here ; here and here


use those links befoure you start any new thread ... please

happy convertions

clixo.
Clixo is offline   Reply With Quote
Old 17th October 2002, 11:43   #8  |  Link
needle
Registered User
 
Join Date: Jan 2002
Posts: 55
@clixomano

I think that in your code [AVISYNTH_BicubicResize WITH UNFILTER] the lines "LoadPlugin(!UNFILTER.dll)" and "UNFILTER(^x_value,^y_value)" should be appear before than "BicubicResize..." as follows.

[AVISYNTH_BicubicResize WITH UNFILTER]
0=LoadPlugin(!UNFILTER.dll)
1=UNFILTER(^x_value,^y_value)
2=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
3=AddBorders(0,^BorderTop,0,^BorderBottom)
^b_value=0.0
^c_value=0.6
!UNFILTER.dll=
^x_value=
^y_value=
needle is offline   Reply With Quote
Old 23rd October 2002, 07:38   #9  |  Link
jorel
Guest
 
Posts: n/a
could be my mistake,but
in dvd2svcd110b1pre22,
unfilter is after bicubic resize.

than i use unfilter with a new d2s110b1rc2 in this way:

[AVISYNTH_BicubicResize with Unfilter]
0=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
1=AddBorders(0,^BorderTop,0,^BorderBottom)
2=LoadPlugin(!unfilter.dll)
3=Unfilter(^x_value,^y_value)
^b_value=0.0
^c_value=0.6
!Unfilter.dll=C:\Arquivos de programas\DVD2SVCD110b1b3\UnFilter\UnFilter.dll
^x_value=15
^y_value=15

it is correct?
or i invert something?

help please!
thanks!!

  Reply With Quote
Old 24th October 2002, 00:23   #10  |  Link
fgm
Registered User
 
Join Date: Jan 2002
Posts: 53
Temporal Smoother Script

For those that still use TS this is the correct version of the script included with RC1 in the Readme.txt:

Code:
[AVISYNTH_BicubicResize-TemporalSmoother]
0=LoadPlugin(!MPEG2DEC2.dll)
1=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
3=TemporalSmoother(^Strength,^Radius)
!MPEG2DEC2.dll=F:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC2.dll
^b_value=0.0
^c_value=0.6
^Strength=2
^Radius=1
fgm is offline   Reply With Quote
Old 27th October 2002, 07:55   #11  |  Link
jorel
Guest
 
Posts: n/a
testing

with this way:

[AVISYNTH_BicubicResize WITH UNFILTER]
0=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
1=AddBorders(0,^BorderTop,0,^BorderBottom)
2=LoadPlugin(!UNFILTER.dll)
3=UNFILTER(^x_value,^y_value)
^b_value=0.0
^c_value=0.6
!UNFILTER.dll=
^x_value=
^y_value=

less time to encode , final file is big.

================================================================

and in this way:

[AVISYNTH_BicubicResize WITH UNFILTER]
0=LoadPlugin(!UNFILTER.dll)
1=UNFILTER(^x_value,^y_value)
2=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
3=AddBorders(0,^BorderTop,0,^BorderBottom)
^b_value=0.0
^c_value=0.6
!UNFILTER.dll=
^x_value=
^y_value=

more time to encode , final file is short.

=================================================================

i try with temporalsmoother and temporalsoften too.
if resize comes first:less time,big file.
if resize comes after: more time,short file.


final image quality.......just the same.
  Reply With Quote
Old 28th October 2002, 13:58   #12  |  Link
indy69
Registered User
 
Join Date: Sep 2002
Posts: 10
I use this script most of the time since most of my encodes are from dvd.

code

[AVISYNTH_BICUBICRESIZE with TemporalSmoothing and unfilter]
0=Loadplugin(!Mpeg2Dec.dll)
1=Temporalsmoother(^Strength,^Radius)
2=loadplugin(!Unfilter.dll)
3=Unfilter(^x_value,^y_value)
4=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
5=AddBorders(0,^BorderTop,0,^BorderBottom)
!Mpeg2Dec.dll=D:\Dvd2svcd\Mpeg2dec\Mpeg2dec.dll
^Strength=2
^Radius=1
!Unfilter.dll=D:\DVD2svcd\Unfilter.dll
^x_value=-40
^y_value=-40
^b_value=0.33
^c_value=0.33

You can vary the order of the filters and values in the frameserver section easily
indy69 is offline   Reply With Quote
Old 29th October 2002, 20:39   #13  |  Link
dvd2svcd
Moderator
 
dvd2svcd's Avatar
 
Join Date: Oct 2001
Location: On top of the world!
Posts: 1,837
Please keep this thread to Avisynth Scripts only, don't post problems here. (Holomatrix, I moved you're question and indy69's answers into the help!!! thread)
dvd2svcd is offline   Reply With Quote
Old 31st October 2002, 07:02   #14  |  Link
badbert
Registered User
 
Join Date: Jan 2002
Posts: 90
This is my AVI2SVCD script. You can find the tweak and focus filters HERE Make sure to read the readme files to set the proper defaults.


[AVISYNTH_BiCubicResize With temporal smoother, tweak, focus2, and forced subs for avi]
0=LoadPlugin(!Tweak.dll)
1=LoadPlugin(!Focus2.dll)
2=Tweak(^hue,^sat,^bright,^contrast)
3=Blur2(^Blur)
4=Sharpen2(^sharpen)
5=TemporalSmoother(^Strength,^Radius)
6=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
7=AddBorders(0,^BorderTop,0,^BorderBottom)
8=LoadPlugin(!textsub.vdf)
9=textsub(!file.sub)


experiment with the order for speed...

Last edited by badbert; 31st October 2002 at 23:47.
badbert is offline   Reply With Quote
Old 5th November 2002, 10:31   #15  |  Link
Abond
Registered User
 
Join Date: Jun 2002
Posts: 416
I have used this script once, but in GKnot for DVD rip with little noise. The movie comes out ok, but not perfect. Didn't experiment further (lazy). In fact I don't know if I wrote it correctly for DVD2SVCD...
The idea came from jorel post in this thread.
Here it is:

[AVISYNTH_BicubicResize WITH UNFILTER]
0=LoadPlugin(!UNFILTER.dll)
1=UNFILTER(^x_value_neg,^y_value_neg)
2=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
3=AddBorders(0,^BorderTop,0,^BorderBottom)
4=UNFILTER(^x_value,^y_value)
^b_value=0.33
^c_value=0.33
!UNFILTER.dll=
^x_value_neg=-20
^y_value_neg=-20
^x_value=20
^y_value=20


Maybe somebody will find it usefull...
Greetings.

Last edited by Abond; 5th November 2002 at 15:34.
Abond is offline   Reply With Quote
Old 15th November 2002, 04:11   #16  |  Link
onesoul
miau
 
onesoul's Avatar
 
Join Date: May 2002
Location: Lisbon
Posts: 594
I must confess I haven't used much but for what I read, the convolution3D script is really good and it even has presets which is a great thing for n00bs like me (thanks Vlad59)

In this script you will find the preset established as animeHQ, it could be something else... At frameserver tab of dvd2svcd just put the preset you want or if you are an expert just put the values you like.
Suggestion: keep Convolution3D.txt open to check presets

Check this thread to see what other settings have been experimented for other sources (than at the presets) like tv, dv.
link: http://forum.doom9.org/showthread.php?s=&threadid=32762

Code:
[AVISYNTH_Convolution3D-BicubicResize]
0=LoadPlugin(!Convolution3D.dll)
1=Convolution3D(^convpreset)
2=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
3=AddBorders(0,^BorderTop,0,^BorderBottom)
!Convolution3D.dll=C:\Program Files\AviSynth\convolution3d\Convolution3D.dll
^convpreset=preset="animeHQ"
^b_value=0.0
^c_value=0.6

Last edited by onesoul; 15th November 2002 at 04:14.
onesoul is offline   Reply With Quote
Old 21st November 2002, 17:31   #17  |  Link
sandchar99
Registered User
 
Join Date: Oct 2001
Posts: 135
I know this is not really very sophisticated but I use to edit out the balck bars on NTSC back-ups where the aspect ratio is 2.35:1 on a 16:9 and 1.66:1 on a 4:3. More bitrate devoted to film area. Encoding times improve.

Useful if using the batch method or if the film is spread over more than discs or doing multiple episodes

The values change from film to film.

My method

1. Rip one short chapter. Set DVD2SVCD to edit AVIsynth file when DVD2AVI is done.

2. When DVD2SVCD gets to the edit point, hit save. In windows explorer, copy the avisynth file so that you'll have a back-up. Load project file into DVD2AVI. Use clip and resize feature under video tab. Take a note of the borders: top, width and height (for example top=40, width=720, height=384). Put these values into the avisynth file at their appropriate spot on the Bicubic line.

Example for a 2.35:1

LoadPlugin("C:\PROGRA~1\Video\DVD2SV~2\MPEG2Dec\MPEG2DEC.dll")
mpeg2source("C:\Movies\LAWREN~1\Vobs\DVD2AV~1.D2V")
BicubicResize(480,276,0.0,0.60,0,40,720,384)
TemporalSmoother(2,1)
AddBorders(0,102,0,102)

3. Guess at the values for the AddBorders line. Add up the numbers on the AddBorders line, in this case 102+102=204 and subtract that number from 480 and put that as the second number in the Bicubic line. Hit save.

4. Now preview the copied avisynth file in Windows Media player. Physically measure the vertical dimension. Now open the working avisynth file in Windows Media player. Physically measure the vertical dimension. Are the two the same? If not, modify the addborders values and the second number in the Bicubic line. Hit save and measure in Windows Media player. Repeat as necessary.

5. Write the final values down.

6. Restart DVD2SVCD and place the final values in the script. Now you can do the whole film without further edit.

EDIT: Actually using the Preview Pane in DVD2SVCD under GO! will work also. Simply use standard setting, "Bicubic" for example. Take your crude measurements with pen and paper. Close the preview pane, use one of the modified avisynth scripts above, play with numbers until you get the correct looking preview pane. Taht way you do not have to rip a single chapter.

[AVISYNTH_BicubicResize and Crop with TemporalSmoother 16:9]
0=BicubicResize(^TargetWidth,^Resize_Height,^b_value,^c_value,^crop_left,^crop_top,^original_horizontal_dimension,^original_vertical_dimension)
1=TemporalSmoother(^Strength,^Radius)
2=AddBorders(0,^Border_Top,0,^Border_Bottom)
^Resize_Height=276
^b_value=0.0
^c_value=0.60
^crop_left=0
^crop_top=40
^original_horizontal_dimension=720
^original_vertical_dimension=384
^Strength=2
^Radius=1
^Border_Top=102
^Border_Bottom=102

[AVISYNTH_BicubicResize and Crop with TemporalSmoother 4:3]
0=BicubicResize(^TargetWidth,^Resize_Height,^b_value,^c_value,^crop_left,^crop_top,^original_horizontal_dimension,^original_vertical_dimension)
1=TemporalSmoother(^Strength,^Radius)
2=AddBorders(0,^Border_Top,0,^Border_Bottom)
^Resize_Height=360
^b_value=0.0
^c_value=0.60
^crop_left=0
^crop_top=40
^original_horizontal_dimension=720
^original_vertical_dimension=400
^Strength=2
^Radius=1
^Border_Top=60
^Border_Bottom=60


Hope this is helpful to some


Also...without temporalsmoother

[AVISYNTH_BicubicResize and Crop 4:3 (No TS)]
0=BicubicResize(^TargetWidth,^Resize_Height,^b_value,^c_value,^crop_left,^crop_top,^original_horizontal_dimension,^original_vertical_dimension)
1=AddBorders(0,^Border_Top,0,^Border_Bottom)
^Resize_Height=360
^b_value=0.0
^c_value=0.60
^crop_left=0
^crop_top=40
^original_horizontal_dimension=720
^original_vertical_dimension=400
^Border_Top=60
^Border_Bottom=60


[AVISYNTH_BicubicResize and Crop 16:9 (No TS)]
0=BicubicResize(^TargetWidth,^Resize_Height,^b_value,^c_value,^crop_left,^crop_top,^original_horizontal_dimension,^original_vertical_dimension)
1=AddBorders(0,^Border_Top,0,^Border_Bottom)
^Resize_Height=272
^b_value=0.0
^c_value=0.60
^crop_left=0
^crop_top=60
^original_horizontal_dimension=720
^original_vertical_dimension=360
^Border_Top=104
^Border_Bottom=104

Last edited by sandchar99; 3rd December 2002 at 23:45.
sandchar99 is offline   Reply With Quote
Old 21st November 2002, 18:21   #18  |  Link
Holomatrix
Still Kick'n
 
Join Date: Oct 2001
Posts: 678
Here's mine

Code:
[AVISYNTH_BlockbusterBilinearNoMoSmoothFluxSmooth]
0=BilinearResize(^TargetWidth,^TargetHeight)
1=AddBorders(0,^BorderTop,0,^BorderBottom)
2=LoadPlugin(!Blockbuster.dll)
3=LoadPlugin(!NoMoSmooth.dll)
4=LoadPlugin(!FluxSmooth.dll)
5=NoMoSmooth()
6=FluxSmooth()
7=Blockbuster( method="noise", detail_min=1, detail_max=10, lv=1 )
8=Blockbuster( method="sharpen", detail_min=^detail_min, detail_max=^detail_max, strength=^StrengthValue )
!Blockbuster.dll=C:\Program Files\DVD2SVCD\Blockbuster\Blockbuster.dll
!NoMoSmooth.dll=C:\Program Files\DVD2SVCD\NoMoSmooth\NoMoSmooth.dll
!FluxSmooth.dll=C:\Program Files\DVD2SVCD\FluxSmooth\FluxSmooth.dll
^detail_min=10
^detail_max=99
^StrengthValue=10
Holomatrix is offline   Reply With Quote
Old 23rd November 2002, 06:13   #19  |  Link
jorel
Guest
 
Posts: n/a
Quote:
Originally posted by Holomatrix
Here's mine

Code:
[AVISYNTH_BlockbusterBilinearNoMoSmoothFluxSmooth]
0=BilinearResize(^TargetWidth,^TargetHeight)
1=AddBorders(0,^BorderTop,0,^BorderBottom)
2=LoadPlugin(!Blockbuster.dll)
3=LoadPlugin(!NoMoSmooth.dll)
4=LoadPlugin(!FluxSmooth.dll)
5=NoMoSmooth()
6=FluxSmooth()
7=Blockbuster( method="noise", detail_min=1, detail_max=10, lv=1 )
8=Blockbuster( method="sharpen", detail_min=^detail_min, detail_max=^detail_max, strength=^StrengthValue )
!Blockbuster.dll=C:\Program Files\DVD2SVCD\Blockbuster\Blockbuster.dll
!NoMoSmooth.dll=C:\Program Files\DVD2SVCD\NoMoSmooth\NoMoSmooth.dll
!FluxSmooth.dll=C:\Program Files\DVD2SVCD\FluxSmooth\FluxSmooth.dll
^detail_min=10
^detail_max=99
^StrengthValue=10
* lv=1 don't work with the new version of Blockbuster(0.5),
change to variance=1
like this:
7=Blockbuster( method="noise", detail_min=1, detail_max=10, variance=1 )

read the news about Blockbuster.
  Reply With Quote
Old 26th November 2002, 11:11   #20  |  Link
neopholus
Registered User
 
Join Date: Nov 2002
Posts: 24
Cropping of black borders before resizing

Hi,

these scripts are a result of this thread. They can be used to get the size of the black borders, crop them before resizing (faster resizing) and adding black borders afterwards automatically. This one is for converting PAL movies (16:9 and 4:3) to SVCD.

Code:
[AVISYNTH_DetectBorders]
0=LoadPlugin(!AutoCrop.dll)
1=AutoCrop(true,1,1,0,0,0,0,40,10)
2=BilinearResize(^TargetWidth,^TargetHeight)
3=AddBorders(0,^BorderTop,0,^BorderBottom)
!AutoCrop.dll=C:\Programme\SVCD\DVD2SVCD\Autocrop\AutoCrop.dll

[AVISYNTH_BilinearResizeWithoutBlackBorders]
0=Crop(^Crop_Left, ^Crop_Top, ^Crop_Width, ^Crop_Height)
1=AutoResize()
2=AutoAddBorders()
3=function AutoAddBorders(Clip c) {
4=aab_top = (Floor(((576 - c.height) / 2) / 16))*16
5=aab_bottom = (576 - aab_top) - c.height 
6=return addBorders(c, 0, aab_top, 0, aab_bottom)
7=}
8=function AutoResize(Clip c) {
9=factor = (^BorderTop == 72) ? 0.75 : 1.0
10=height = Round((720.0 / c.width) * c.height * factor)
11=return BilinearResize(c, 480, height)
12=}
^Crop_Left=0
^Crop_Top=0
^Crop_Width=720
^Crop_Height=576

Now do the following:
1) Insert DVD into your drive
2) Press the DVD-icon on the Conversion tab
3) Select Go->Preview Video (still picture)
4) Go to the frameserver-tab
5) Select the "DetectBorders" avisynth script
6) Note the autocrop info on the preview (if the borders are not detected very well, use "New Frame"-button!)
On my test DVD the autocrop-info was Crop(4,76,713,423)
7) Select the "BilinearResizeWithoutBlackBars" avisynth script
8) Edit the parameters of the Crop-line to match the ones of the autocrop information
9) ready!! Even if you cropped some pixels from left and right, the script calculates the correct size of the video, adds borders and the movie is ready to be converted.

Some additional hints:
- the script calculates the top and bottom borders to align the top of the picture to a multiple of 16 (macroblock optimisation). Thus, there can be different large borders on top and on bottom. If you do not like this behaviour, modify the BilinearResizeWithoutBlackBorders script:
Code:
...
5=aab_top = Round((576 - c.height) / 2)
...
Now the borders are always the same size.

- The autocrop-filter can be found here: here.
- Some discussions on this filter can be found here.

Cheers,

neopholus

[EDITED] @RB: Thanks for the bugfix!

Last edited by neopholus; 4th December 2002 at 12:26.
neopholus is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:32.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.