Quantcast
Channel: Adobe Community : Unanswered Discussions - After Effects
Viewing all articles
Browse latest Browse all 30854

Effect duration - AE filter in Premiere

$
0
0

I am working on filter plugin for AE and Premiere where I need to know the effect duration. in_data->total_time corresponds to the total clip duration, not the effect duration. If the clip is trimmed at start/end total_time not match the effect duration.

AEGP_GetLayerDuration return the right value in AE, but not works in Premiere.

AEGP_LayerH currentLayer;

A_Time layerDuration;

ERR(suites.PFInterfaceSuite1()->AEGP_GetEffectLayer(in_data->effect_re f, &currentLayer));

ERR(suites.LayerSuite1()->AEGP_GetLayerDuration(currentLayer, AEGP_LTimeMode_LayerTime, &layerDuration));

 

Is there a way to get the effect duration in Premiere?

 

Thanks.


Viewing all articles
Browse latest Browse all 30854

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>