Forums > MaxMSP

movie ratio adaptation pixelated

March 13, 2011 | 8:50 pm

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 (1920×1080) appears pixelated in a 1400×900 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.

any help much appreciated

– Pasted Max Patch, click to expand. –

March 13, 2011 | 8:54 pm

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


Viewing 2 posts - 1 through 2 (of 2 total)