You are using some movie playing framework, and have it setup so that the output image can be successfully received into an image port?
Then investigate if the movie playing framework has a method to return a duration. Return that duration as a float. Publish a number input in your composition, and send the data to that input. You should be able to find examples/documentation of this. Otherwise, there is also a movie patch in QuartzComposer that delivers a duration output, but there are some limitations to the patch. Best Regards, George Toledo On Aug 6, 2013, at 11:00 AM, Simon Ubsdell <[email protected]> wrote: > Hi Achim > > Thanks for your advice - I see what you're saying and that makes complete > sense. Can you think of another way that I could achieve this, i.e. not > using protocolInput_Image? > > All the best, > > Simon > > On 6 Aug 2013, at 15:18, Achim Breidenbach <[email protected]> wrote: > >> Hi Simon, >> >> I don't think this is possible. This protocol is defined for images only and >> so you only get a real image, even if its an extracted frame of a movie. >> This image maybe just a texture in the graphics card and don't have any >> timely information. >> >> best, >> >> Achim Breidenbach >> Boinx Software Ltd. >> >> >> On 06.08.2013, at 12:37, Simon Ubsdell wrote: >> >>> Is it possible to interrogate the length of a clip assigned to a QC >>> composition via protocolInput_Image such that you can use the duration >>> value within the composition? >>> >>> Many thanks for any advice on this. >>> >>> Simon Ubsdell >>> >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Quartzcomposer-dev mailing list ([email protected]) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/quartzcomposer-dev/achim%40boinx.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: > https://lists.apple.com/mailman/options/quartzcomposer-dev/gtoledo3%40gmail.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: https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

