View Full Version : (temp) For those suffering with side borders in AVI2SVCD
Nick
3rd March 2005, 22:28
A little tip (with thanks to Venom_IL for digging it out :) )
Go into your installation directory (e.g. C:\Program Files\DVD2SVCD or wherever you've installed it). Open the file "avisynth.ini" in Notepad. Be sure DVD2SVCD is NOT running.
Copy and Paste the following at the bottom and then resave.
[AVISYNTH_BilinearResize_nosideborders]
0=Import(!RoBaConditional.avs)
1=BilinearResize(^BorderLeft+^BorderRight+^TargetWidth,^TargetHeight)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
!RoBaConditional.avs=C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
[AVISYNTH_LanczosResize_nosideborders]
0=Import(!RoBaConditional.avs)
1=LanczosResize(^BorderLeft+^BorderRight+^TargetWidth,^TargetHeight)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
!RoBaConditional.avs=C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
[AVISYNTH_BicubicResize_nosideborders]
0=BicubicResize(^BorderLeft+^BorderRight+^TargetWidth,^TargetHeight,^b_value,^c_value)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
^b_value=0.0
^c_value=0.6
Launch DVD2SVCD and for your AVI conversions, choose one of the NoSideBorders resizers in the Framserver tab.
This should do the trick for those suffering AVI resizing woes, until the next version comes out, which includes a fix that should hopefully please everyone.
Venom_IL
3rd March 2005, 23:57
at last, one of my endless harassing questions has transpired a sticky :)
marco75
18th April 2005, 10:39
I'm trying to convert an .AVI to PAL SVCD.
I get borders on the sides and distortion (things look too tall and skinny) in the TMPGEnc Plus preview window, so I stopped the encoding.
I appended the above lines to my DVD2SVCD\avisynth.ini, and restarted DVD2SCVD.
In the DVD2SVCD [Frameserver] tab, I chose
BilinearResize_nosideborders.
The encode goes fine until TMPGEnc coughs up the following error message:
The resolution of the video is illegal
> The windows size needs to be set between 8x8 and 4088x4088.
> The width and height of window needs to be multiple of 8.
How do I make TMPGEnc work with the file, and produce undistorted video. (Actually, since the original source is a 4:3 TV capture, I don't understand why the resultant SVCD should have borders OR distortion)
Additional info
===============
AVI2SVCD ver. 1.2.2 build 3
TMPGEnc Plus version 2.524.63.181 Core version 2.94.169
.avi input file
codec resolution frames/s bitrate
XviD 512 x 384 23.976 757 kbps
I don't understand how SVCD can have 480x480 resolution and still display without borders on a 4:3 TV. How is that possible?
jikchung
18th April 2005, 12:32
I don't understand how SVCD can have 480x480 resolution and still display without borders on a 4:3 TV. How is that possible?
Because your player stretches the video horizontally to fit.
Venom_IL
18th April 2005, 17:32
marco75 - post AviSynth_Script_file.avs here
the log would also be useful
on another thought, maybe you should open a new thread so as to not to fill this one with details of a specific case
also open AviSynth_Script_file.avs in media player and see how it plays
marco75
19th April 2005, 13:43
I'll start a new thread to deal with my specific case.
zedstrange
17th May 2005, 06:49
I discovered this problem today, first time doing Avi2Dvd for yonks, and it had me stumped why. After looking at the log, I could see that the Lanczos resize caused this.
I experimented with choosing "No Resize" in the Frameserver tab and it seems to work, is there a good reason why I shouldnt do that and instead apply the changes to the avisynth script as above?
As long as your AVI is of a DVD-compliant resolution, no - your No Resize option works fine.
However IIRC this is not a default option in DVD2SVCD and the NoResize option has to be added by a modification to the ini file anyway.
marco75
31st May 2005, 12:25
Through trial and error, this is what I figured out:
If I'm doing AVI2SVCD, and the input video is 4:3, choose 16:4. That's right, choose the wrong setting, and the encoding will work properly.
If I'm doing DVD2SVCD, choose aspect ratio according to input... it works in this case.
I don't bother with the frameserver tab at all anymore.
BTW, is there a way I can use VCDXBuild seperately to turn two .mpg videos created by AVI2SVCD to .bin&.cue sets with fixed chapters? I think that fixed chapter option is really neat, I prefer fixed over DVD chapters now!
I got used to AVI2SVCD -- like Gordian Knot, the complexities are initially overwhelming, and it takes a few tries until you learn which settings produce sensible output and which create garbage. Now I create SVCDs as a matter of routine!
Thank You team DVD2SVCD!
Yeah, you are right - as long as the AVI has square pixels,
16:9 Borders Added (Encode as 4:3) will resize any AVI for 4:3 output
Anamorphic (Encode as 16:9) will resize for 16:9 output for DVD.
It is only if your AVI isn't square pixel that you need to worry about any of this.
As for VCDXbuild - I don't see your problem - you can choose fixed chapters in the CD Image tab and DVD2SVCD should create images with fixed chapters :confused:
If you wish to author separately, VCDEasy is a good GUI for VCDXBuild. See the downloads page here at doom9.
As this is off topic for this sticky, if you need more info, please start a new thread.
f@chance
4th June 2005, 13:26
Through trial and error, this is what I figured out:
If I'm doing AVI2SVCD, and the input video is 4:3, choose 16:4. That's right, choose the wrong setting, and the encoding will work properly.
How do yu select 16:4 as Aspect Ratio?
mochevolete
9th August 2005, 20:02
A little tip (with thanks to Venom_IL for digging it out :) )
Go into your installation directory (e.g. C:\Program Files\DVD2SVCD or wherever you've installed it). Open the file "avisynth.ini" in Notepad. Be sure DVD2SVCD is NOT running.
Copy and Paste the following at the bottom and then resave.
[AVISYNTH_BilinearResize_nosideborders]
0=Import(!RoBaConditional.avs)
1=BilinearResize(^BorderLeft+^BorderRight+^TargetWidth,^TargetHeight)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
!RoBaConditional.avs=C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
[AVISYNTH_LanczosResize_nosideborders]
0=Import(!RoBaConditional.avs)
1=LanczosResize(^BorderLeft+^BorderRight+^TargetWidth,^TargetHeight)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
!RoBaConditional.avs=C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
[AVISYNTH_BicubicResize_nosideborders]
0=BicubicResize(^BorderLeft+^BorderRight+^TargetWidth,^TargetHeight,^b_value,^c_value)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
^b_value=0.0
^c_value=0.6
Launch DVD2SVCD and for your AVI conversions, choose one of the NoSideBorders resizers in the Framserver tab.
This should do the trick for those suffering AVI resizing woes, until the next version comes out, which includes a fix that should hopefully please everyone.
unfortunately it doesn't make any difference for me ! :confused:
for ALL my 4:3 videos I have to select "16:9 (borders added, encoded as 4:3)"
otherwise side borders !
:(
harpseal
2nd September 2005, 12:55
So if I add the above into my avisynth.ini and I select LanczosResize nosideborders from the Frameserver tab I get an error when CCE starts running saying frame size 944x56 is not supported and therefore won't load the ecl file. (BTW I'm converting from some really stupid resolutions...don't ask). I don't know where it's getting 944x56 because they aren't that stupid. :) I then tried bicubic and it seemed to start okay (didn't let it go all the way through). Then for grins tried Bilinear and it barfed again with same message. I noticed that the two I had trouble with have the RoBaConditional.avs stuff in it. If I remove those two parts in each setting thing start okay. Do I need the RoBaConditional stuff? Not really sure what it does. I will run the encode with Lanczos when I go to bed shortly (yes, it's 5 am here now) and see what it looks like when I get up, but just out of curiousity, what does the RoBaConditional do and do I need it?
Thanks for awesome stuff guys! I'm a DVD-RB guy who's now heading into the more adventurous stuff and the learning curve is a bit steep right now but I'm trying (I lurk the boards A LOT...search is my friend). I can't imagine trying this stuff a couple years ago, though now there's so many choices of things touse it's tough too.
-----------------------------------------
Oops, found it here guys. http://forum.doom9.org/showthread.php?s=&threadid=49513&highlight=frame+size+is+not+supported
I swear I do use search. :rolleyes:
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.