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?![]()
+ Reply to Thread
Results 1 to 7 of 7
-
-
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... -
Check out the following link for some scripts
http://www.geocities.com/diarav2002/vcd/vcd_m_menu.html -
did you read this guide?
http://www.vcdhelp.com/forum/viewtopic.php?t=99389what are you askin' me for...
I'm an idiot! -
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. -
Originally Posted by Truman
both clips are the same framerate -
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.
Similar Threads
-
New AVISynth UI
By tin2tin in forum Latest Video NewsReplies: 23Last Post: 19th Jan 2012, 01:53 -
avisynth
By sportflyer in forum Newbie / General discussionsReplies: 1Last Post: 16th Feb 2010, 04:36 -
Using avisynth
By bsuska in forum Video ConversionReplies: 8Last Post: 16th Jul 2009, 08:32 -
AVIsynth help!
By helper in forum Newbie / General discussionsReplies: 11Last Post: 15th Oct 2008, 03:35 -
Avisynth 3.0
By nbi in forum LinuxReplies: 1Last Post: 30th Oct 2007, 16:50