Log in

View Full Version : DVD resize to 320X240 MPEG1 CCE


markkin
11th April 2005, 20:31
Hi Guys.
I would like to encode using Cinema Craft Encoder (CCE) my DVDs to VCD MPEG1 (320X240) instead of 352X240 for my portable video player RCA Lyra RD2780. There is not an option for 320x240 in DVD2SVCD. I like using Cinema Craft Encoder, becuase it is fast. It only take 0.5 real time to encode DVD to VCD. Is there a 1-2-3 easy step way I can use DVD2SVCD Cinema Craft Encoder to convert DVD to VCD MPEG1 (320X240)?
I know I can use Xmpeg or DVDx with CCE to convert DVD to VCD MPEG1 320x240, but it will cost me $15.00 for the Premerie Video Server right?
My portable video player can also play DIVX 5 avi 320x240. It takes my computer 1x real time to convert a DVD to DIVX 5 avi 320x240 using Dr. Divx 1.06 (easy 1-2-3 step). Thus, I am looking for a way I can convert DVD to MPEG1 VCD 320x240 because it is the fastest way to encode.

Any assistant will be appreciated.

Thanks,

jsoto
12th April 2005, 00:33
Hi markkin,

Welcome to the forum

In your DVD2SVCD installation folder there is a file called AVISYNTH.INI
Edit the file and create a new "fixed resizer", adding the following lines to the file

[AVISYNTH_My320x240LanczosResize]
0=LanczosResize(320,240)

This new filter wil be available at frameserver tab i Avisynth setup combobox. Select it and encode normally. That's all.

jsoto

markkin
12th April 2005, 02:36
Hi, jsoto.
Could you tell me if this is correct? This is what I did.
Edit file C:\Program Files\DVD2SVCD\avisynth.ini
From:
----------------------------------------------------------------------
[AVISYNTH_SimpleResize]
0=LoadPlugin(!SimpleResize.dll)
1=ConvertToYUY2().SimpleResize(^TargetWidth,^TargetHeight)
2=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
!SimpleResize.dll=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\SimpleResize\SimpleResize.dll

[AVISYNTH_LanczosResize]
0=LanczosResize(^TargetWidth,^TargetHeight)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)

[AVISYNTH_BilinearResize]
0=BilinearResize(^TargetWidth,^TargetHeight)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)

[Global]
AVIReader=AVISource(!filename,audio=false)
MPEG2Reader=MPEG2Source(!filename)
MPEG1Reader=DirectShowSource(!filename)

[AVISYNTH_BicubicResize]
0=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
^b_value=0.0
^c_value=0.6
----------------------------------------------------------------------


To


----------------------------------------------------------------------
[AVISYNTH_SimpleResize]
0=LoadPlugin(!SimpleResize.dll)
1=ConvertToYUY2().SimpleResize(^TargetWidth,^TargetHeight)
2=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
!SimpleResize.dll=C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\SimpleResize\SimpleResize.dll

[AVISYNTH_BilinearResize]
0=BilinearResize(^TargetWidth,^TargetHeight)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)

[Global]
AVIReader=AVISource(!filename,audio=false)
MPEG2Reader=MPEG2Source(!filename)
MPEG1Reader=DirectShowSource(!filename)

[AVISYNTH_BicubicResize]
0=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
^b_value=0.0
^c_value=0.6

[AVISYNTH_LanczosResize]
0=LanczosResize(^TargetWidth,^TargetHeight)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)

[AVISYNTH_My320x240LanczosResize]
0=LanczosResize(320,240)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
----------------------------------------------------------------------

Go under "Frameserver Tab".
Chose “My320x240LanczoResize”
Under “Resize to” there are only 4 options
VCD (352x240/288)
SVCD (480x480/576)
DVD (720x480/576)
CVD (352x480/576)
Chose VCD (352x240/288) right?

Thanks,
Mark

jsoto
12th April 2005, 06:32
Delete the AddBorders line. You do not need it if your input is a 4:3 or 16:9 DVD and you are not going to change it.

If you want to change your DAR, resize parameters will be different than 320x240

jsoto

ChickenMan
12th April 2005, 13:01
Originally posted by markkin
....CCE to convert DVD to VCD MPEG1 320x240,...
But VCD MPEG1 size is 352x240 NTSC or 352x288 PAL. You are aware that 320x240 is not a DVD or VCD compliant size, while 352x240 is ? A 320x240 sized file should be referd to as MPEG1 file and NOT a VCD.

markkin
12th April 2005, 16:49
Hi jsoto.
I want to convert my DVD 4:3 Fullscreen and DVD 16:9 Widescreen to MPEG1 320x240 no black border. If this means croping off the sides, it is ok as long as the mpeg1 fills the full screen 320x240 with no black border. Thus, for DVD 16:9 Widescreen and DVD 4:3 Fullscreen in DVD2SVCD under "Conversion Tab", I chose the "Aspect Ratio" 4:3(no borders added, encoded as 4:3) for DVD 16:9 Widescreec and DVD 4:3 Fullscreen. Thus, this will encode the DVD 16:9 as 320x240 MPEG1 4:3 with no black border cropped, and thus, the video will be missing on the two sides, but this is ok as long as it fills the screen on my portable video player.
Does this mean sense? I am I doing this correctly?

I did not add "1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)" but for some reason it added it automatically to avisynth.ini. Is this ok?



[AVISYNTH_My320x240LanczosResize]
0=LanczosResize(320,240)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)



Thanks,
Mark

jsoto
12th April 2005, 18:05
Beware you are doing something not standard. It should work in a PC or in yur portable, but probably not in a DVD settop, and, probably, a DVD or VCD authoring program will not accept the file.

The "resize to" combobox selection does not matter, because you are using a "fixed" resizing parameters

These are the resizer parameters you need:

4:3 DVD input, 4:3 320x240 MPEG1 output:
chose the "Aspect Ratio" 4:3(no borders added, encoded as 4:3)
[AVISYNTH_My320x240LanczosResize_4_3]
0=LanczosResize(320,240)

16:9 DVD input, 4:3 320x240 MPEG1 PanScan output:
chose the "Aspect Ratio" 4:3(no borders added, encoded as 4:3)
[AVISYNTH_My320x240LanczosResize_4_3_PanScan]
0=LanczosResize(426,240)
1=Crop(53,0,320,240)

16:9 DVD input, 4:3 320x240 MPEG1 Letterbox output:
chose the "Aspect Ratio" 4:3(no borders added, encoded as 4:3)
[AVISYNTH_My320x240LanczosResize_4_3_LetterBox]
0=LanczosResize(320,180)
1=AddBorders(0,30,0,30)

jsoto

markkin
13th April 2005, 02:43
Thanks Jsoto. I appreciate your help.