Hi vade.

Thanks for the tips. I did think about the grid, but I thought there should
be a better way. So I will listen to your advice and dive in Objective c.

I an starting with the book from Aaron.Hillegass.  Also got Become and
Xcoder. Do you know a source for quicktime cocoa stuff?


Best regards


Mario

On Mon, Apr 11, 2011 at 5:54 PM, vade <[email protected]> wrote:

> This is probably something where you probably want to start delving into
> Cocoa for, to be honest.
>
> You can easily load a folder of QTMovies from cocoa, and use the [movie
> posterImage] method to get an NSImage, and set an NSButton to use the
> posterframe as its image, and set its representedObject to your movie. Then,
> when you trigger the button, the represetned object is the movie you wish to
> play. You can then use Quicktime to get images to pass to a published image
> input port to a QCRenderer you have loaded.
>
> I know that may sounds much more complicated that it ought to be (depending
> on how comfortable you are with Obj-C / Cocoa programming) but most of the
> time things can be more easily done by levergaging just a touch of Obj-C to
> augment Quartz Composers ease of use. QC is not meant to replace a larger
> programming environment, but to augment it, and do some specific things
> really well.
>
> My advice is to move some of your logic to Obj-C, and build a small app
> that wraps your QC composition. If you are hell bent on using QC, I would
> suggest the mouse patch, and doing some examination of the coordinate the
> mouse is at when the mouse down is fired. If your buttons are in a grid, it
> should be fairly straightforward to determine the index of the movie clip
> you want played.
>
> As for loading compositions dynamically, yes, you can do so with the
> Directory Scanner, get info on it and choose settings, then choose
> "Compositions", or in Cocoa you can instantiate multiple QCRenderers on the
> fly, and render them at your choosing.
>
> On Apr 11, 2011, at 3:53 PM, Mario Marquez wrote:
>
> Hi everyone.
>
> I am Imagenero..new in this list. Been using QC since late 2009.
>
> I am making a video switcher in which I want to load a folder with movies
> using the directory scanner, then I want to generate a thumbnail of each
> movie  in the directory and be able to click on the thumb to load the movie.
>
>
> So far I can read the "movies" folder, load the selected index movie into a
> player using the  structure index and make a thumbnail using kineme "Quick
> Look".  I only get a thumb of the movie loaded.  not the entire directory.
>
>
> Instead of using the index slider to load a new movie in the player i want
> to be able to click on a thumbnail to load the movie.
>
> My question is :  is it posible to create dynamically the thumbs (using
> virtual patches or composition loader) according to the number of movies in
> the directory and the members of the structure.  I don´t want to hardwire
> the number of movies you can load in the comp.
>
> I have tried using the iterator patch to create buttons(not Thumbs), with
> partial results. I can draw the number of buttons using the structure count,
> but i can´t click on them to send the id of the movie to the structure
> index.
> Since the consumer patches in the iterator can´t get an output, I can´t
> connect the button id to the structure index.
>
> I hope this makes sense.
>
> Just to resume:
>
> is there a way to create/load patches or compositions dynamically?
>
> Any ideas?
>
>
> Thanks for you time
>
> I.
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Quartzcomposer-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/quartzcomposer-dev/doktorp%40mac.com
>
> This email sent to [email protected]
>
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to