Log in

View Full Version : Strange resizing error/problem


Boulder
18th September 2002, 15:24
I'm currently encoding the movie 'Fifth Element' to VCD. I noticed that if I use bilinear for resizing, it simply won't work! Changing to SimpleResize fixed the situation. If I resize to 352x288 with bilinear, the result in TMPGEnc is something like 600x56! I've tried it with CCE and the result is just the same - illegal frame size. With SimpleResize, the result is 352x288 as it should be. Resizing to 480x576 for SVCD gives no errors with bilinear. I'm using AviSynth v2.05 and PicVideo MJPEG for the capture.

Here's the script I've used:

LoadPlugin("c:\windows\system\simpleresize.dll")
LoadPlugin("c:\windows\system\greedyhma.dll")
LoadPlugin("c:\windows\system\convolution3d.dll")
SegmentedAVISource("e:\temp\captures\element.avi")
Trim(1354,58834)+Trim(67865,106987)+Trim(116193,168674)+Trim(176628,203250)
FadeOut(250)
GreedyHMA(0,0,0,0,1,0,0,0)
Letterbox(80,20)
Convolution3d(0,4,4,4,4,2.8,0)
SimpleResize(352,288)

Letterbox is used to remove some odd noise in the borders. This script works, but if I change Simpleresize to bilinear, the problem is there. Has someone else run into this problem?

WarpEnterprises
18th September 2002, 15:33
1) Please try opening in VirtualDub
2) Then delete all commands (trim, ..., convolution) and see if it stays wrong or if another filter is involved.

I nowhere read of your problem so far.

Boulder
18th September 2002, 15:42
Somehow I got it working in TMPGEnc after trying it with VirtualDub.. I've seen this problem one time before so I'm quite sure that it's not just me screwing things up;) . Last time it happened just like it did now - I captured the clip, edited the script and put it straight to CCE. It complained about an illegal frame size and TMPGEnc showed the odd resolution it did this time as well.

Hopefully it still works after I've restarted Windows:)