Prettz
26th April 2003, 18:04
I always have trouble when initially setting up a quick script to compare two clips with StackVertical or Interleave, and it usually takes me a good deal of time each time to tweak the script so that the two clips are compatible. But this time I've been trying to get Interleave work for several hours and am still no closer to figuring out why it won't work than I was at the beginning.
I'm trying to combine a DVD source (with a few filters applied to it) and an Xvid avi source, which is 544x304, 23.976 fps. Here's my script:
LoadPlugin("C:\Program Files\Avisynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\Avisynth 2.5\plugins\Decomb.dll")
MPEG2Source("C:\Metropolis\metropolis_full_02.d2v")
Telecide()
Decimate(cycle=5)
Trim(80525,-69048) #80525+69047=149572
Crop(8,8,-10,-12) #new res: 702x460 (mod 2x4)
BicubicResize(544,304) #after cropping, produces 1.1% aspect error
a = ChangeFPS(23.9756).Subtitle("org")
AVISource("C:\Metropolis\test2_part2_10.avi").KillAudio()
b = Subtitle("10")
Interleave(a,b)
This always produces the error message:
Avisynth open failure:
Interleave: video attributes of all streams must be identical (C:\Metropolis\join_02.avs, line 15)
Obviously I tried a few scripts to find out what avisynth thought the video attributes of each were. I took a screenshot of each and combined them into one pic to attach it here.
The top frame of the pic is from the script
MPEG2Source("C:\Metropolis\metropolis_full_02.d2v")
Telecide()
Decimate(cycle=5)
Trim(80525,-69048)
Crop(8,8,-10,-12)
BicubicResize(544,304)
Info().Subtitle("framecount = " + string(Framecount()), y=200)
The bottom frame is from the script
AVISource("C:\Metropolis\test2_part2_10.avi").KillAudio()
b = Info().Subtitle("framecount = " + string(Framecount()), y=200)
I HAVE to be missing something here, because I've been tweaking and rearranging the script a thousand different ways and nothing makes a difference.
I'm trying to combine a DVD source (with a few filters applied to it) and an Xvid avi source, which is 544x304, 23.976 fps. Here's my script:
LoadPlugin("C:\Program Files\Avisynth 2.5\plugins\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\Avisynth 2.5\plugins\Decomb.dll")
MPEG2Source("C:\Metropolis\metropolis_full_02.d2v")
Telecide()
Decimate(cycle=5)
Trim(80525,-69048) #80525+69047=149572
Crop(8,8,-10,-12) #new res: 702x460 (mod 2x4)
BicubicResize(544,304) #after cropping, produces 1.1% aspect error
a = ChangeFPS(23.9756).Subtitle("org")
AVISource("C:\Metropolis\test2_part2_10.avi").KillAudio()
b = Subtitle("10")
Interleave(a,b)
This always produces the error message:
Avisynth open failure:
Interleave: video attributes of all streams must be identical (C:\Metropolis\join_02.avs, line 15)
Obviously I tried a few scripts to find out what avisynth thought the video attributes of each were. I took a screenshot of each and combined them into one pic to attach it here.
The top frame of the pic is from the script
MPEG2Source("C:\Metropolis\metropolis_full_02.d2v")
Telecide()
Decimate(cycle=5)
Trim(80525,-69048)
Crop(8,8,-10,-12)
BicubicResize(544,304)
Info().Subtitle("framecount = " + string(Framecount()), y=200)
The bottom frame is from the script
AVISource("C:\Metropolis\test2_part2_10.avi").KillAudio()
b = Info().Subtitle("framecount = " + string(Framecount()), y=200)
I HAVE to be missing something here, because I've been tweaking and rearranging the script a thousand different ways and nothing makes a difference.