AEIO_DrawSparseFrame (Writing plug-in)

We are writing an import type plug-in for After effects.(AEGP)
In AEIO_DrawSparseFrame call we get an object to AEIO_DrawSparseFramePB.
typedef struct {
AEIO_Quality qual;
// CW adds 2 pad bytes here
AEIO_RationalScale rs;
A_Time tr;
A_Time duration;
A_Rect required_region; // empty rect means entire
AEIO_InterruptFuncs inter;
} AEIO_DrawSparseFramePB;
There is no mention of the above structure in the SDK help.
But what we could make out is that tr(A_Time) represents the frame time.
The problem which we are facing is that when we export the contents, we do not get consecutive frame times in calls to AEIO_DrawSparseFrame.
But we get frame times with a difference of 1 i.e we get 0, 2, 4, 6, 8 and so on, or sometimes the difference is 3 also.
But when we play the contents we get the consecutive frame times in tr parameter.
Pls guide on how to get/interpret the right frame times while playing/exporting/scrubbing.

there are two sample projects in the sdk that would be of interest to you.
1. IO (deals with importing and exporting of custom file types)
2. FBIO (the same as the above, but deals with frame sequences and not with movies)
there is one thing you should consider when doing this as an import plug-in:
as opposed to premier, that seeks the original file every time to display it, AE caches frames.
so even if you change the source, AE will not necessarily show that, until the "footage" is re loaded or AE starts recycling ram.
you can change the preferences of AE so that it doesn't cache anything, but then you seriously impair AE's performance.

