movie ratio adaptation pixelated

Fixrobert's icon

I've been searching and searching again but there's definitely something I misanderstand about movie ratio with Jitter.

I want to mix different video sources (movie, camera, colored background) with different ratio,
and make every sources appear with full definition, maximum size and original ratio in full screen.
I've been trying to play with srcdim and dstdim of a matrix inserted between jit.qt.movie and the jit.gl.slab who mixes the two sources.
it works for ratio but displays movies with the wrong definition, (got a pixelation effect - witch disappears when matrix is in adapt 1, but it kills the ratio adaptation solution).
I realy don't understand why a HD movie (1920x1080) appears pixelated in a 1400x900 screen when using source and destination dimension of a matrix to display it with its own ratio.

second problem : when displaying a video source with its original ratio, we've got those two horizontal (or vertical) black bars.
using the yuyv conversion, they are green. but I want them in the same color than the background I've created with a swatch objetct - so I can mix the two sources softly.
With only one movie to display, it's easy to appli that particular background color to the erase_color attribute of the jit.gl.render.
but, when mixing two different sources, it must be applied before the jit.gl.slab who mixes the sources.

Max Patch
Copy patch and select New From Clipboard in Max.

any help much appreciated

Fixrobert's icon

sorry, this should have been posted in Jitter's forum.
I do it now