I want to resize to 640x352. It's resizing to 576x304. How can I fix it? The script is below.
Code:LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\deblock.dll") LoadPlugin("C:\Program Files\Avisynth 2.5\plugins\msharpen.dll") LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll") AVISource("D:\Weird Science (1985)\video.avi") DeBlock(35,0,0) Return ChangeFPS(30000,1001) TFM (AVISource="D:\Weirddd Science (1985)\video.avi") TDecimate() LanczosResize(640,352) MSharpen(10,100,true,false,false)
+ Reply to Thread
Results 1 to 7 of 7
-
-
assuming your video is progressive, it all depend of the color space used: RGB,YUY2, YV12.
RGB,YUY2: no restriction
YV12: MOD2 (= multiple of 2)
Why do you load the same video twice, i know i'm a beginner with avisynth but i find it strange*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
Thank you for the info. How do I write a script for YUY2? I tried YUY2(). I get something like a script error.
-
How do you know it's resizing to 576x304?
It has nothing to do with the color space used. In fact, you should be keeping it YV12 all the way through.
That script makes no sense at all.
Why are you reencoding an AVI to AVI?
Go back to using AutoGK as you've learned nothing at all. -
i think i made a mistake between crop & resize: crop size depend on color space
DeBlock() works with YV12 only if i'm not mistaken so try to add:
ConverttoYV12() before deblocking*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
It's not resizing to 576x304. Your original source AVI is 576x304. It's not resizing at all. Why not? Because of that stupid:
Return ChangeFPS(30000,1001)
Nothing happens after a Return. Your script is nonsensical; it's gibberish. As near as I can tell you took an already 23.976fps 576x304 AVI and changed the framerate to 29.97fps by adding a duplicate frame after every 4 frames and then you tried to IVTC it back to 23.976fps. Of course, even if the script did read past the return line, it wouldn't open because the 2nd AVISource gives the movie a different spelling. Not to mention that you can't use AVISource inside of TFM.
So again, why are you reencoding an AVI using a higher resolution (if you ever manage to get the script right)? You don't seriously think that's going to improve the AVI, do you?
Go back to AutoGK.
Similar Threads
-
resizing...
By backslash in forum LinuxReplies: 1Last Post: 4th Jul 2010, 17:14 -
resizing
By marcopolo1 in forum Video ConversionReplies: 7Last Post: 11th Oct 2009, 18:06 -
resizing help
By shaktiIIIgta in forum Newbie / General discussionsReplies: 14Last Post: 15th Nov 2008, 21:52 -
resizing, I'm confused!!!
By nalooti in forum Video ConversionReplies: 5Last Post: 19th Nov 2007, 08:14 -
Resizing Without Recompression.
By Rez. in forum DVB / IPTVReplies: 8Last Post: 2nd Aug 2007, 12:17