VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    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)
    Quote Quote  
  2. 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
    Quote Quote  
  3. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    Thank you for the info. How do I write a script for YUY2? I tried YUY2(). I get something like a script error.
    Quote Quote  
  4. 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.
    Quote Quote  
  5. 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
    Quote Quote  
  6. Member
    Join Date
    Jul 2008
    Location
    United States
    Search Comp PM
    I seen the resize in MediaInfo.


    Originally Posted by manono
    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.
    Quote Quote  
  7. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!