adding in uyvy colorspace

    Nov 03 2012 | 4:43 pm
    I'm developing a very simple Max patch to control the playback of short Full HD video files. After some research in the forum, I found out that the best way to do so is using the Apple ProRes 422 (LT) codec and UYVY. Indeed, it worked out really well and I was able to get a smooth playback. But I want to play up to four files at the same time (adding them) and I'm not quite sure what is the best way to do so. I read the tutorials about colorspaces, the help files, and some patches posted here in the forum, but I admit I'm still a little puzzled.
    This is what I came up with:
    There will be no effects, no editing, just normal playback of those files. Is this the best way of doing it? Can I improve it somehow?

    • Nov 03 2012 | 10:29 pm
      Hello, What kind of trouble do you have... "smooth video"....does this mean it's hanging on or missing some images? Once you read the file with do you need to stay with uyvy colormode. As Joshua said some time ago everything is argb on gpu so once it's read you should at first create a texture to convert back to argb May be using a kind of @file cc.uyvy2rgba.jxs @dimscale 2 1 or another one which does this kind of conversion as first in your process and then do your stuff. So whatever! Be aware that it's not an easy thing (if not impossible yet) to read as smoothly as quicktime does some HD video.... But if you're not that much "cinema" it should run for you. HTH Cheers Hubert PS: it 's always good to add OS, processor type, ram, max version says my grandfather Max
    • Nov 05 2012 | 3:37 am
      Hubert, thank you very much for your answer. And I'm sorry, I think my post wasn't quite clear.
      By "smooth" I meant that everything seems to be working fine. When I test the patch, the playback is consistent. But I actually can't test the whole system (it envolves Max 6. Max for Live and Ableton Live, to sync audio clips with video loops) and running both in the same computer makes the video "choppy" - it is an "old" Macbook Pro, core2duo (2.8) with 8gb ram. I have ordered a new Macbook Pro (15" retina, i7, 2.6, with 16gb ram) to run the video and while I'm waiting I started to develop and test this patch.
      As I'm not familiar with this kind of thing (GPU), I want to know what is the best way to do it. Maybe my patch does more processing than necessary, and it could be avoided. I need a straightforward and simple 4 channel video player, and maybe there is a more efficient way to do it. What do you think?
      Is this what you suggested?
      Thank you again!
      Best, Matheus.
    • Nov 06 2012 | 5:07 pm
      hello Matheus, you could put things a bit more further using @file 43j-four.jxswaymix like in the tutorial 43jYourVeryOwnSlab... By the way running Live and jitter stuff on your new MBP( i would like the same in fact) should be ok !!! But i would consider using the message loadram for each movie and if you have several video try to use a kind of copy paste from VPS4 tutorial from Andrew Benson... HTH cheers Hubert
    • Nov 19 2012 | 5:45 pm
      Hubert, I'm so sorry that it took me that long to answer you. I've been quite busy.
      Thank you, that is really informative. For sure it is something that I need to study more. I started to develop my own custom file for, and I hope that soon I will get the result I want - I'm still trying to understand everything by reading the tutorials and using the efficient method of trial and error.
      I also began to read the full Andrew Benson tutorial, indeed highly informative. For sure I will use some of its ideas.
      Once again, thank you!
      Best, Matheus.