View Single Post
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