Why Priemere sends 'exSelBeginInstance' selector twice to export plugin?

Is that correct, that my custom export plugin gets 'exSelBeginInstance' selector twice?
Try better explain:
Premiere run two instances of my exporter. It easy to see by looking at exporterPluginID value. It different. And at second instance exporter doesn't get selector 'exSelGenerateDefaultParams'.

Premiere and AME open the plugin multiple times.
If you put a breakpoint on the selector you'll find that it most likely also called exSelEndInstance between them.
here are the basic steps.
in exSelStartup set any Global information about your plugin (there shouldn't be any to make it multi threaded though).
in exSelBeginInstance|EndInstance Alloc/Free your export structure that holds EVERYTHING (your parameters and any per instance information that isn't expressed in the parameters) using the Adobe Memory Suite. BECAUSE AME/PPro call EndInstance you can't trust having your own ALLOC/FREE - you MUST use Adobe's since it keeps a copy of the pointer even after the plugin is unloaded and reloaded.
Don't initialize anything in the exSelCreateInstance. It isn't called when you click the "EXPORT" button. You have to put it in the exSelPostProcessParams.
If you do that you'll be thread safe (AME runs multiple instances of the plugin at once).
good luck,
Edward

Similar Messages

  • When I send a text message it says delivery failed.  When I resend it sends the message twice.  Why am I having problems?

    When I send a text message it says delivery failed.  When I resend it sends the message twice.  Why am I having trouble?

        Oh goodness! We want your text going through the first time, dria56. Does this happen when you're messaging someone in particular or is it every message you send? Is it a plain text or a message with more than 160 characters/graphics/pictures?
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • Why am i being charged twice for 11.04 and 11.46 when I did not purchase those songs, I used an itunes card 25$ and I still have 0.04 cents left?

    Why am i being charged twice for 11.04 and 11.46 when I did not purchase those songs, I used an itunes card 25$ and I still have 0.04 cents left?
    I couldnt redeem w/o an apple ID so when i did it asked for a credit card. And I want to discontinue and remove my account from itunes but it wont let me, there is no account discontinue or removal of account

    Because too much time has passed I can't edit this into the prior comment, but here is the info regarding reverting to iTunes 11.0.2 (assuming you do have a time machine backup) from https://discussions.apple.com/message/22057703#22057703
    W. Raider wrote:
    Repairing permissions doesn't fix it.
    I reverted to the previous version, 11.0.2.
    1. Quit the new crash-prone iTunes.
    2. Delete the app.
    3. Restore v. 11.0.2 with Time Machine.
    4. In your iTunes folder look for a folder called "Previous iTunes Libraries", find the latest one.
    5. In the iTunes folder itself you'll see "iTunes Library.itl", delete it (or compress it and save a copy for later just in case.
    6. Copy the newest .itl file in Previous iTunes Libraries to the iTunes folder and rename it "iTunes Library.itl".
    7. Launch the older version of iTunes.
    My crashing has seemed to have ceased with a revert to an older version. I noticed today that the newer crashing iTunes had been launched for hours but not playing anything, when I played internet radio it crashed within 5mins, fed up I reverted to an older version.
    Btw, a simpler way to do this is to revert to older iTunes app, then hold Option when it launches and choose an older library.

  • Why won't my final cut 7 export my entire :30 movie in pro res 422 60i

    Why won't my final cut 7 export my entire :30 movie in pro res 422 60i?
    And some transitions are not rendering properly.

    Post this on the Final Cut Studio forum. This is the FCPX forum.

  • Vusing fcpx 10.0.9 and i'm trying to export it to dvd. Its been 4 days already and its only at 57%. Why is it taking this long to export it?

    using fcpx 10.0.9 and i'm trying to export it to dvd. Its been 4 days already and its only at 57%. Why is it taking this long to export it?

    using fcpx 10.0.9 and i'm trying to export it to dvd. Its been 4 days already and its only at 57%. Why is it taking this long to export it?

  • Why don't I have the DCP export option in Adobe Premiere Pro?

    Why don't I have the DCP export option in Adobe Premiere Pro?
    Premiere Pro CC v7.2.2

    I will reply to my own question!
    I was on my Windows machine when I began producing my video. During Export, I wasn't able to package it. After a few hours of research I found that Wraptor DCP is not supported (yet) on Windows platforms. I switched over to my Macbook Pro and viola!
    DCP'ing all day long now!

  • Why do my events appear twice on my ipad calendar

    Why do my events appear twice in my ipad calendar

    Are you syncing with itunes on the computer?  If you have both sync with itunes and use icloud, that would produce duplicates.

  • Why slideshow from iPhoto take long to export to iTune

    Why slide show take so long to export to iTune and then appleTV

    Took 2 hours to export a 40 minute project.
    Previous version of iMovie rendered each transition, title, special effect, as a physical file (which is why rendering took so long), stored it in your project, updated a "reference" file which represented the current status of your timeline. iMovie '08, on the other hand, performs all of it rendering at the time of export and then compresses the file for your selected export specification.
    So after doing that with another project I exported them to iDVD. It told me I had to have a Dual Layer DVD just to fit two 40 minute videos, plus it had to encode them.
    Sounds like you forgot to change your iDVD output mode from the 60-minute HQ mode to the extended 90-mode here. Remember iDVD encodes to MPEG2/PCM and not MPEG2/AC3.
    I start to export and it take about 40 minutes, then that bar disappears and a new one begins to creep across, it says the estimated time is 5000 minutes.
    First bar was probably for the "menu" and the second was probably for the movie content. BTW, do you have have iDVD set to encode in the background or to begin encoding only when you manually start the burn process?

  • Hi my name is Al-Ameen, Am from Nigeria,actually my brother from the united kingdom sent me an iphone5, So when i insert my Sim card i discovered the iPhone is locked. So the reason why am sending this mail is to ask for the procedure of how to unlock an

    Hi
    my name is Al-Ameen, Am from Nigeria,actually my brother from the united kingdom sent me an iphone5, So when i insert my Sim card i discovered the iPhone is locked.
    So the reason why am sending this mail is to ask for the procedure of how to unlock an iPhone from another country the amount paid and all the other information about unlocking an iPhone.
    Hope to hear back from you guys.
    Many Thanks
    Al-Ameen.

    You need to contact the carrier to see if they offer unlocking and if you qualify. You may need to talk to your brother about this.

  • My email address is ***********, Apple ID I forgot my password, why not send links that Reset Pass on my email, I need help than why? Contact Us By Email me back with ***********, Thanks

    My email address is ***********, Apple ID I forgot my password, why not send links that Reset Pass on my email, I need help than why? Contact Us By Email me back with ***********, Thanks
    <E-mails Edited by Host>

    You are not addressing Apple here. This is a user-supported technical support forum. If you have tried to restore your Apple ID using iForgot, then try contacting iTunes Customer Service.

  • Why the alert massage return twice on the screen?

    Hi, everyone
    I got this script:
    var
      mySelected = Number( app.extractLabel("mDialog") ),
      myDialog = app.dialogs.add({name:"Colse files save \"Yes\" or \"No\"",canCancel:true});
      with(myDialog){
           with(dialogColumns.add()){
                with(dialogRows.add()){
                     var
                     mySelection = dropdowns.add({stringList:["01   Yes", "02   No", "03   Reverse"], selectedIndex: 0});
    if (myDialog.show() == true)
        main();
    myDialog.destroy();
    function main(){
          colse_file();
    function colse_file(){
        if (mySelection.selectedIndex == 0){
    var docs = app.documents;
        for (var i = docs.length-1; i >= 0; i--) {
            docs[i].close(SaveOptions.YES);
    alert("Done.\rAll files are saved.");
        if (mySelection.selectedIndex == 1){
        var docs = app.documents;
        for (var i = docs.length-1; i >= 0; i--) {
            docs[i].close(SaveOptions.NO);
    alert("Done.\rAll files are closed without save.");
       if (mySelection.selectedIndex == 2){
    var docs = app.documents;
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;
    app.documents.everyItem().revert();
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
    alert("Done.\rAll files are reversed.");
    Why the alert massage return twice on the screen?
    VK

    Hi, Chinna
    I changed it into this:
    var
      mySelected = Number( app.extractLabel("mDialog") ),
      myDialog = app.dialogs.add({name:"Colse files save \"Yes\" or \"No\"",canCancel:true});
      with(myDialog){
           with(dialogColumns.add()){
                with(dialogRows.add()){
                     var
                     mySelection = dropdowns.add({stringList:["01   Yes", "02   No", "03   Reverse"], selectedIndex: 0});
    if (myDialog.show() == true)
        main();
    myDialog.destroy();
    function main(){
          colse_file();
    function colse_file(){
        if (mySelection.selectedIndex == 0){
    var docs = app.documents;
        for (var i = docs.length-1; i >= 0; i--) {
            docs[i].close(SaveOptions.YES);
    alert("Done.\rAll files are saved.");
        if (mySelection.selectedIndex == 1){
        var docs = app.documents;
        for (var i = docs.length-1; i >= 0; i--) {
            docs[i].close(SaveOptions.NO);
    alert("Done.\rAll files are closed without save.");
       if (mySelection.selectedIndex == 2){
    var docs = app.documents;
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;
    app.documents.everyItem().revert();
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
    alert("Done.\rAll files are reversed.");
    but I still got twice
    VK

  • Why I had been charged twice for one application

    Why I had been charged twice for one application

    No one here has any idea.
    You need to contact iTunes customer support.

  • Why my money were taken twice for the same program why my money were taken twice for the same program

    why my money were taken twice for the same program?

    contact expresslane via email or chat, they will refund you as long as this is the first time

  • Why did Apple stripped the option to export a slideshow to PropRes?

    Why did Apple strip the option to export a slideshow to PropRes? I know only have the option to export to 1080P or 720P, I need to 50i..!

    No idea - we are simply users like you - ask Apple - iPhoto Menu ==> provide iPhoto feedback
    LN

  • My BB z10 send every SMS twice!

    after updated my z10 blackberry with 10.1.0.273 software I face problem with the SMS,, it sends every SMS twice!  and chages me twice. how I can solve this problem please?

    Hi koka,
    Sorry to hear you're having an issue with your SMS.
    Do you see 2 sent messages in your Text Messages or does the recipient inform you they received the same message twice?
    Does this happen with all send SMS or to a specific contact?
    Do you receive duplicate SMS?
    -HMthePirate
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

Maybe you are looking for

  • How do I get my family videos out of  iTunes after updating?

    I recently downloaded the iTunes update. Now my Recently Added Playlist has my old family videos in it! I DON'T WANT VIDEOS IN MY ITUNES!!! I have a 4G iPod Nano for MUSIC ONLY!!! What are my vacation videos doing in the Recently Added list??? P.S. -

  • How do I turn autofill off? I accidentally clicked it and I would like it to go back to the way it was.

    How do I turn autofill off? I accidentally clicked it and I would like it to go back to the way it was.

  • Nokia N8 HDMI Question

    i plugged my fone in to my hdtv and when ever the wire moves the fone will loose its hdmi connection. is this a problem with the HDMI port on my fone?

  • SELECT INTO clause strange problem

    Hi all, I need some help with a very strange select into statement.Select into throws NO DATA exception even if table has data. I am trying to invoke procedure from BPEL.Inside the procedure,I am trying to get "name' from definitions table.But it alw

  • Question on Generics

    Consider a type-parameterized class declared as follows public class Box<T> { }Is there any way to get the Class object for whatever type was passed into T? For instance I would like to be able to use something like the following code: Box<Integer> b