Bug with jit.qt.play using the Window commande with asyncread
I have a problem which I think is a bug. I try to use asyncread to read movies in jit.qt.movie and it does not read in the window, it reads in the top left part of my main screen!
If you load the patch pasted down, and you resize and reposition the window ‘Optimized’ and you asyncread, you will be surprised!
keep me posted if it is just me!
----------begin_max5_patcher---------- 1351.3oc0Y0sbahCE9ZmmBML6ktD8KH5UoO.c161a1oSGYPIlF.4EjSRSm9t uBISiwArww1DxEI1bPVbNe567K+5pYdKTOIq7.eF7ufYy90UylYEUKX1lqm4 kKdJNSTYWlWtrpRbmzat6dZ4SZq7JsnTOGbmTmrtTnSUEMKIMwt.0he7onFY 2pJzEhbo8NeoLUj0bmh04oEYRs8ogeQnZstQJZqMoJ8Y6lfv9vMhcqT+yURm c44A91lasRniWlVb22KkwZ2cCPAleIfP40effH6GlK.eq9276qtp9eyGH5XT zExxNrbF7HMcTmlN9HM8zBs2bf2BQwc6EEXAvZ6lFVuW.l8BL7sBBxGMl7qX HkFsSBZXGfRoHoCfhxOK.E4X4Hy272dQIlEdnDGIwteucXpOOIQ0OKhqQGve g5BfBldNQjnHKTDPq+fSNIenEq05NidfQGAA.0mgbPeAByFJfQaNcu.tBhhD UdGlH584vsNLw.fDtCXPWtnCwp00QrdMtvdWBedvHBTpkefXV9e3EAYxThDK osCX47jU4XoKGzEBiBsIUcYSCfWj3j0JTE3qJ0+LGrRsZclPKm2KChO8hZRo 1DHbGEJ3zhZtNWVrtwRDq0pFHYa0dapy6RZ1M0iz1uxdPZe70Gld6ILjiIgH gtZ01hW0XfZYdUCKcgHKyOW8P8SatsLnLQhYGaIyxWRTOVzsTDqs7RQ0RsrR 2RZRZ0RYUaQpmkksk7Px5362YUObuQiaI5NQ4BCaukL0x1W9rpn8BJEos0+x XQ6qkIuBMzkh36QuVDdWQ2daZbKYOtTJc60Kz6R4soV9oW7RUkr5yW+kUqxR isE6Uc8WEOwt1djJqtNWljJt16LFK3wTSB0GA+8JcZtgF1UgkroW.flvjXri OyOsdO5N8wOR09+mkulJA2HRDqz.j4KlPD1d1.PvMYJ0J.rKPK5cIuqQm+dt PWZXTGJCLAZS8RXLav.J8jx0zasmAvQo1SW4DLX3Yn1y97U9T.sCCjfmd9GH WinDWcmDrO6DbO5CNPTLuK7.MAwChCNrb7MIAO2vAOpS1Ab5gFgNVAI7RRNf c5rfmfCxh3XED9YfbzeK37woEbGQGwtbsfumtpvgSytpbnBNBdFZpp2AUhdq yeyjstJVjYWNzOZ30Af7YQLDO7TmgIBx7oFNCJZNfhn9A3fHF4zmlYuHUzGU jhQ8IQPL+LCTc6nsRbuo87JSCtPC8uqhLwGaxExv82NDjsebB4C4AQHpAmnH +vHbHOXNHhdYHTX7GWWOCihRCHlbvD2fLtTdcXxGVuNhOARnvfyFF0uCWsxu OON5T0iyUvuIEGJfwIlfRQAWBLpto3cmY.3lBkHNVlU2d7BUYhrr6dhCeW5I 1Urx.hXU+Z7bQnbuSyWgc1MvKKsX227qcCqk2FPqTqKiaTilWAE3kgtkHqzo Et246KKpdzAasnkoIIR68arv7zjUJiyyFknmi2gpS0ubnCpSnfQUmPCAmPiq JwFJLgFOcx7zvGRkXiKLAGBCeTUI1zymiO4n23gnR0i5ZD0ocdb8.S7IHNME O6fi6Y2fxpLtdcjgDaBOtbbbzPzIxziOgG4pTFTdkvwUmnSPchLjyN5wUlR. 1m2z.FOvOLDatxzggaho+QxoV5vfbEfGopS74MSrgv8IQ7HSGVVUuY.E+Q7o B83gB83gq+Hjw.ZFPvVXOhD3yNmfOenf+Qo7T+nlAKtE5iHLe1YG9CGhELtU KvFhNELtYlQsbf5Vknia6d1puOnNMtGczg3PvfiuNcHbZbyKGcoatxbwuu5+ AuYP8SB -----------end_max5_patcher-----------
am I the only one?
any confirmation would be welcome, as I can reproduce this on all the machines I have tested
It’s not just you.. I’m on a MBP C2D, 10.6.6 and half my screen is eaten up by the image. Had to quit max to get rid of it..
the same here. pretty strange.
MacBookPro5,3 – 10.6.6
thanks to you both, I am happy to know it is generalised.
I will probably sent a message to support now, but in the meantime I could do with some help trying to go around this.
What I try to do is to play random clips from a large pool (over 40 clips) without any latency while I switch. The clips can be up to 3 minutes so no RAM preload is possible.
the current approach is to have 2 jit.qt.play sent to the same window, one reading whilst the other one preload. I have problems with this. If I use read, I get the read file to ‘publish’ a frame when loaded (despite being stopped). i was hoping that asyncread would not to that but I get this strange bug…
any help/pointer welcome!
any idea before I send this to support?
Thanks for the report, I can repro some problems with @window and asyncread, we will take a closer look.
What approach would you take to try to achieve instant random access in the meantime? 2 alternating jit.qt.player with real matrix output to 2 openGL textures preloading? It will definitely be more heavy in term of passing full resolution films to textures than to use the ‘direct_to_window’ trick…
thanks for your help
In this case, the @window attribute is causing the problems, so just avoid this. Use a patch cord or a send/receive pair.
You might want to check out Andrew Benson’s excellent VPS tutorial:
It uses poly~ to asyncread/loadram a video bank.
But maybe I’m not understanding your issue now. If so, please feel free to send along a simple example patch.
I cannot use loadram because the clip pool is too big. I’ll go through a gl.texture.
There was talks of having an attribute to jit.qt.movie to play straight to a texture, is that in the pipeline or has it been put on the wishlist?