It's a pain in the A---
I downloaded AVIsnyth 2.5 because I was told it was a way to get 2 difference videos to play on one screen.
But, every time I try to do something I get a "Scrip Error"
Even the most simple of things can't been done
For example?
I found the following scrip on this site how to guide to make a split screen:
AVISource("e:cap.avi")
h1=crop(0,0,360,576)
h2=crop(360,0,360,576)
StackHorizontal(h2,h1)
But when I run it I get a message that the Crop command can't be used to "resize" a clip (and yes I did change the file name to one that is on my computer)
Even if in the very rare case I do get somthing to happen. Media Player won't play the resulting file!
It tries to contact Microsoft to download a code it keep saying it need.
Howewver, if I click of files, then propities, I do get one frame to appear with alot of noise and upside down!
Can someone please help![]()
All I want is to play 2 difference videos, side by side![]()
+ Reply to Thread
Results 1 to 12 of 12
-
-
First, your script for h2 says to crop 360 from the left side and at the same time only allow frame less than 360 from the right side. You end up with nothing there and I assume that is what avisynth is not liking. As for playback causing problems and media player asking to download a codec, that is not avisynths fault. First, stop using Media player. Use zoomplayer or something like that. Second, you didn't mention what codec you are using to compress/convert to so can't really help you there except to suggest trying to play it in VLC. If VLC can't play it then you really do have problems.
-Suntan -
Should be:
AVISource("e:cap.avi")
h1=crop(0,0,360,576)
h2=crop(360,0,720,576)
StackHorizontal(h2,h1) -
Ensign:
You've got bad syntax i think
Try this:
AVISource("e\:cap.avi")
h1=crop(0,0,360,576)
h2=crop(360,0,720,576)
StackHorizontal(h2,h1)
Good Luck!
Rog -
First, thanks for the replies.
But, nothing you have written has worked
Everytime I try to use the StackHorizontal command I get a message telling me that:
Crop:You Can't use Crop to enlarge or "shift "a clip.
(C:\Documents\text_files\atack.avs, line 2)
I get this in both media player 6.4 and VirtualDub 1.4
Yet, I have found that some files that did not play in the former do play in the latter
So, if the sample scrip you have posted are correct, why do I keep getting the "crop" error message?
P.S.
>pretty good set of documentation. You should probably have a look at them.
That was the first thing I did
It was of no help -
This script works for me:
LoadPlugin("d:\program files\HOLDER\mpeg2dec3.dll")
mpeg2source("d:\Experiment\CHHTEST.D2V")
v1=crop(0,0,352,480).trim(100,0)
v2=crop(352,0,352,480)
stackhorizontal(v1,v2)
ConvertToYUY2()
Notice that in variable "v2" the first 352 and the second 352 add up to 704, which is the width of the original video. If you EXCEED the width (or the height) of the original video, you will get the error you mentioned.
This script is for NTSC. From your values, I am assuming that you are PAL. If not, then that is your problem.ICBM target coordinates:
26° 14' 10.16"N -- 80° 16' 0.91"W -
I got it to work
But....
I have 3 short questions
1: how can I get 2 difference videos to be shown side by side
2: how can I get VirtualDub to be the defult player for AVS files
3: how can I record the output of AVIsynth to a VCD?
(I tried, but VirtualDub can't detect my AVI capture card, and my other programs eithr send a error message or don't even notice a AVS file)
P.S I live in a NTSC world -
1:
v1= AVISource("e:clip1.avi")
v2= AVISource("e:clip2.avi")
StackHorizontal(v1,v2)
2: Hold shift and right click on an AVS file. Select open with and then select "choose program." If you see VirtualDub highlight it, otherwise hit browse and point it to the vdub executable. Then click on the box titled, "always use the selected program to open this kind of file." Hit Ok.
3: You could just hit file/save avi in VirtualDub and select raw avi. This will create an uncompressed (huge but no quality loss) avi file which you can load into any mpeg encoder to encode to vcd compliant mpeg1. You could also frameserve from Vdub to another encoder by following the frameserving guide on this site. A better option would be to just load the AVS directly into your encoder. You could, for example, do everything in the free trial version of TMPGenc. Just add this line to the end of your script...
ConvertToRGB32
And then load the AVS file into TMPGenc. Hit browse on video source and tell it to show all files, if AVS isn't an opiton. Load the appropriate NTSC VCD template (NTSC if framerate is 29.97 and NTSCfilm if framerate is 23.976fps.) and then just tell it to encode. -
Thank You
Your Mighty Mop of Justice has done it again
I now have what I wanted all along
You would think with a college education I could have done it just by reading the AVIsymth help files.
But, some things are better left to the nerds
Similar Threads
-
AVIsynth refuses to work anymore... Plz help!
By Nagashi in forum Newbie / General discussionsReplies: 3Last Post: 24th Dec 2010, 17:44 -
how do I install x264.exe to work AND to work with Lemings GUI?
By Krelmaneck in forum Newbie / General discussionsReplies: 1Last Post: 14th Nov 2010, 22:13 -
AVIsynth help!
By helper in forum Newbie / General discussionsReplies: 11Last Post: 15th Oct 2008, 03:35 -
HELP Burn using Nero Express doent work /but NERO VISION work fine
By STAR36 in forum Authoring (DVD)Replies: 4Last Post: 28th Apr 2008, 16:11 -
How much do you work? (work = doing something you are getting paid for)
By Baldrick in forum PollsReplies: 20Last Post: 26th Nov 2007, 15:35