Similar Messages

  • Writing plug-in for After Effects

    I wish to write a character generator kind of a plug-in for After Effects.
    We have written similar plug-in for premiere which used to be created using the Import option in Adobe Premiere Pro.We managed to import our format and that was put on timeline, and then supplied content using our engine, when imImportImage callback was called.
    In PremeirPro there was only one entry point.
    What I got from reading the After effects SDK help was that there shall one entry point if we wish to write an effect.But we dont wish to write an effect but an importer.
    Will it be a AEGP plug-in?
    How should we go about it? Can we have a sample plug-in of such type, wherein a custom file format is implemented?
    regards
    Jasleen Kaur

    there are two sample projects in the sdk that would be of interest to you.
    1. IO (deals with importing and exporting of custom file types)
    2. FBIO (the same as the above, but deals with frame sequences and not with movies)
    there is one thing you should consider when doing this as an import plug-in:
    as opposed to premier, that seeks the original file every time to display it, AE caches frames.
    so even if you change the source, AE will not necessarily show that, until the "footage" is re loaded or AE starts recycling ram.
    you can change the preferences of AE so that it doesn't cache anything, but then you seriously impair AE's performance.

  • Writing plug-ins for IE and Netscape on Java2

    Please, help me with some information about how to write plug-ins for IE and Netscape on Java2.

    Please always continue on a single thread and don't litter the forum with questions of the same topic
    http://forum.java.sun.com/thread.jsp?thread=511660&forum=54&message=2432223

  • Looking for someone to write custom Premiere plug-in

    Hello
    I am looking to find a programmer with a working knowledge of writing  plug-ins for Premiere to write a custom plug-in for Premiere CS5.
    The plug-in is extremely simple. It will be a Video Effect that can be  applied to a clip on the timeline. It has one control that slides the  top half of the clip to the left and the bottom half of the clip to the  right; by a user defined number of pixels.  However the plug-in then  needs some kind of global control that allows the user to change the  functionality of ALL instances of the effect in the current sequence -  so at a command they slide the ENTIRE image left or right, and not just  the top/bottom half.  This could even be implemented by writing 3  plug-ins and shutting down Premiere, substituting the plug-in file on  disk and re-starting it.
    The reason we want this is that it will enable us to handle changing the depth of stereoscopic 3D clips in a Cineform workflow.
    This is a paying job and anyone interested should email me at [email protected] I can supply more detailed information about the functionality if needed.
    /ben

    Wrong place... try where the programmers hang out
    http://forums.adobe.com/community/premiere/premierepro_current/sdk

  • Plug-in develpment

    So, I've been thinking for a while on my project, how to implement new code(read program) into existing application and I come up with plug-in technology.
    problem: I would like to develop my plugin model for my app.
    So I'm asking u for some links, tutorials and related stuff or any suggestions on writing plug-in model.
    This has nothing to do with officical Java plugin technology!!
    tnx!

    Judy,
    Sure enough, the post I was referring to was pretty old. Thanks for
    clearing that up for me.
    Mike Buksas
    Judy N. Green wrote:
    > "Michael Buksas" <[email protected]> wrote in message
    > news:[email protected]..
    > | Hi all. Apologies if this question has already been answered to death. I
    > | wasn't able to find it in this group or the FAQ, so here goes...
    > |
    > | A previous post refered to a project management tutorial in the help
    > | section which could be found via the main Help menu, then "Help
    > | Contents" and "C/C++ Development User Guide". This entry doesn't appear
    > | in the help menu that I see. I do get entries for Java Development,
    > | Platform Plug in Develpment, etc...
    > |
    > | I've installed eclipse-2.0.2 GTK version for Linux on RedHat 8.0 and I
    > | unzipped version 1.0.1 of the CDT (200212181139) in the eclipse directory.
    > |
    > | I can edit and build a simple C++ project, so the CDT installation seems
    > | to be working fine. At least I think so. To test it further, I'm going
    > | to need to get my hands on that user's guide!
    > |
    >
    > Hi Mike,
    >
    > The CDT is currently lacking any online documentation. The project
    > management tutorial that you are refering to is most probably from the
    > Eclipse Core documentation, which is available online through the help menu.
    >
    > You may have run across a very old post (pre August), which would have been
    > refering to the initial IBM CDT. The current version is very different than
    > the initial contribution and we were not able to use any of the old
    > documentation.
    >
    > Sorry for the confusion.
    >
    > -Judy
    >
    >
    > | Thanks for your help,
    > | Mike Buksas
    > |
    >
    >

  • Acrobat SDK parameter definitions initialization locations

    I just updated an old plug-in to work in the SDK 9 environment using Acrobat 9.1.3.  It works great now.  However, our user community is still using Acrobat 7.  My plug-in won't load in an Acrobat 7 environment (Windows PC with Acrobat 7 installed on it).  Which parameters control whether my plug-in will work with prior versions of Acrobat such as Acrobat 7?  Or do I need to install Acrobat 7 on my PC with the Acrobat SDK 7?
    As I've research this issue, I've found numerous C++ compiler parameters whose definitions are checked by various C++ header files.  However, I don't know where those headers are initially set.  For example, where is PI_ACROVIEW_VERSION initially set? 

    Thanks for the very quick response.  I just found the header file that contains a lot of the definitions that may allow me to configure my plug-in to work in Acrobat 7 as well as Acrobat 9.  The header file is PIRequir.h.  Do any other header files need to be updated to define the SDK and Acrobat versions?
    Along with my getting up to speed writing plug-ins for Acrobat, I am having trouble compiling my working plug-in ourside the Acrobat SDK 9 Sample plug-ins directory/project environment.  I defined a new DLL Project using Visual Studio 2008 under the Visual Studio Projects directory but some C++ compiler parameters were not properly defined.  I tried to set the project properties to be the same in the new project as it was under the Samples project (i.e., the BasicPlug-in defined as the startup project).  But I'm getting some compile errors because certain parameters are apparently not set properly.  Note that I used Visual Studio 2008 with the Acrobat SDK 9 but I converted the BasicPlug-in to be my new plug-in and it worked fine.
    Anyway, if you know any secrets for setting up a new Acrobat plug-in in Visual Studio 2008 Visual C++ project to ensure that the C++ compiler parameters are set properly such as which the ones that need special attention in a newly defined project, that would be very helpful.

  • Automating Shared Review for Reader using the Acrobat 9 SDK

    I am new to the Acrobat SDK as well as writing plug-ins.
    However, I have been tasked with implementing a "Shared Review" in Reader for collaborative proofing.  I understand how to do this using the "Send for Shared Review" wizard in Acrobat, however I need to automate this process.  The PDFs that will be proofed in a "Shared Review" session using Reader are generated from a hot folder process, so there is no physical end user to run the Acrobat 9 "Send for Shared Review" for every PDF.  I need to automate this process.
    I was told that the SDK would allow this, but at the same time I have read some posts that claim this can not be done in the SDK and LiveCycle is required.
    Can someone confirm that the SDK can enable a PDF for "Shared Review"?  If so, how is this done?
    If it can not be done, is the only option LiveCycle or can an Acrobat macro be written to simulate the "Send for Shared Review" wizard?
    Thanks in advance.

    Is it technically feasible?  Yes, but it is far from simple.
    Is it possible?  Probably not.
    In order for Reader to load a plug-in, that plug-in must contain a certificate provided to you by Adobe after completing the "RIKLA" process (Reader Integration Key License Agreement).  Part of this process is a team at Adobe reviewing the purpose of your plug-in to verify that it does not try to duplicate functionality available in Acrobat.  For this reason, I don't think your plug-in would be approved.  You should certainly submit a RIKLA application anyways just to make sure (you can do this before you start with any code so you're not wasting effort if it gets declined).
    You can find the RIKLA info here:
    http://www.adobe.com/devnet/reader/ikla.html

  • LabVIEW Embedded - Support for device: NXP (ex. Philips) LPC2146 Microcontroller (ARM7)

    Hi,
    I would like to write some code in 'LabVIEW embedded' 8.5 for the NXP LPC2146 microcontroller (ARM7).
    http://www.standardics.nxp.com/products/lpc2000/lpc214x/
    The 2146 device is used within one of our main 'volume' products and I would like to write some special test code for the product in LV Embedded. I have the full NI development suite at 8.5 level.
    The question is, does LV embedded suport this microcontroller fully?
    I have found this info but still not sure: http://zone.ni.com/devzone/cda/tut/p/id/6207
    Many thanks in antisipation of a reply.
    Andrew V

    Hi Andrew,
    Using the LabVIEW Microprocessor SDK, you can "port" LabVIEW to build applications for any 32-bit microprocessor. The LabVIEW Microprocessor SDK Porting Guide describes the steps involved in the porting process.
    The amount of effort involved depends on these factors:
    How similar your target is to one of the example targets that are included in the LabVIEW Microprocessor SDK. As you can see in the article you linked, the SDK contains an example target with a Philips ARM and an eCos BSP. If your target is similar to this one (especially if the OS is the same), the porting process might take less than a week.
    Familiarity with LabVIEW and embedded domain expertise. The porting process involves writing "plug-in" VIs in LabVIEW and building C run-time libraries for your target. However, once the porting process is complete, your target can be programmed solely in LabVIEW by someone with no embedded expertise whatsoever.
    Target selection. We recommend a target have the following characteristics: 32-bit processor, OS/microkernel (not "bare metal"), and 256 KB RAM. Also, if you plan to make use of the LabVIEW Advanced Analysis libraries, a floating point unit is recommended.
    Michael P
    National Instruments

  • Scaling a layer in photoshop CS6 and file size?

    Why should scaling a layer in photoshop CS6, have an effect on the size of the file?

    Out of curiosity, do you have a RAM shortage (e.g., resulting in slow system performance)?  If not, worrying about how Photoshop allocates RAM to maintain its data structures, while academically interesting (well, I find it such), probably doesn't tell us all that much that's truly useful.
    If you ever want to understand more about how Photoshop works under the covers, and you're a dyed-in-the-wool geek like me, a look at the Photoshop SDK can tell you volumes.  Writing plug-in software isn't for the faint-of-heart, but it will tell you tons about how things work.  Funny thing...  I didn't used to think in rectangles... 
    -Noel

  • What is an framework?

    Hi, what is the deffenition of an framework?, what makes an framework an framework to be exact?
    I know theres frameworks like spring, hibernate, ajax etc. But what seperates them from the regular java class like JFrame, ArrayList etc?

    # model: a hypothetical description of a complex entity or process; "the computer program was based on a model of the circulatory and respiratory ...
    # the underlying structure; "restoring the framework of the bombed building"; "it is part of the fabric of society"
    # a structure supporting or containing something
    wordnet.princeton.edu/perl/webwn
    # In software development, a framework is a defined support structure in which another software project can be organized and developed. ...
    en.wikipedia.org/wiki/Framework
    # Framework launched in 1984, was the first office suite to run on the PC 8086 with DOS operating system. ...
    en.wikipedia.org/wiki/Framework (office suite)
    # A metal skeleton of a removable partial denture to support the false teeth and the plastic attachments.
    www.smilecare.com/page.cfm
    # broad organizing structure for the essential knowledge and skills in a program area.
    www.ncpublicschools.org/curriculum/secondlanguages/scos/1999/12glossary
    # A framework is an extensible structure for describing a set of concepts, methods, technologies, and cultural changes necessary for a complete product design and manufacturing process. Framework products are most prevalent in the area of Electrical and Electronic design. ...
    edms-service.web.cern.ch/edms-service/glossary.html
    # The systematic format and technical structure that supports metadata concepts, contents, and controlled vocabularies. For DLESE, the systematic format is a variation of the IMS framework and the technical structure is XML.
    www.dlese.org/documents/glossary.html
    # Foundation upon which a company may build their current and future communications infrastructure. Usually consists of a set of components that work together to solve a business problem. top of page
    www.bbn.com/glossary/F
    # A Skeletal software component that performs functions required by a system and which is incorporated into the design of such systems.
    javaworkshop.sourceforge.net/glossary.html
    # A component that allows its functionality to be extended by writing plug-in modules ("framework extensions"). The extension developer writes classes that derive from interfaces defined by the framework. The framework loads the required extensions during run-time. ...
    www.symbian.com/developer/techlib/v70sdocs/doc_source/GlobalGlossary/GlossaryDocumentF.html
    # A special kind of class library which aspires to provide a ready-made architecture for communication and control flow. Frameworks have carefully designed variabilities which are usually modified by subclassing. ...
    alumni.media.mit.edu/~tpminka/patterns/glossary.html
    # A system of rules, ideas or principles that is used to plan or decide something.
    www3.gov.ab.ca/env/air/Info/definitions.html
    # Provides a unified view of the needs and functionality of a particular service or application thus allowing a coherent approach to the specification of protocols and protocol elements as needed to realize the implementation of the service or application.
    www.centc251.org/Ginfo/Glossary/tcglosf.htm
    # A collection of classes
    www-h.eng.cam.ac.uk/help/tpl/languages/java/cuedjavanotes/backmatter.html
    # The interrelationships between different parts of a program or organization.
    www.tjiss.net/glossary_f.html
    # a broad overview, outline or skeleton, within which details can be added eg a strategic framework for national environmental policy setting the context for individual programmes and projects.
    www.mos.gov.pl/mos/publikac/Raporty_opracowania/manual/glosry_1.html
    # A framework (in the Software Engineering domain) is an abstract design of a set of related applications in a particular domain. This abstraction can be then instantiated to build a concrete application.
    www.iua.upf.es/~xamat/Thesis/html/node2.html
    # A set of cooperating classes that makes up a reusable design for a specific application.
    scv.bu.edu/SCV/Archive/IBM/BGL/compiler/xlc-8.0/html/glossary/czgf.htm
    # a narrative structure that provides a setting and exposition for the main narrative in a novel
    www.iclasses.org/assets/literature/literary_glossary.cfm
    # A set of classes that are closely related in terms of function and data, and which form an independent and reusable product.
    www.nrel.colostate.edu/projects/irc/public/Documents/Software/Glossary.htm
    # In the CapDEM context, this term is used as a means to bring, keep and link all relevant information that can be used in the process of system engineering. The framework provides different views to illustrate particular aspects of the data collection. ...
    www.capdem.forces.gc.ca/html/definitions_e.html
    # A set of interrelated reusable classes which form the basis for an application.
    sjfb.club.fr/fichepb/fiche12.htm
    # A framework is a set of guidelines for use in a larger (less specific) context than would be considered for a method or process. ...
    www.mikehalblander.com/RE_Glossary.html
    # A logical structure for classifying and organizing complex information. [Federal Enterprise Architecture Framework]
    www.ichnet.org/glossary.htm

  • Highlighting part of an image using API

    Hi,
    I would like to control Reader using the API from a .NET application. Is it possible to highlight a portion of an image located in the PDF? How can it be done? The document is a historical document handwriten in Arabic and cannot be OCR'd. I want to highlight text extracted using another program.
    Thank you,
    Fatima

    That would be for DRM plug-ins. Unless this is part of a DRM system the price is by negotation and much lower (I understand). You need to talk to Adobe to find out.
    There is extensive documentaton on writing plug-ins, but no quick "how to" for this specific case. I would allow several months. (More if you are not already an experienced C/C++ programmer).
    All of this seems to me likely to make the project unfeasible, but I don't like to just say "you can't" if it isn't true.
    Message was edited by: Test Screen Name

  • Build a plugin out of another

    Hi everyone.
    Anyone knows if one can develop a plugin using another one as a base?
    For example: I've deployed Sybase ASE plugin and then I noticed I could add some metrics, reports, audit or functions that somehow feel missing for the kind of monitoring I use to do.
    Could I use that plugin as a base to develop a new one with the things I need? and in that case, would I need to obtain the plugin sources or it's enough with the deployable file to start building from there?
    Thanks in advance.

    Well, that depends on the scope of what you intend to monitor and your familiarity with writing plug-ins. If you're using the plug-in as the basis for your new target type and are merely adding a few metrics and maybe a report or two, it shouldn't take more than a couple weeks for an accomplished user. If there is something of a learning curve to overcome, then it will probably be longer.
    If you are using the original target type as a template and are designing another full target type, there will be a lot more work involved. It helps to design beforehand all of the important data to collect (metric columns), how to group it (metrics), how to collect it (which fetchlet/what scripts to write), and how often to collect/thresholds (default collection file). Of course, this isn't the reality of how a development usually happens. We implement one metric and then another and then another... etc. but you get the idea. There's a lot more information parsing when you are building all of the metrics for yourself.
    That sets the basis for the information you'll use when you write reports. The reports serve as the surrogate UI since no real custom UI option is available. These can be as complex or as simple (or nonexistent) as you like.
    And you can implement job types as an administration piece for your target type.
    If you were doing a full implementation such as this, it would probably be more on the order of months, the number of which depending on how much information you want to collect and how many reports you want to write.
    And I don't know anyone who really builds a plug-in from scratch. It always helps to have examples to use (either from the extensibility guide, another plug-in, or something you've already done for your own plug-in). Sorry if this isn't really as definitive an answer as you had hoped for...

  • SDK Compatibility

    We're planning our migraton to Acrobat 8, and prefer to do phased rollouts whenever possible to minimize risk and avoid synchronization issues with the other applications on the same platform that also integrate with Acrobat.
    Thus, we would like to understand whether we can compile our code with the Acrobat 8 SDK, and continue to run that code with the Acrobat 7 software. ie....we realize that we need to have conditional logic in the code before performing any Acrobat 8 specific functionality (such as disabling new toolbars, menu items, etc...), however we just wanted confirmation whether all the "core" functionality is backward compatible to 7, and that this is a "supported" configuration (compiling with 8, but running under 7).

    >It seems that you didn't understand the question.
    Very probably, if the answer doesn't make sense to your situation.
    >We are looking to migrate from Acrobat 7 to Acrobat 8 and there are 5000 users of the application. Thus, to minimize the risk we are planning to do a phased rollout.
    Ok.
    >1. Will running Acrobat 8 SDK compiled code under Acrobat 7 result in loss of any "core" functionality that is not backward compatible?
    This is exactly what I thought I answered. Let me try again. DON'T. If
    you want to run under Acrobat 7, compile with the Acrobat 7 SDK. If
    you are writing plug-ins, and if you are in Windows, this will be
    forwards compatible. Backwards compatibility is more of a problem.
    >2. Will Adobe provide support "if required", for this rare configuration (compiling under 8 and running under 7)?
    I can't speak for Adobe, but I think they will say what I did. DON'T
    DO THAT.
    Aandi Inston

  • Writing new HTML to a page from an applet using LiveConnect, 1.3.1 Plug-i

    Has anyone been able to successfully replace a page with an applet with the dynamically generated HTML from an applet using LiveConnect and Plugin 1.3.1 in Netscape 6.2 or IE?
    The following works fine without plugin or with 1.4.0 beta3 plugin.
    Here is the code that I use without plugin:
    JSObject windowObject = JSObject.getWindow(this);
    JSObject documentObject = (JSObject) windowObject.getMember("document");
    documentObject.call("close",null);
    documentObject.call("open",null);
    String anArray1[] = {null};
    anArray1[0] ="some HTML here";
    documentObject.call("write", anArray1);
    documentObject.call("close",null);
    Here is the code that I use with 1.4.0 plugin:
    JSObject windowObject = JSObject.getWindow(this);
    JSObject documentObject = (JSObject) windowObject.getMember("document");
    String anArray1[] = {null};
    anArray1[0] ="some HTML here";
    documentObject.call("write", anArray1);
    When I try to use anyone of the above using plugin 1.3.1, the browser either hangs or plugin generates runtime error. What is the correct way of writing to a document object? Or what is the way that works for 1.3.1 plugin?

    Hi,
    I am doing this in my applet to replace the page containing the applet with the new content. I tested that extensively with Netscape 4.7 and IE 5.5+. Definitely works if you are using Java Plug-In 1.3.1_02. Does not work well in Netscape 6.2.
        protected void setPageContent(final String newContent) {
            final JSObject window = JSObject.getWindow(this);
            final JSObject document = (JSObject) window.getMember("document");
            new Thread( new Runnable() {
                            public void run() {
                                document.call("clear", null);
                                document.call("write", new String[]{newContent});
                                try {
                                              document.call("close", null);
                                   } catch (JSException ignored) {
                        } ).start();

  • Adobe Acrobat Reader Plug - Writing to text file

    Hi,
    I have an Acrobat plug-in which performs various functions including writing to a text file on c:\
    If I use my plug-in with Acrobat all is well.
    If I use the same plug-in with Reader everything seems to work ok except that it won't create the text file. It's as if Adobe reader is protecting this somehow.
    Has anyone seen this before? Any one know how to get around it?
    Regards
    Stuart

    More about protected mode. It is designed specifically to protect the user against attacks originating INSIDE Adobe Reader (e.g. via exploits). Sandboxing is a leading edge protection technology, which (for example) is also being applied to browsers. Your plug-in is therefore part of the problem to be protected against. You have to fully understand the philosophy to exist inside this new sandboxed world. Here is some reading
    http://blogs.adobe.com/livecycle/2010/11/technical-details-of-adobe-reader-x-protected-mod e.html
    http://blogs.adobe.com/security/2010/07/introducing-adobe-reader-protected-mode.html
    http://blogs.adobe.com/security/2010/10/inside-adobe-reader-protected-mode-part-1-design.h tml
    http://blogs.adobe.com/security/2010/10/inside-adobe-reader-protected-mode-part-2-the-sand box-process.html
    http://blogs.adobe.com/security/2010/11/inside-adobe-reader-protected-mode-part-3-broker-p rocess-policies-and-inter-process-communication.html
    http://blogs.adobe.com/security/2010/11/inside-adobe-reader-protected-mode-part-4-the-chal lenge-of-sandboxing.html

Maybe you are looking for

  • ICal - incoming Mail ICS invites go to wrong calendar - or go to no calendar

    My default calendar invites coming in on email (most often through Lotus Notes or Outlook) aren't going to the correct calendar, even though I have my defaults set up.  I've reviewed some threads on this and there appears to be no easy resolution: it

  • Step by step approach to develope the java card application

    Do anybody know how to develope a smart card application using java card.i have downloaded java card kit,but the documentation provided by the sun is bit complex to use. so please anybody know how to proceed? It would be appreciated if i am given a s

  • Isght not recognized with ichat AV 3.1 (v417)

    HI there, My mom has an eMac with Tiger OS 10.4.3 and has ichat AV 3.1 (v417) We have used the ichat AV often before. However, now it is not showing any video icon and we are not able to use the isights. I went to iChat prefrences and under the video

  • HT201317 Where do my photos over 1000 go in photostream?

    So, I have an iphone 4 and an ipad 2 and a MacBookPro with iOS 10.5.8. I've enabled iCloud on by my iPhone and iPad devices and they communicate just fine. My MacBookPro is old enough that it does not support iCloud. What happens to all the photos ov

  • Where to find javax package??

    I got a javax package which holds only servlet package and now i need ejb which not there in my package..Please tell me where the javax whole package ????