Hi,
I’m writing a C++ plug-in for Premiere Pro CC.
I’ve based the plug-in on the example project SDK_Custom_Import, which is provided with the plug-in SDK.
In my plug-in, I’ve set the flags:
importInfo->canProvidePeakAudio = kPrTrue;
importInfo->avoidAudioConform = kPrTrue;
and
fileInfo8->accessModes |= kRandomAccessImport
This allows me to manually render the waveforms on-demand via the imGetPeakAudio case-statement.
In Premiere’s setting: Edit > Preferences > Media > Automatically refresh growing files. I have set the minimum refresh rate of 10 seconds.
I would like to import a growing, 20 minute clip with uncompressed audio at 48KHz. In my importer, I’m adding a 20 minute clip to the timeline, and back-filling video and audio as the clip grows (i.e. I’ve created a static length clip which is being slowly populated).
I can hear the audio as it is added, and I can render the waveforms correctly. My only problem is that the waveforms are not being updated/redrawn on the timeline. I was hoping that by setting the growing file refresh to 10 seconds (Edit > Preferences > Media > Automatically refresh growing files), that the timeline would automatically redraw every 10 seconds.
If I manually resize the timeline at 10 second intervals to coincide with the growing file refresh, it forces the latest audio waveforms to be redrawn, which renders the latest audio waveform growth.
Is there any code flag, or menu setting, to schedule an automatic timeline redraw at the 10 second growing file refresh interval?
Or can I amend my plug-in to force a timeline redraw at regular intervals?
Any help you can provide is much appreciated.
Many thanks, Andy.
[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]
[Moved... you need to ask programming questions in the programming forum... Mod]