PDA

View Full Version : Problem with Resize - Aliasing


Egladil
11th January 2006, 16:02
I'm downsizing from 1920x1080 to 1280x720, the movie is telecined and I perform inverse telecine, so my script looks like that:

MPEG2Source("video.d2v", cpu=6)
AssumeBFF()
Telecide(guide=1,post=2, blend=true)
Decimate()
LanczosResize(1280,720)

Unfortunately this produces bad image, here's a magnified version:
www.levp.de/bad.png

I tried BilinearResize, Bicubic, etc... all of them produce the jagged edges.

Then I tried following: I removed the resize operation from the script, and created a second script where I have:

import("first.avs")
LanczosResize(1280,720)

This produces the correct image www.levp.de/good.png

Is this a bug, or something I must do which I'm not aware of?

regards
-lev

scharfis_brain
11th January 2006, 16:06
remove assumebff()

Egladil
11th January 2006, 16:21
It does not help,

I placed AssumeBFF accordingly to the decomb tutorial (I have BFF order)

scharfis_brain
11th January 2006, 16:53
provide an unprocessed sample MPG.

MfA
11th January 2006, 17:07
The assumeBFF is irrelevant anyway, the two scripts should produce bit identical results if you really did what you say you did ... otherwise it is indeed a bug.

Egladil
11th January 2006, 17:10
Well, its a 17 GB .ts file, and I'm not aware of any tools for cutting that stream, can you give me a hint?

Some information: the BFF order is correct for that file, and the 3:2 pattern is correct too.

I also tried resizing the video in VDub - the result are correct (as in "good.png").

scharfis_brain
11th January 2006, 17:13
You can use DGIndex for cutting.
Use the marker buttons on right bottom, to select the wished region.
Then select "Save Project and Demux Video" from the File Menu.

DGIndex will create a *.m2v File.

Egladil
11th January 2006, 17:41
oops sorry, my bad, I had lots of commented lines in that .avs files and overlooked that one of them wan't commented.

regards
-lev