-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Description
calling setPosition() on ofAVFoundationPlayer is slow.
this is due to synchron disposal of resources (AVAssetReader).
disposing AVAssetReader on a backgroundThread (dispatch_async) would solve that issue, but has problems when called too quickly after each other. (in my case updating the position every 100ms works, but leaks memory (??!!) when calling every 50ms)
this needs further investigation.
fast-seek (async disposal) can be found in this branch:
https://github.com/i-n-g-o/openFrameworks/tree/ofAVFoundationPlayer_fast_seek