Quantcast
Channel: Adobe Community : Popular Discussions - Premiere Pro SDK
Viewing all articles
Browse latest Browse all 53010

Random Flashing Frames from Cache

$
0
0

I am implementing a standard Importer using the PP SDK.

 

During file playback i get occasional flashing frames, where it will randomly display the wrong frame (always displays a frame but may be 10 frames out or more) and then goes back to the correct frame.

 

If I call (*ldataH)->PPixCacheSuite->ExpireAllPPixesFromCache()  at the end of every call to GetSourceVideo() which is effectively forcing Premiere to not cache any frames by constantly clearing the cache then the video plays smoothly in order with no issues.

This would indicate that the frame cache is somehow caching the frames in the incorrect places, and as such returning the wrong frame accasionally - forcing it to decode every frame every time seems to work.

 

Could I be doing something wrong that could cause this ?

 

Nigel.


Viewing all articles
Browse latest Browse all 53010

Trending Articles