Log in

View Full Version : problem when clip size is too large


pfluffernuugen
11th January 2005, 03:59
i'm trying to backup a dvd to xvid with the full resolution after some cropping, but when i play the avisynth script, it looks like this:

http://bingweb.binghamton.edu/~wwan1/shower.png

if i lower the resolution the problem goes away
is there anyway to solve this?

the avisynth script looks like this:

LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\dgdecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\UnDot.dll")

mpeg2source("D:\shower\shower.d2v")

crop(26,0,668,480)

Lanczos4Resize(668,480)

Undot()

E-Male
11th January 2005, 04:56
looks like an anamorphic ntsc dvd

either change the height in the resize to 400
or if you use matroska, use it's AR correction to fix the AR to 1.691


when going from dvd to xvid you always have to resize or fix the AR in matroska, because of the different pixel-ARs


btw, in your script as it is the resize doesn't do anything

pfluffernuugen
11th January 2005, 05:35
yea, i'm planning on using matroska to fix the AR
i took out the resize, but its still having the problem

Manao
11th January 2005, 06:56
It's XviD's fault : it can't handle correctly YV12 video with an horizontal resolution which is only mod4 ( dividable by 4, but not by 8 ).

You have several alternatives :
- resize to 672x480 or 664x480 ( the former is better, because it's mod16, which make the video codec more efficient )
- install a good vfw YV12 decoder ( DivX fusion )

The first solution is by far the better.