jit.record goes crazy in certain resolutions

matheus leston's icon

I'm noticing a very strange behaviour with jit.record: in certain resolutions, it goes completely nuts and the recorded video is completely distorted. It looks like a bad use of jit.scanwrap with straight lines becoming diagonals. The curious thing is that it only happens in specific resolutions. In this screenshot (http://imgur.com/a/j0LQs) one can se, in the left, the video rendered with 405 x 540 and, in the right, 810 x 1080, which is the resolution I want.

I'm working with jit.gl.asyncread but it seems that it's output is perfectly fine, as I have checked with jit.pwindow and jit.matrix. I've also tested with the matrix output of the jit.world straight to jit.record and the same thing happened. I'm on a Mac Retina 13", but have also tested in a 15" computer, latest Max version, avf. The only way to solve this issue seems to be to use qt as video engine in 32 bit mode and with limited codecs, which is far from ideal.

This is something that I have noticed a long time ago, but now I'm really depending on it. Any ideas on why this is happening or if there is a solution?

(I know that the common solution for video recording in Max is Syphon, but I'm working on a project in which the recording is also controlled by the patch, so I'm going with jit.record or any other possible Max solution).

Rob Ramirez's icon

hi MATHEUSLESTON, i'm having trouble reproducing, please post your patch.

matheus leston's icon

Hi, Rob. As the original patch is ultra big, I have reproduced the problem with this small patch:

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

And this is the result: http://imgur.com/a/g4kvi

Rob Ramirez's icon

thanks much, i can reproduce.

matheus leston's icon

Rob, I'm curious: any news about this? Is it really a bug? Also, if there is some other testing you need to be done, count me in!

Rob Ramirez's icon

it's a bug. will hopefully get if fixed for the next update.

matheus leston's icon

Oh, I see. I'm glad I found it! ;)

chrislos's icon

hey guys. did you find a solution? I'm having the same probleme here... :(

matheus leston's icon

I thought it was fixed a few months back in a Max release. Is your Max version updated?

chrislos's icon

matheus you're totally true. Had a little bug, that caused kind of the same weird distorted video.
thanks for you quick response.

best c.