New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
general stability of AVFoundationPlayer #3719
Comments
Thanks for the report @urshofer. Sounds like you have a good stress test in place for the new player :) To bring your "general stability" notes over from another issue:
Pinging @bakercp since he mentioned having general problems with the AVFoundation player as well. @openframeworks/macos |
regarding the leak, might this be related: |
also, pinging @openframeworks/video |
Yes that makes sense. We may also be able to move over to ARC soon w/ the migration to 64 bit, though that's probably a little too far down the road. Giving the player a quick look-over it seems like the general structure of the player might be sound, but it could benefit a bit of a code-review session. E.g. |
Thanks for your replies. I'm quite new to the community here and I'm very happy how the communication works here :) Indeed I have a very stressful application. What I can say is that the gStreamer implementation is really perfect (I use it now as an alternative on OSX as well), never crashes, never leaks. best, |
closed this with PR #3736 |
Hello all
I'm using AVFoundationPlayer on very short clips (1 to 3 seconds) in heavy rotation in a permanent installation. It runs for hours, but crashes after a while with a dispatch_barrier_async_f_slow exception. I cannot reproduce the error, waiting is all I can do.
I made a quick fix and it seems to run more stable now. I added to
loadWithURL()
a check if the queue really exists.Here I've added:
The fix is also referenced here #3704 and downloadable here:
The text was updated successfully, but these errors were encountered: