VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Sep 2002
    Location
    PA, USA
    Search Comp PM
    Hey guys, just decided to sit down and learn some avisynth scripts...
    Wanted to do the picture in picture one, and this is the script i have...

    main=DirectShowSource("D:menu.mpg").BicubicResize( 480,480)
    pip=AVISource("D:clock.avi").BicubicResize(80,60)
    part1=main.crop(0,0,480,25)
    part2a=main.crop(0,25,355,60)
    part2b=pip.crop(355,25,80,60) #11
    part2c=main.crop(435,25,45,60)
    part2=StackHorizontal(part2a,part2b,part2c)
    part3=main.crop(0,85,480,395)
    StackVertical(part1,part2,part3)


    however, when i try to load it into TMPGenc, im getting...

    StackVertical: Image Widths Dont Match

    i have no idea why?!
    i have gone over it many times... can you help me?
    Quote Quote  
  2. Member
    Join Date
    Sep 2002
    Location
    PA, USA
    Search Comp PM
    so desperate, i even made a layout..
    here it is.. all the same numbers are in my script.. but its STILL NOT working!!


    i cannot sleep till i get this...
    Quote Quote  
  3. Member
    Join Date
    Mar 2002
    Location
    chicago
    Search Comp PM
    what are you askin' me for...
    I'm an idiot!
    Quote Quote  
  4. Member
    Join Date
    Feb 2001
    Location
    Berlin, Germany
    Search Comp PM
    Avisynth 2 comes with some new usefull filters, e.g. Layer.

    main=DirectShowSource("D:\menu.mpg").BicubicResize (480,480)
    pip=AVISource("D:\clock.avi").BicubicResize(80,60)
    return Layer(main,pip,"add",255,355,25)


    If you want to use the script above, relpace part2b=pip.crop(355,25,80,60) #11 with part2b=pip.
    Quote Quote  
  5. Member
    Join Date
    Sep 2002
    Location
    PA, USA
    Search Comp PM
    Originally Posted by Truman
    Avisynth 2 comes with some new usefull filters, e.g. Layer.

    main=DirectShowSource("D:\menu.mpg").BicubicResize (480,480)
    pip=AVISource("D:\clock.avi").BicubicResize(80,60)
    return Layer(main,pip,"add",255,355,25)
    Hey truman, i downloaded Avsynth 2, and used the script above, and it worked, all accept now, when i run the script, im getting "Video DeSync" or something to the effect that the video is out of sync... any ideas?
    both clips are the same framerate
    Quote Quote  
  6. Member
    Join Date
    Feb 2001
    Location
    Berlin, Germany
    Search Comp PM
    http://forum.doom9.org/showthread.php?s=8f9e6e3aa54d005a808fb849dd8a7fe6&threadid=3381...ghlight=desync
    http://www.avisynth.org/index.php?page=DirectShowSource

    This seem to be a DirectShowSource issue. Personally I never had this problem, so I can only suggest to use the VfapiPlugin m2v.vfp instaed of directShowSource.
    Quote Quote  



Similar Threads

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