View Full Version : Resize error when running AVS script in MeGUI 0.3.1.1011
sstong
6th February 2009, 18:16
When running an AVS script in MeGUI 0.3.1.1011, I got this error:
"Source image too small for this resize method, Width=0, Support = 4"
Script:
DirectShowSource("C:\sample3.mkv")
AddBorders(0,88,0,88)
Lanczos4Resize(1280,720)
Resolution of sample3.mkv is 1280 x 544
How can I resize this movie to 1280 x 720? Aim here is to resize sample3.mkv for AVCHD compatibility.
Thanks.
b66pak
6th February 2009, 19:44
you don't need to resize! try:
DirectShowSource("C:\sample3.mkv")
AddBorders(0,88,0,88)
now you have 1280x(544+88+88=720) what you need...
_
sstong
6th February 2009, 20:50
hmmm... Now I get a different error message!
"The file C:\sample3.mkv cannot be opened.
Please make sure it's a valid AviSynth script and that AviSynth is properly installed."
How do I ensure that my installation is correctly done?
Installed:
ffdshow_rev2639_20090127_clsid
Avisynth_258
yuvcodecs-1.2
Xvid-1.2.1-04122008
Am I missing something?
Thanks.
poisondeathray
6th February 2009, 20:56
haali splitter?
sstong
6th February 2009, 21:24
How is haali splitter different from FFDSHOW?
poisondeathray
6th February 2009, 21:29
How is haali splitter different from FFDSHOW?
ffdshow in this context will function as a decoder (but it does more than that)
Haali media splitter is required to to split the video & audio to feed into a suitable decoder in directshow filter graph. You won't be able to use DirectShowSource() in your .avs script without it (or a comparable splitter) for your .mkv
Adub
7th February 2009, 03:26
hmmm... Now I get a different error message!
"The file C:\sample3.mkv ....
You tried to load the actual mkv file. Not the avisynth script. That's why it's not working.
sstong
11th February 2009, 18:21
able to resize clip after installing haali splitter. Thanks.
mikebzh44
10th March 2009, 17:34
Hello,
I have the same problem and make the same script
DirectShowSource("G:\BLURAYDISC\l age de glace 2.mkv")
AddBorders(0, 16, 0, 16, $000000)
I use is with MeGUI but the target MKV is very small because the bitrate was reduce (7276 -> 700 Kbps).
How can I apply my script to keep the same video quality ?
Thanks
poisondeathray
10th March 2009, 17:40
Hello,
I have the same problem and make the same script
DirectShowSource("G:\BLURAYDISC\l age de glace 2.mkv")
AddBorders(0, 16, 0, 16, $000000)
I use is with MeGUI but the target MKV is very small because the bitrate was reduce (7276 -> 700 Kbps).
How can I apply my script to keep the same video quality ?
Thanks
The script and encoder settings are independent. You want to change the encoder settings to a higher bitrate, or a lower quantization factor (i.e. adjust the number in the profile)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.