PDA

View Full Version : How to check two sources with different resolution


loa-ash
9th January 2008, 16:01
avisynth has this function that check different video with same resolution:

a=MPEG2Source(file1)
b=avisource(file2)
StackHorizontal(a,b)

or

StackVertical(a,b)


....but If I want check two sources with different resolution, how can I do with Avisynth?

neuron2
9th January 2008, 16:15
You can use AddBorders() on the smaller one to make it equal to the larger one.

loa-ash
9th January 2008, 16:41
mmh doesn't works:

a=MPEG2Source("is.720x576")
b=AVISource("is.640x288")

AddBorders(b,0,288,80,0)


Stackvertical(a,b)

what's wrong?

neuron2
9th January 2008, 17:16
a=MPEG2Source("is.720x576")
b=AVISource("is.640x288")

b=AddBorders(b,0,288,80,0)


Stackvertical(a,b)